Commit Graph

424 Commits

Author SHA1 Message Date
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
davidpagnon
8263579b92 Convert VIcon calib 2023-07-31 16:46:47 +02:00
davidpagnon
054c8373d6 calib intrinsics ok 2023-07-23 23:38:50 +02:00
davidpagnon
b2f5edb743 initial commit 2023-07-19 11:37:20 +02:00
David PAGNON
104e37fd36
solve 1 px error in image size 2023-07-06 15:31:47 +02:00
David PAGNON
dd602588ec
Binning factor = 2 in 540p 2023-07-06 15:07:48 +02:00
David PAGNON
d3e709322b
Binning factor = 2 in 540p 2023-07-06 15:05:22 +02:00
David PAGNON
30e3b44265
Binning factor = 2 in 540p 2023-07-06 15:04:54 +02:00
David PAGNON
11fb7f61f1
Binning factor = 2 in 540p 2023-07-06 15:04:22 +02:00
David PAGNON
5c1f7d2b0e
Update README.md 2023-06-20 08:53:49 +02:00
David PAGNON
383ac9fad1
Solve for deprecated function in numpy 2023-06-07 10:21:03 +02:00
David PAGNON
0aea192ffb
solve deprecated function in numpy 2023-06-07 10:20:29 +02:00