Commit Graph

76 Commits

Author SHA1 Message Date
David PAGNON
822059fb5f
Code change should not trigger doc rebuilding 2024-10-07 10:32:58 +02:00
David PAGNON
95d5e2d5e5
Site test back to main branch (#134)
* test page

* test

* pages back to main branch
2024-09-24 10:23:06 +02:00
David PAGNON
e227d8d784
Create jekyll-gh-pages.yml 2024-09-23 16:45:09 +02:00
davidpagnon
4bf9668af6 yet another test for passing CI 2024-07-30 21:50:38 +02:00
davidpagnon
169a0348c8 next attempt at debugging 2024-07-30 17:17:42 +02:00
davidpagnon
d5be00e9b1 debugging attempt for py 3.10 and 3.11 2024-07-30 16:52:49 +02:00
davidpagnon
1d275044f0 test when edits to setup.cfg 2024-07-30 16:19:54 +02:00
David PAGNON
55acc094da
removed double conda installation
del line 49:

conda create -n pose2sim python=${{ matrix.python-version }} -y
2024-07-30 15:47:36 +02:00
David PAGNON
72fa620552
OpenSim not available for Python 3.12 yet 2024-07-30 00:10:05 +02:00
David PAGNON
a832aa2142
Try CI for up to Python 3.12 2024-07-30 00:02:51 +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
f287b0e5b4
Conda install with OpenSim should work
Insha'llah
God willing
Dieu voulant
2024-06-30 16:53:32 +02:00
David PAGNON
1c74616f7d
Cleaned up conda install with opensim 2024-06-30 16:47:26 +02:00
David PAGNON
4ce440d342
forgot -n pose2sim in conda install opensim 2024-06-30 16:42:25 +02:00
David PAGNON
1525924a82
I am okay 2024-06-30 16:38:12 +02:00
David PAGNON
861f36c368
Trying again 2024-06-30 16:34:46 +02:00
David PAGNON
bb538455f7
Update continuous-integration.yml 2024-06-30 16:17:23 +02:00
David PAGNON
69e2918ecb
remove python install as is installed from conda 2024-06-30 16:09:22 +02:00
David PAGNON
a7e5f4aa6d
opensim not found on conda fix 2024-06-30 16:00:39 +02:00
David PAGNON
3338fe5c4f
Test opensim install (need conda env) 2024-06-30 15:57:15 +02:00
David PAGNON
c580aecbee
Update continuous-integration.yml 2024-04-15 15:39:32 +02:00
David PAGNON
9dc37bb1b0
Change test.py to tests.py 2024-04-15 11:02:22 +02:00
David PAGNON
8447a8a6e9
Remove empty session, add multi-person 2024-02-27 21:20:09 +01:00
David PAGNON
c95c26f079
actions/setup-python 2024-01-26 23:52:47 +01:00
David PAGNON
86590a1ae6
actions/setup-python 2024-01-26 23:52:33 +01:00
David PAGNON
c22f80c0ca
node.js v16 -> v20 2024-01-26 23:49:01 +01:00
David PAGNON
39fab813e3
node.js v16 -> v20 2024-01-26 23:48:41 +01:00
David PAGNON
fffed0039d
No need to update JOSS pdf anymore 2024-01-26 23:46:44 +01:00
David PAGNON
51bb18e40a
node.js v16 -> v20 2024-01-26 23:46:13 +01:00
David PAGNON
860663a597
node.js v16 -> v20 2024-01-26 23:43:29 +01:00
David PAGNON
7661e1a3dd
Remove 3.12, not supported by tensorflow 2024-01-19 20:13:18 +01:00
David PAGNON
ea707f4008
Update continuous-integration.yml 2023-12-17 20:12:33 +01:00
David PAGNON
dc67d7b040
Update continuous-integration.yml 2023-11-16 13:06:50 +01:00
davidpagnon
7d7e86aaa4 upgrade pandas & no support for python>3.8 2023-10-18 12:56:15 +02:00
David PAGNON
60f093d3ea
Python 3.6 not supported anymore on Ubuntu-latest 2023-09-04 14:40:02 +02:00
davidpagnon
bc1d0d619a monthly commit 2023-09-04 13:16:00 +02:00
David PAGNON
b7f68f9f83
Add tests on python 3.11 2023-08-15 14:11:50 +02:00
David PAGNON
2b7df4d4dc
Update continuous-integration.yml 2023-05-04 16:35:55 +02:00
David PAGNON
fd964ad4f0
Update publish-on-release.yml 2023-05-04 11:36:21 +02:00
David PAGNON
49dbf6b399
Create publish-on-release.yml 2023-05-04 11:27:33 +02:00
David PAGNON
7209153d18
Update joss_pdf.yml 2022-07-16 02:32:49 +02:00
David PAGNON
9a37034c97
Update joss_pdf.yml 2022-07-16 02:16:45 +02:00
David PAGNON
876ade9325
Update joss_pdf.yml 2022-07-16 02:00:55 +02:00
David PAGNON
c2057b3885
Update joss_pdf.yml 2022-07-16 01:58:43 +02:00
David PAGNON
b855ea17c4
Ignore changes in Readme.md and in Content folder 2022-07-08 17:34:17 +02:00
David PAGNON
09838180ab
Update joss_pdf.yml 2022-07-06 18:44:25 +02:00
David PAGNON
8cd471908e
Update joss_pdf.yml 2022-07-06 18:34:47 +02:00
David PAGNON
9e88b4b9cc
Update joss_pdf.yml 2022-07-06 18:20:39 +02:00
David PAGNON
b7e68c242c
Create joss_pdf.yml 2022-07-06 18:09:53 +02:00
David PAGNON
331ba666a9
Change name 2022-06-13 16:04:45 +02:00