Giter Site home page Giter Site logo

davidpagnon / sports2d Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 1.0 15.79 MB

Compute 2D joint and segment angles from a video.

License: BSD 3-Clause "New" or "Revised" License

Python 3.62% Jupyter Notebook 96.38%
2d biomechanics blazepose joint-angles kinematics kinovea markerless openpose pose-estimation sports-analytics

sports2d's Introduction

sports2d's People

Contributors

davidpagnon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

milanhofmann

sports2d's Issues

ERROR Colab

Hello Guys, before I could run in Colab but now they are giving the following errors.

could you help me please?

update-alternatives: using /usr/bin/python3.10 to provide /usr/bin/python3 (python3) in auto mode Connecting to Google Drive... Mounted at /content/drive Installing Sports2D in Google Drive... Collecting Sports2D Downloading sports2d-0.2.5-py3-none-any.whl (2.6 MB) โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 2.6/2.6 MB 10.8 MB/s eta 0:00:00 Requirement already satisfied: ipython in /usr/local/lib/python3.10/dist-packages (from Sports2D) (7.34.0) Requirement already satisfied: toml in /usr/local/lib/python3.10/dist-packages (from Sports2D) (0.10.2) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from Sports2D) (1.23.5) Requirement already satisfied: pandas>=1.5 in /usr/local/lib/python3.10/dist-packages (from Sports2D) (1.5.3) Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from Sports2D) (1.10.1) Collecting anytree (from Sports2D) Downloading anytree-2.9.0-py3-none-any.whl (38 kB) Requirement already satisfied: opencv-python in /usr/local/lib/python3.10/dist-packages (from Sports2D) (4.8.0.76) Collecting mediapipe (from Sports2D) Downloading mediapipe-0.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.5 MB) โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 33.5/33.5 MB 39.3 MB/s eta 0:00:00 Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from Sports2D) (3.7.1) Collecting PyQt5 (from Sports2D) Downloading PyQt5-5.15.9-cp37-abi3-manylinux_2_17_x86_64.whl (8.4 MB) โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 8.4/8.4 MB 82.6 MB/s eta 0:00:00 Requirement already satisfied: statsmodels in /usr/local/lib/python3.10/dist-packages (from Sports2D) (0.14.0) Requirement already satisfied: python-dateutil>=2.8.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=1.5->Sports2D) (2.8.2) Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=1.5->Sports2D) (2023.3) Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from anytree->Sports2D) (1.16.0) Requirement already satisfied

Joint Angle Overlay Video Issue

For some reason, the joint angle annotations appear sped up and 'chopped up' during playback. Is there a specific format or setting that optimizes the video output for smooth playback?

Results from Vertical Movement instead of Left to Right

I was also wondering if the Sports2D model can still accurately track and analyze such vertical dynamics (Warning section says it's only lateral). Also are there any specific parameters/settings that I can change to get the accurate coordinates/joint angles from a vertical movement?

Face + hands

Hi, your work is much appritiated, but do you plan to add hands + facial keypoints?

or at least guide on how to do it?

Thanks
Best regards

Colab wrong command?

Hi @davidpagnon
I've checked your colab notebook placed here
and i found that it might have some wrong command! (not sure if the openpose is checkedout to specific tag or not)

!sed -i 's/execute_process(COMMAND git checkout master WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty/caffe)/execute_process(COMMAND git checkout f019d0dfe86f49d1140961f8c7dec22130c83154 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty/caffe)/g' openpose/CMakeLists.txt

This line of code do noting actually!

here is my clone of openpose (today) without checkout, and i can see that openpose/CMakeLists.txt containes lines with git checkout master but all of them are commented out!
image

either this command is not needed or needs to be modified for replacing the 1807aad with f019d0d for caffe!

Also does it needs to install opencv as a requirement?( i think the openpose > V1.6.0 do not needs the opencv while with the available code on a native ubuntu system, it askes for opencv while making it with the default CMakeList.txt file!

Thanks
Best regards

Alphapose

Hello, just wondering when will the version of alphapose release?
Sincerely asking, thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.