Commit Graph

179 Commits

Author SHA1 Message Date
davidpagnon
a92f77f378 Attempt to fix Caliscope support 2024-10-07 23:55:21 +02:00
davidpagnon
b736789540 Tracking hand and add OpenSim articulated fingers 2024-10-07 10:25:35 +02:00
David PAGNON
89250e4687
Ticked OpenSim on the to-do list 2024-09-27 15:48:48 +02:00
davidpagnon
f779081508 fixed image relative links 2024-09-24 10:40:46 +02:00
David PAGNON
e2fcb40463
sync: warning about drift on long captures 2024-09-23 16:42:50 +02:00
David PAGNON
184c9a1385
fixed table of content links 2024-09-23 11:34:10 +02:00
davidpagnon
74b5a51013 group caliscope, anipose, freemocap (natively supported calibration formats) 2024-09-23 01:04:18 +02:00
davidpagnon
4dc4060547 Support caliscope calibration + fixed multi-person tracking 2024-09-22 23:06:07 +02:00
davidpagnon
164fe2a980 Update Readme 2024-09-21 02:52:30 +02:00
davidpagnon
aaa16d65eb Will finishing up tomorrow 2024-09-20 22:38:23 +02:00
davidpagnon
65e675ab64 beta test opensim scaling and kinematics with edits 2024-09-20 02:23:13 +02:00
peterlololsss
215c8a6e6c
implementing OpensimProcessing (#130)
* implementing opensimProcessing

* edited in cooperating with opensimProcessing

* Update scaling2IK.py

* implementing opensimProcessing

* Update and rename scaling2IK.py to kinematics.py

* Add files via upload

* Add files via upload

* Update Config.toml

* Update Config.toml

* Update Config.toml

* Update Config.toml

* Update Config.toml

* Update Config.toml

* implementing opensim processing

* OpenSim part addition

* OpenSim Processing function signature adjustment

* code logic and layout adjustments

* opensimProcessing test enabled

* Update Pose2Sim.py

* Update Pose2Sim.py

* docstring for opensimProcessing updated

* saved folder name changed to opensim

* opensim processing tests enabled

* Deleted a repetitive line at opensim kinematics section
2024-09-18 01:04:52 +02:00
davidpagnon
149dbb1dab Forgot to deactivate plotting when testing on the server 2024-09-17 23:52:51 +02:00
davidpagnon
989967e2b2 formatting 2024-09-06 15:34:47 +02:00
davidpagnon
be14c0ffe1 further instruction on using GPU 2024-09-06 14:14:03 +02:00
David PAGNON
4b8af7db46
Todo GUI options 2024-09-03 15:26:58 +02:00
David PAGNON
d925177ce2
Update README.md 2024-09-03 11:10:59 +02:00
David PAGNON
14bf609aec
Real-time sports2d 2024-08-31 23:58:44 +02:00
davidpagnon
41f0076b64 edited note on storage space 2024-08-07 11:24:58 +02:00
David PAGNON
07ffa2678b
Update README.md 2024-08-06 23:52:36 +02:00
davidpagnon
60ad0cdc61 Not on storage use 2024-08-06 15:58:12 +02:00
David PAGNON
e76b696ffd
To-do: RTMW3D for monocular 3D kinematics 2024-08-04 00:01:02 +02:00
davidpagnon
48f169dfdb include Batch Demo folder + minor edits 2024-07-30 16:13:42 +02:00
davidpagnon
3bb2c5dfb6 Pose2Sim storage use 2024-07-26 22:52:52 +02:00
David PAGNON
12e4672894
Update README.md 2024-07-26 22:44:04 +02:00
David PAGNON
5eb6ef0fcc
GPU support takes 4.0 more GB 2024-07-26 21:48:20 +02:00
davidpagnon
ac037e05ce works if no number in camera folder names 2024-07-18 09:51:42 +02:00
davidpagnon
644ce103b8 bump to next version 2024-07-17 17:48:51 +02:00
davidpagnon
c4f20d160c typo 2024-07-17 16:51:51 +02:00
davidpagnon
2bc68d4d59 fixed batch processing 2024-07-17 16:50:14 +02:00
davidpagnon
e270c6d1d8 fixed calib in multi_person 2024-07-17 13:49:12 +02:00
David PAGNON
d44ec76d5c
Needs for python >=3.9 2024-07-12 13:02:01 +02:00
davidpagnon
b31215c8c0 integration of pose estimation 2024-07-10 10:12:57 +02:00
David PAGNON
ae22ae4358
Update README.md 2024-07-09 21:26:31 +02:00
davidpagnon
7a3bcf76be minor edits 2024-07-09 19:19:41 +02:00
David PAGNON
b2fe4f7ba3
Pose estimation test (#116)
Edits from @hunminkim98's awesome work at integrating pose estimation into Pose2Sim with RTMLib. Most of the changes in syntax are not necessarily better, it is mostly for the code to be more consistent with the rest of the library. Thank you again for your fantastic work!

General:
- Automatically detects whether a valid CUDA install is available. If so, use the GPU with the ONNXRuntime backend. Otherwise, use the CPU with the OpenVINO backend
- The tensorflow version used for marker augmentation was incompatible with the cuda torch installation for pose estimation: edited code and models for it to work with the latest tf version.
- Added logging information to pose estimation
- Readme.md: provided an installation procedure for CUDA (took me a while to find something simple and robust)
- Readme.md: added information about PoseEstimation with RTMLib
- added poseEstimation to tests.py
- created videos for the multi-person case (used to only have json, no video), and reorganized Demo folders. Had to recreate calibration file as well

Json files:
- the json files only saved one person, I made it save all the detected ones
- tracking was not taken into account by rtmlib, which caused issues in synchronization: fixed, waiting for merge
- took the save_to_openpose function out from the main function
- minified the json files (they take less space when all spaces are removed)

Detection results:
- Compared the triangulated locations of RTMpose keypoints to the ones of OpenPose to potentially edit model marker locations on OpenSim. Did not seem to need it.

Others in Config.toml:
- removed the "to_openpose" option, which is not needed
- added the flag: save_video = 'to_images' # 'to_video' or 'to_images' or ['to_video', 'to_images']
- changed the way frame_range was handled (made me change synchronization in depth, as well as personAssociation and triangulation)
- added the flag: time_range_around_maxspeed in synchronization
- automatically detect framerate from video, or set to 60 fps if we work from images (or give a value)
- frame_range -> time_range
- moved height and weight to project (only read for markerAugmentation, and in the future for automatic scaling)
- removed reorder_trc from triangulation and Config -> call it for markerAugmentation instead

Others:
- Provided an installation procedure for OpenSim (for the future) and made continuous installation check its install (a bit harder since it cannot be installed via pip)
- scaling from motion instead of static pose (will have to study whether it's as good or not)
- added logging to synchronization
- Struggled quite a bit with continuous integration


* Starting point of integrating RTMPose into Pose2Sim. (#111)

* RTM_to_Open

Convert format from RTMPose to OpenPose

* rtm_intergrated

* rtm_integrated

* rtm_integrated

* rtm_integrated

* rtm

* Delete build/lib/Pose2Sim directory

* rtm

* Delete build/lib/Pose2Sim directory

* Delete onnxruntime-gpu

* device = cpu

* add pose folder

* Update tests.py

* added annotation

* fix typo

* Should work be still lots of tests to run. Detailed commit coming soon

* intermediary commit

* last checks before v0.9.0

* Update continuous-integration.yml

* Update tests.py

* replaced tabs with spaces

* unittest issue

* unittest typo

* deactivated display for CI test of pose detection

* Try to make continuous integration work

* a

* b

* c

* d

* e

* f

* g

* h

* i

* j

* k

* l

---------

Co-authored-by: HunMinKim <144449115+hunminkim98@users.noreply.github.com>
2024-07-09 16:39:33 +02:00
David PAGNON
d277f13e99
Calib.io corner number != Opencv count 2024-06-20 16:29:19 +02:00
David PAGNON
5da03add0f
Calib.io website to generate a good checkerboard 2024-06-20 08:52:47 +02:00
David PAGNON
2347bb679b
Solution to OpenPose models not available anymore 2024-06-14 11:18:55 +02:00
David PAGNON
cba40c83bb
planning for direct integration of pose estimation and opensim 2024-06-14 11:15:15 +02:00
David PAGNON
53aea43a43
Update README.md 2024-04-26 23:51:32 +02:00
David PAGNON
a765eae689
Update README.md 2024-04-26 23:34:47 +02:00
David PAGNON
aaa56985e1
Update README.md 2024-04-26 11:35:53 +02:00
David PAGNON
66e3492e32
Add to to-do list
&#9634; **Pose:** Integrate pose estimation within Pose2Sim (via MMPose).

&#9634; **Triangulation:** If the gap is larger than the interpolation threshold, fill it with previous frames instead of leaving it blank. 

&#9634; **OpenSim:** Integrate OpenSim in Pose2Sim.
&#9634; **OpenSim:** Do not require a separate scaling trial: scale on the 10 slowest frames of the moving trial instead.
2024-04-26 11:25:23 +02:00
David PAGNON
1be1145b1b
Update README.md 2024-04-18 01:49:07 +02:00
David PAGNON
442683a63a
Update README.md 2024-04-17 10:10:55 +02:00
David PAGNON
99a36f0d9b
Update README.md 2024-04-16 11:02:10 +02:00
davidpagnon
2b02755920 minor changes 2024-04-16 02:28:46 +02:00
davidpagnon
7f6e6a829d Edited Readme and minor stuff 2024-04-15 23:40:01 +02:00
davidpagnon
b21846a834 release v0.7.2 2024-03-31 03:27:18 +02:00