Commit Graph

335 Commits

Author SHA1 Message Date
davidpagnon
26e74bf320 solved error when closing window 2023-09-12 00:10:50 +02:00
David PAGNON
18ebbaa79f
Add goal: convert bioCV and OpenCap calibration conversion 2023-09-11 11:13:58 +02:00
davidpagnon
88d51be864 new goal: live calibration of moving cameras 2023-09-10 00:44:11 +02:00
davidpagnon
aacd2eef92 solve issue when video for extrinsics 2023-09-10 00:29:24 +02:00
davidpagnon
184811594e ready for upload on conda-forge 2023-09-07 14:39:18 +02:00
David PAGNON
91a05392b7
further c3d export in to-do list 2023-09-07 12:27:49 +02:00
David PAGNON
d977716820
removed c3d from required packages 2023-09-07 12:23:03 +02:00
David PAGNON
4fa01fd266
c3d deprecation solved 2023-09-07 12:22:15 +02:00
David PAGNON
2ba502bddd
Added hyperlinks to files 2023-09-07 10:42:25 +02:00
davidpagnon
19829fa0d7 readme 2023-09-06 16:30:37 +02:00
David PAGNON
23ea6cdf65
Minor update triangulation.py 2023-09-06 15:42:34 +02:00
David PAGNON
60f093d3ea
Python 3.6 not supported anymore on Ubuntu-latest 2023-09-04 14:40:02 +02:00
davidpagnon
32124a00b2 Merge branch 'main' of https://github.com/perfanalytics/pose2sim 2023-09-04 13:16:09 +02:00
davidpagnon
bc1d0d619a monthly commit 2023-09-04 13:16:00 +02:00
David PAGNON
52cc9fabf8
pepy badge 2023-09-04 11:23:04 +02:00
davidpagnon
2dce62187b daily commiit 2023-08-22 18:15:31 +02:00
davidpagnon
7a28a441aa OpenSim API instructions 2023-08-22 16:30:09 +02:00
davidpagnon
f0b6191a09 Merge branch 'main' of https://github.com/perfanalytics/pose2sim 2023-08-22 15:43:03 +02:00
davidpagnon
e083a3923c Update Readme 2023-08-22 15:42:58 +02:00
David PAGNON
51599c0e97
Vicon calibration supported 2023-08-22 12:52:00 +02:00
David PAGNON
5fcc81f8a5
typo 2023-08-21 11:20:18 +02:00
David PAGNON
c40a57d284
Update README.md 2023-08-21 11:00:45 +02:00
davidpagnon
81f69c0c27 Same behavior when closing window as when n or q 2023-08-21 03:16:03 +02:00
davidpagnon
c756bb929d a 2023-08-21 03:06:21 +02:00
davidpagnon
41123805b8 shallow-clone for lighter .git folder 2023-08-21 02:33:08 +02:00
davidpagnon
ef4bf7962e solved order of import for tests to work 2023-08-21 02:20:38 +02:00
davidpagnon
e6b5b93de5 b 2023-08-21 02:16:27 +02:00
davidpagnon
e28f394d9c a 2023-08-21 02:03:39 +02:00
davidpagnon
4150f6bcbf Update tests 2023-08-21 01:29:55 +02:00
davidpagnon
2a60c2ee44 update test 2023-08-21 01:27:01 +02:00
davidpagnon
04dc93ce12 Merge branch 'main' of https://github.com/perfanalytics/pose2sim 2023-08-21 01:22:01 +02:00
davidpagnon
1a375e665e merge draft-0.4 to main 2023-08-21 01:18:24 +02:00
davidpagnon
d819c09594 ready to merge 2023-08-21 01:03:01 +02:00
davidpagnon
8e143822b2 blurred faces 2023-08-20 23:31:56 +02:00
davidpagnon
7e861db257 Everything works properly 2023-08-20 21:55:13 +02:00
davidpagnon
b08bba12a0 Merge branch 'draft-0.4' of https://github.com/perfanalytics/pose2sim into draft-0.4 2023-08-19 08:59:34 +02:00
davidpagnon
3e204a1d82 almost ready to merge 2023-08-19 08:55:17 +02:00
David PAGNON
b7f68f9f83
Add tests on python 3.11 2023-08-15 14:11:50 +02:00
davidpagnon
56a6a4ba8f Implemented Kalman filter 2023-08-15 14:07:02 +02:00
David PAGNON
8799271c1b
Update Pose2Sim.py 2023-08-14 16:35:31 +02:00
davidpagnon
2f4ceb5145 clearer output from triangulation 2023-08-14 16:20:59 +02:00
davidpagnon
52a01c7bdb Altered OpenPose output to force interpolate
import json
import os
import random
import numpy as np

problematic_range = np.char.zfill( np.concatenate((np.arange(5,15) , np.arange(50,56))).astype(str) , 2 )
id_kpt_to_remove = []
for p in range(len(problematic_range)):
    nb_kpt_to_remove = random.randint(0, 5)
    id_kpt_to_remove += [[random.randint(0, 25) for n in range(nb_kpt_to_remove)]]

count = 0
for root, dirs, files in os.walk(r"./Pose2Sim/Demo/pose-2d"):
    for file in files:
        if any([p+'.json' in file for p in problematic_range]):
            # open json file
            print(file, id_kpt_to_remove[count])
            with open(os.path.join(root, file), 'r+') as f:
                data = json.load(f)
                # remove points
                for id in id_kpt_to_remove[count]:
                    data['people'][0]['pose_keypoints_2d'][3*id:3*id+3]=[0,0,0]
                # write json file
                f.seek(0)
                f.truncate()
                json.dump(data, f)
            count+=1
            if count>=len(problematic_range): count=0
2023-08-14 16:08:09 +02:00
davidpagnon
a9733dde7c a 2023-08-08 18:14:19 +02:00
David PAGNON
b885d90171
Maya-Mocap viz tools and added items to to-do list 2023-08-04 13:40:21 +02:00
davidpagnon
23c559f59f logs in right dir when P2S invoked from other dir 2023-08-04 13:08:21 +02:00
davidpagnon
8e9c5dd1d6 logging in right folder when called from other dir 2023-08-04 13:05:51 +02:00
davidpagnon
709379c7d0 a 2023-08-04 12:53:34 +02:00
David PAGNON
00cda59e33
Update README.md 2023-07-31 20:40:39 +02:00
David PAGNON
1f66686340
Update Config.toml 2023-07-31 20:39:29 +02:00
davidpagnon
bc2a8a07ba Supports Vicon calibration 2023-07-31 20:34:05 +02:00