pose2sim 0.0.0__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. {pose2sim-0.0.0 → Pose2Sim-0.1.1}/LICENSE +29 -29
  2. Pose2Sim-0.1.1/PKG-INFO +564 -0
  3. Pose2Sim-0.1.1/Pose2Sim/Pose2Sim.py +139 -0
  4. Pose2Sim-0.1.1/Pose2Sim/__init__.py +14 -0
  5. Pose2Sim-0.1.1/Pose2Sim/calibrate_cams.py +417 -0
  6. Pose2Sim-0.1.1/Pose2Sim/common.py +245 -0
  7. Pose2Sim-0.1.1/Pose2Sim/filter_3d.py +326 -0
  8. Pose2Sim-0.1.1/Pose2Sim/skeletons.py +170 -0
  9. Pose2Sim-0.1.1/Pose2Sim/track_2d.py +311 -0
  10. Pose2Sim-0.1.1/Pose2Sim/triangulate_3d.py +442 -0
  11. Pose2Sim-0.1.1/Pose2Sim.egg-info/PKG-INFO +564 -0
  12. Pose2Sim-0.1.1/Pose2Sim.egg-info/SOURCES.txt +34 -0
  13. Pose2Sim-0.1.1/Pose2Sim.egg-info/not-zip-safe +1 -0
  14. Pose2Sim-0.1.1/Pose2Sim.egg-info/requires.txt +10 -0
  15. Pose2Sim-0.1.1/Pose2Sim.egg-info/top_level.txt +2 -0
  16. Pose2Sim-0.1.1/README.md +509 -0
  17. pose2sim-0.0.0/Pose2Sim/Utilities/DLC_to_OpenPose.py → Pose2Sim-0.1.1/Utilities/DLC_to_Openpose.py +97 -105
  18. Pose2Sim-0.1.1/Utilities/__init__.py +14 -0
  19. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/c3d_to_trc.py +116 -136
  20. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/calib_from_checkerboard.py +316 -323
  21. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/calib_qca_to_toml.py +210 -242
  22. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/calib_toml_to_qca.py +201 -206
  23. pose2sim-0.0.0/Pose2Sim/Utilities/calib_toml_to_easymocap.py → Pose2Sim-0.1.1/Utilities/calib_toml_to_yml.py +151 -157
  24. pose2sim-0.0.0/Pose2Sim/Utilities/calib_easymocap_to_toml.py → Pose2Sim-0.1.1/Utilities/calib_yml_to_toml.py +153 -163
  25. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/json_display_with_img.py +114 -119
  26. Pose2Sim-0.1.1/Utilities/json_display_without_img.py +151 -0
  27. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/trc_Zup_to_Yup.py +84 -93
  28. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/trc_desample.py +87 -94
  29. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/trc_filter.py +364 -368
  30. Pose2Sim-0.1.1/Utilities/trc_gaitevents.py +181 -0
  31. {pose2sim-0.0.0/Pose2Sim → Pose2Sim-0.1.1}/Utilities/trc_plot.py +166 -170
  32. Pose2Sim-0.1.1/pyproject.toml +3 -0
  33. Pose2Sim-0.1.1/setup.cfg +49 -0
  34. Pose2Sim-0.1.1/setup.py +7 -0
  35. pose2sim-0.0.0/PKG-INFO +0 -1115
  36. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Config.toml +0 -325
  37. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_1/Config.toml +0 -326
  38. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_1/videos/cam01.mp4 +0 -0
  39. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_1/videos/cam02.mp4 +0 -0
  40. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_1/videos/cam03.mp4 +0 -0
  41. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_1/videos/cam04.mp4 +0 -0
  42. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_2/Config.toml +0 -326
  43. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_2/videos/cam01.mp4 +0 -0
  44. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_2/videos/cam02.mp4 +0 -0
  45. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_2/videos/cam03.mp4 +0 -0
  46. pose2sim-0.0.0/Pose2Sim/Demo_Batch/Trial_2/videos/cam04.mp4 +0 -0
  47. pose2sim-0.0.0/Pose2Sim/Demo_Batch/calibration/Calib.qca.txt +0 -38
  48. pose2sim-0.0.0/Pose2Sim/Demo_MultiPerson/Config.toml +0 -325
  49. pose2sim-0.0.0/Pose2Sim/Demo_MultiPerson/calibration/Calib.qca.txt +0 -38
  50. pose2sim-0.0.0/Pose2Sim/Demo_MultiPerson/videos/cam01.mp4 +0 -0
  51. pose2sim-0.0.0/Pose2Sim/Demo_MultiPerson/videos/cam02.mp4 +0 -0
  52. pose2sim-0.0.0/Pose2Sim/Demo_MultiPerson/videos/cam03.mp4 +0 -0
  53. pose2sim-0.0.0/Pose2Sim/Demo_MultiPerson/videos/cam04.mp4 +0 -0
  54. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/Config.toml +0 -326
  55. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/Calib.qca.txt +0 -38
  56. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam01_img/.gitkeep +0 -0
  57. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam01_img/cam01_ext.png +0 -0
  58. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam02_img/.gitkeep +0 -0
  59. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam02_img/cam02_ext.png +0 -0
  60. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam03_img/.gitkeep +0 -0
  61. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam03_img/cam03_ext.png +0 -0
  62. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam04_img/.gitkeep +0 -0
  63. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/extrinsics/ext_cam04_img/cam04_ext.png +0 -0
  64. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/.gitkeep +0 -0
  65. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_01_int.jpg +0 -0
  66. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_02_int.jpg +0 -0
  67. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_03_int.jpg +0 -0
  68. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_04_int.jpg +0 -0
  69. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_05_int.jpg +0 -0
  70. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_06_int.jpg +0 -0
  71. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam01_img/cam01_07_int.jpg +0 -0
  72. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/.gitkeep +0 -0
  73. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_01_int.jpg +0 -0
  74. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_02_int.jpg +0 -0
  75. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_03_int.jpg +0 -0
  76. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_04_int.jpg +0 -0
  77. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_05_int.jpg +0 -0
  78. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_06_int.jpg +0 -0
  79. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam02_img/cam02_07_int.jpg +0 -0
  80. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/.gitkeep +0 -0
  81. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_01_int.jpg +0 -0
  82. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_02_int.jpg +0 -0
  83. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_03_int.jpg +0 -0
  84. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_04_int.jpg +0 -0
  85. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_05_int.jpg +0 -0
  86. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_06_int.jpg +0 -0
  87. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam03_img/cam03_07_int.jpg +0 -0
  88. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/.gitkeep +0 -0
  89. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_01_int.jpg +0 -0
  90. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_02_int.jpg +0 -0
  91. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_03_int.jpg +0 -0
  92. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_04_int.jpg +0 -0
  93. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_05_int.jpg +0 -0
  94. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_06_int.jpg +0 -0
  95. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/calibration/intrinsics/int_cam04_img/cam04_07_int.jpg +0 -0
  96. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/videos/cam01.mp4 +0 -0
  97. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/videos/cam02.mp4 +0 -0
  98. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/videos/cam03.mp4 +0 -0
  99. pose2sim-0.0.0/Pose2Sim/Demo_SinglePerson/videos/cam04.mp4 +0 -0
  100. pose2sim-0.0.0/Pose2Sim/MarkerAugmenter/LSTM/v0.3_lower/mean.npy +0 -0
  101. pose2sim-0.0.0/Pose2Sim/MarkerAugmenter/LSTM/v0.3_lower/model.onnx +0 -0
  102. pose2sim-0.0.0/Pose2Sim/MarkerAugmenter/LSTM/v0.3_lower/std.npy +0 -0
  103. pose2sim-0.0.0/Pose2Sim/MarkerAugmenter/LSTM/v0.3_upper/mean.npy +0 -0
  104. pose2sim-0.0.0/Pose2Sim/MarkerAugmenter/LSTM/v0.3_upper/model.onnx +0 -0
  105. pose2sim-0.0.0/Pose2Sim/MarkerAugmenter/LSTM/v0.3_upper/std.npy +0 -0
  106. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/block.stl +0 -86
  107. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/block.vtp +0 -70
  108. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/bofoot.stl +0 -12882
  109. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/bofoot.vtp +0 -3008
  110. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/capitate_lvs.stl +0 -1234
  111. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/capitate_lvs.vtp +0 -378
  112. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/capitate_rvs.stl +0 -1234
  113. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/capitate_rvs.vtp +0 -378
  114. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv1sm.stl +0 -4342
  115. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv1sm.vtp +0 -1002
  116. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv2sm.stl +0 -2018
  117. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv2sm.vtp +0 -522
  118. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv3sm.stl +0 -2018
  119. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv3sm.vtp +0 -522
  120. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv4sm.stl +0 -2018
  121. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv4sm.vtp +0 -522
  122. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv5sm.stl +0 -1990
  123. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv5sm.vtp +0 -522
  124. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv6sm.stl +0 -2018
  125. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv6sm.vtp +0 -522
  126. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv7.stl +0 -2970
  127. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/cerv7.vtp +0 -870
  128. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/femur_l.stl +0 -6358
  129. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/femur_l.vtp +0 -1842
  130. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/femur_r.stl +0 -6358
  131. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/femur_r.vtp +0 -1842
  132. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/fibula_l.stl +0 -1682
  133. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/fibula_l.vtp +0 -506
  134. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/fibula_r.stl +0 -1682
  135. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/fibula_r.vtp +0 -506
  136. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/foot.stl +0 -13687
  137. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/foot.vtp +0 -3477
  138. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hamate_lvs.stl +0 -1038
  139. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hamate_lvs.vtp +0 -322
  140. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hamate_rvs.stl +0 -1038
  141. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hamate_rvs.vtp +0 -322
  142. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hat_jaw.stl +0 -20414
  143. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hat_jaw.vtp +0 -4736
  144. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hat_ribs_scap.stl +0 -67762
  145. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hat_ribs_scap.vtp +0 -11387
  146. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hat_skull.stl +0 -46146
  147. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/hat_skull.vtp +0 -10411
  148. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/humerus_lv.stl +0 -4734
  149. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/humerus_lv.vtp +0 -1378
  150. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/humerus_rv.stl +0 -4734
  151. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/humerus_rv.vtp +0 -1378
  152. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_distal_lvs.stl +0 -1752
  153. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_distal_lvs.vtp +0 -526
  154. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_distal_rvs.stl +0 -1752
  155. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_distal_rvs.vtp +0 -526
  156. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_medial_lvs.stl +0 -1850
  157. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_medial_lvs.vtp +0 -554
  158. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_medial_rvs.stl +0 -1850
  159. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_medial_rvs.vtp +0 -554
  160. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_proximal_lvs.stl +0 -1591
  161. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_proximal_lvs.vtp +0 -481
  162. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_proximal_rvs.stl +0 -1591
  163. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/index_proximal_rvs.vtp +0 -481
  164. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_bofoot.stl +0 -12882
  165. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_bofoot.vtp +0 -3008
  166. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_foot.stl +0 -13687
  167. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_foot.vtp +0 -3477
  168. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_patella.stl +0 -982
  169. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_patella.vtp +0 -246
  170. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_pelvis.stl +0 -1696
  171. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/l_pelvis.vtp +0 -514
  172. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_distal_lvs.stl +0 -2214
  173. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_distal_lvs.vtp +0 -656
  174. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_distal_rvs.stl +0 -2214
  175. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_distal_rvs.vtp +0 -656
  176. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_medial_lvs.stl +0 -1654
  177. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_medial_lvs.vtp +0 -498
  178. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_medial_rvs.stl +0 -1654
  179. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_medial_rvs.vtp +0 -498
  180. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_proximal_lvs.stl +0 -1892
  181. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_proximal_lvs.vtp +0 -566
  182. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_proximal_rvs.stl +0 -1892
  183. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/little_proximal_rvs.vtp +0 -566
  184. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar1.stl +0 -2970
  185. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar1.vtp +0 -870
  186. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar2.stl +0 -2970
  187. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar2.vtp +0 -870
  188. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar3.stl +0 -2970
  189. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar3.vtp +0 -870
  190. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar4.stl +0 -2970
  191. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar4.vtp +0 -870
  192. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar5.stl +0 -2970
  193. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lumbar5.vtp +0 -870
  194. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lunate_lvs.stl +0 -926
  195. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lunate_lvs.vtp +0 -290
  196. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lunate_rvs.stl +0 -926
  197. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/lunate_rvs.vtp +0 -290
  198. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal1_lvs.stl +0 -4118
  199. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal1_lvs.vtp +0 -1202
  200. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal1_rvs.stl +0 -4118
  201. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal1_rvs.vtp +0 -1202
  202. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal2_lvs.stl +0 -3138
  203. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal2_lvs.vtp +0 -924
  204. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal2_rvs.stl +0 -3138
  205. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal2_rvs.vtp +0 -924
  206. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal3_lvs.stl +0 -4454
  207. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal3_lvs.vtp +0 -1298
  208. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal3_rvs.stl +0 -4454
  209. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal3_rvs.vtp +0 -1298
  210. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal4_lvs.stl +0 -4860
  211. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal4_lvs.vtp +0 -1410
  212. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal4_rvs.stl +0 -4860
  213. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal4_rvs.vtp +0 -1410
  214. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal5_lvs.stl +0 -5378
  215. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal5_lvs.vtp +0 -1558
  216. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal5_rvs.stl +0 -5378
  217. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/metacarpal5_rvs.vtp +0 -1558
  218. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_distal_lvs.stl +0 -1962
  219. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_distal_lvs.vtp +0 -586
  220. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_distal_rvs.stl +0 -1962
  221. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_distal_rvs.vtp +0 -586
  222. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_medial_lvs.stl +0 -2298
  223. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_medial_lvs.vtp +0 -682
  224. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_medial_rvs.stl +0 -2298
  225. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_medial_rvs.vtp +0 -682
  226. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_proximal_lvs.stl +0 -1836
  227. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_proximal_lvs.vtp +0 -550
  228. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_proximal_rvs.stl +0 -1836
  229. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/middle_proximal_rvs.vtp +0 -550
  230. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/pisiform_lvs.stl +0 -450
  231. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/pisiform_lvs.vtp +0 -154
  232. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/pisiform_rvs.stl +0 -450
  233. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/pisiform_rvs.vtp +0 -154
  234. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/r_patella.stl +0 -982
  235. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/r_patella.vtp +0 -246
  236. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/r_pelvis.stl +0 -1696
  237. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/r_pelvis.vtp +0 -514
  238. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/radius_lv.stl +0 -2690
  239. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/radius_lv.vtp +0 -794
  240. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/radius_rv.stl +0 -2690
  241. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/radius_rv.vtp +0 -794
  242. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_distal_lvs.stl +0 -1724
  243. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_distal_lvs.vtp +0 -518
  244. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_distal_rvs.stl +0 -1724
  245. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_distal_rvs.vtp +0 -518
  246. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_medial_lvs.stl +0 -2410
  247. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_medial_lvs.vtp +0 -714
  248. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_medial_rvs.stl +0 -2410
  249. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_medial_rvs.vtp +0 -714
  250. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_proximal_lvs.stl +0 -1822
  251. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_proximal_lvs.vtp +0 -546
  252. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_proximal_rvs.stl +0 -1822
  253. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ring_proximal_rvs.vtp +0 -546
  254. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/sacrum.stl +0 -2662
  255. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/sacrum.vtp +0 -606
  256. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/scaphoid_lvs.stl +0 -996
  257. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/scaphoid_lvs.vtp +0 -310
  258. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/scaphoid_rvs.stl +0 -996
  259. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/scaphoid_rvs.vtp +0 -310
  260. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/talus_lv.stl +0 -6414
  261. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/talus_lv.vtp +0 -1858
  262. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/talus_rv.stl +0 -6414
  263. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/talus_rv.vtp +0 -1858
  264. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic10_s.stl +0 -2970
  265. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic10_s.vtp +0 -870
  266. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic11_s.stl +0 -2970
  267. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic11_s.vtp +0 -870
  268. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic12_s.stl +0 -2970
  269. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic12_s.vtp +0 -870
  270. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic1_s.stl +0 -2970
  271. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic1_s.vtp +0 -870
  272. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic2_s.stl +0 -2970
  273. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic2_s.vtp +0 -870
  274. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic3_s.stl +0 -2970
  275. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic3_s.vtp +0 -870
  276. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic4_s.stl +0 -2970
  277. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic4_s.vtp +0 -870
  278. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic5_s.stl +0 -2970
  279. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic5_s.vtp +0 -870
  280. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic6_s.stl +0 -2970
  281. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic6_s.vtp +0 -870
  282. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic7_s.stl +0 -2970
  283. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic7_s.vtp +0 -870
  284. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic8_s.stl +0 -2970
  285. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic8_s.vtp +0 -870
  286. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic9_s.stl +0 -2970
  287. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thoracic9_s.vtp +0 -870
  288. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_distal_lvs.stl +0 -2410
  289. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_distal_lvs.vtp +0 -714
  290. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_distal_rvs.stl +0 -2410
  291. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_distal_rvs.vtp +0 -714
  292. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_proximal_lvs.stl +0 -1976
  293. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_proximal_lvs.vtp +0 -590
  294. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_proximal_rvs.stl +0 -1976
  295. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/thumb_proximal_rvs.vtp +0 -590
  296. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/tibia_l.stl +0 -2004
  297. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/tibia_l.vtp +0 -598
  298. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/tibia_r.stl +0 -2004
  299. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/tibia_r.vtp +0 -598
  300. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezium_lvs.stl +0 -1444
  301. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezium_lvs.vtp +0 -438
  302. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezium_rvs.stl +0 -1444
  303. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezium_rvs.vtp +0 -438
  304. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezoid_lvs.stl +0 -884
  305. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezoid_lvs.vtp +0 -278
  306. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezoid_rvs.stl +0 -884
  307. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/trapezoid_rvs.vtp +0 -278
  308. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/triquetrum_lvs.stl +0 -1136
  309. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/triquetrum_lvs.vtp +0 -350
  310. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/triquetrum_rvs.stl +0 -1136
  311. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/triquetrum_rvs.vtp +0 -350
  312. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ulna_lv.stl +0 -2746
  313. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ulna_lv.vtp +0 -810
  314. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ulna_rv.stl +0 -2746
  315. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Geometry/ulna_rv.vtp +0 -810
  316. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Blazepose.xml +0 -191
  317. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Body135.xml +0 -203
  318. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Body25.xml +0 -167
  319. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Body25b.xml +0 -167
  320. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Coco133.xml +0 -203
  321. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Coco17.xml +0 -125
  322. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Halpe26.xml +0 -173
  323. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_Halpe68_136.xml +0 -209
  324. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_withHands_LSTM.xml +0 -335
  325. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_withoutHands_LSTM.xml +0 -299
  326. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_BlazePose.xml +0 -197
  327. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Body135.xml +0 -215
  328. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Body25.xml +0 -177
  329. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Body25b.xml +0 -177
  330. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Coco133.xml +0 -215
  331. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Coco17.xml +0 -121
  332. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Halpe26.xml +0 -183
  333. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_Halpe68_136.xml +0 -221
  334. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_LSTM.xml +0 -415
  335. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Markers_SKEL.xml +0 -849
  336. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Model_Pose2Sim.osim +0 -6743
  337. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Model_Pose2Sim_contacts_muscles.osim +0 -31563
  338. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Blazepose.xml +0 -468
  339. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Body135.xml +0 -599
  340. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Body25.xml +0 -594
  341. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Body25b.xml +0 -599
  342. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Coco133.xml +0 -607
  343. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Coco17.xml +0 -504
  344. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Halpe26.xml +0 -605
  345. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_Halpe68_136.xml +0 -605
  346. pose2sim-0.0.0/Pose2Sim/OpenSim_Setup/Scaling_Setup_Pose2Sim_LSTM.xml +0 -753
  347. pose2sim-0.0.0/Pose2Sim/Pose2Sim.py +0 -401
  348. pose2sim-0.0.0/Pose2Sim/Utilities/AlphaPose_to_OpenPose.py +0 -123
  349. pose2sim-0.0.0/Pose2Sim/Utilities/Blazepose_runsave.py +0 -246
  350. pose2sim-0.0.0/Pose2Sim/Utilities/MMPose_to_OpenPose.py +0 -67
  351. pose2sim-0.0.0/Pose2Sim/Utilities/__init__.py +0 -8
  352. pose2sim-0.0.0/Pose2Sim/Utilities/bodykin_from_mot_osim.py +0 -196
  353. pose2sim-0.0.0/Pose2Sim/Utilities/calib_toml_to_opencap.py +0 -187
  354. pose2sim-0.0.0/Pose2Sim/Utilities/face_blurring.py +0 -467
  355. pose2sim-0.0.0/Pose2Sim/Utilities/json_display_without_img.py +0 -185
  356. pose2sim-0.0.0/Pose2Sim/Utilities/reproj_from_trc_calib.py +0 -517
  357. pose2sim-0.0.0/Pose2Sim/Utilities/tests.py +0 -209
  358. pose2sim-0.0.0/Pose2Sim/Utilities/trc_combine.py +0 -174
  359. pose2sim-0.0.0/Pose2Sim/Utilities/trc_from_easymocap.py +0 -174
  360. pose2sim-0.0.0/Pose2Sim/Utilities/trc_from_mot_osim.py +0 -177
  361. pose2sim-0.0.0/Pose2Sim/Utilities/trc_gaitevents.py +0 -730
  362. pose2sim-0.0.0/Pose2Sim/Utilities/trc_to_c3d.py +0 -134
  363. pose2sim-0.0.0/Pose2Sim/__init__.py +0 -14
  364. pose2sim-0.0.0/Pose2Sim/calibration.py +0 -1360
  365. pose2sim-0.0.0/Pose2Sim/common.py +0 -1298
  366. pose2sim-0.0.0/Pose2Sim/filtering.py +0 -517
  367. pose2sim-0.0.0/Pose2Sim/kinematics.py +0 -687
  368. pose2sim-0.0.0/Pose2Sim/markerAugmentation.py +0 -327
  369. pose2sim-0.0.0/Pose2Sim/personAssociation.py +0 -777
  370. pose2sim-0.0.0/Pose2Sim/poseEstimation.py +0 -612
  371. pose2sim-0.0.0/Pose2Sim/skeletons.py +0 -1001
  372. pose2sim-0.0.0/Pose2Sim/synchronization.py +0 -1593
  373. pose2sim-0.0.0/Pose2Sim/triangulation.py +0 -873
  374. pose2sim-0.0.0/README.md +0 -1070
  375. pose2sim-0.0.0/pose2sim.egg-info/PKG-INFO +0 -1115
  376. pose2sim-0.0.0/pose2sim.egg-info/SOURCES.txt +0 -359
  377. pose2sim-0.0.0/pose2sim.egg-info/entry_points.txt +0 -27
  378. pose2sim-0.0.0/pose2sim.egg-info/requires.txt +0 -19
  379. pose2sim-0.0.0/pose2sim.egg-info/top_level.txt +0 -3
  380. pose2sim-0.0.0/pyproject.toml +0 -90
  381. pose2sim-0.0.0/setup.cfg +0 -4
  382. {pose2sim-0.0.0/pose2sim.egg-info → Pose2Sim-0.1.1/Pose2Sim.egg-info}/dependency_links.txt +0 -0
@@ -1,29 +1,29 @@
1
- BSD 3-Clause License
2
-
3
- Copyright (c) 2022, perfanalytics
4
- All rights reserved.
5
-
6
- Redistribution and use in source and binary forms, with or without
7
- modification, are permitted provided that the following conditions are met:
8
-
9
- 1. Redistributions of source code must retain the above copyright notice, this
10
- list of conditions and the following disclaimer.
11
-
12
- 2. Redistributions in binary form must reproduce the above copyright notice,
13
- this list of conditions and the following disclaimer in the documentation
14
- and/or other materials provided with the distribution.
15
-
16
- 3. Neither the name of the copyright holder nor the names of its
17
- contributors may be used to endorse or promote products derived from
18
- this software without specific prior written permission.
19
-
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2021, David PAGNON
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,564 @@
1
+ Metadata-Version: 2.1
2
+ Name: Pose2Sim
3
+ Version: 0.1.1
4
+ Summary: Perform a markerless kinematic analysis from multiple calibrated views as a unified workflow from an OpenPose input to an OpenSim result.
5
+ Home-page: https://gitlab.inria.fr/perfanalytics/pose2sim
6
+ Author: David Pagnon
7
+ Author-email: contact@david-pagnon.com
8
+ License: BSD 3-Clause License
9
+ Project-URL: Bug Tracker, https://github.com/davidpagnon/pose2sim/issues
10
+ Keywords: markerless,kinematics,OpenPose,OpenSim,3D human pose,biomechanics
11
+ Platform: any
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: BSD License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Topic :: Scientific/Engineering
18
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
19
+ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
20
+ Requires-Python: <4,>=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+
24
+ <!--
25
+ * @Date: 2021-03-19 15:52:32
26
+ * @Author: David Pagnon
27
+ * @LastEditors: David Pagnon
28
+ * @LastEditTime: 2021-03-19 15:52:32
29
+ * @FilePath: /Openpose-to-Opensim/Readme.md
30
+ -->
31
+
32
+ <!-- [![PyPI version](https://badge.fury.io/py/anipose.svg)](https://badge.fury.io/py/anipose) -->
33
+
34
+
35
+ # Pose2Sim
36
+ This Python repository offers a way to perform a markerless kinematic analysis from multiple calibrated views as a unified workflow from an OpenPose input to an OpenSim result. \
37
+ It has been tested on Windows 10 but should work similarly on Linux or MacOS.\
38
+ Pull requests and suggestions are very welcome.
39
+
40
+
41
+ ## Contents
42
+ 1. [Installation and Demonstration](#installation-and-demonstration)
43
+ 2. [Use on your own data](#use-on-your-own-data)
44
+ 1. [Prepare for running on your own data](#prepare-for-running-on-your-own-data)
45
+ 2. [2D pose estimation](#2d-pose-estimation)
46
+ 3. [Cameras calibration](#cameras-calibration)
47
+ 4. [2D Tracking of person](#2d-tracking-of-person)
48
+ 5. [3D triangulation](#3d-triangulation)
49
+ 6. [3D filtering](#3d-filtering)
50
+ 7. [OpenSim kinematics](#opensim-kinematics)
51
+ 3. [Utilities](#utilities)
52
+ 4. [How to cite and others](#how-to-cite-and-others)
53
+
54
+ ## Installation and Demonstration
55
+
56
+ 1. Install OpenPose (instructions [there](https://github.com/CMU-Perceptual-Computing-Lab/openpose#installation)).\
57
+ Install OpenSim ([there](https://simtk.org/frs/index.php?group_id=91)).\
58
+ Install Anaconda or [Miniconda](https://docs.conda.io/en/latest/miniconda.html).
59
+ 2. Clone the Pose2Sim repository.
60
+ 3. Install requirements: Open an Anaconda terminal in the cloned folder.
61
+ ```
62
+ conda create --name Pose2Sim -c conda-forge --file requirements.txt
63
+ conda activate Pose2Sim
64
+ ```
65
+ 4. Add the directory where Pose2Sim is installed to your PYTHONPATH environment variable (or append it to the sys.path).
66
+ 5. This Demo provides an example of the processing of a set of OpenPose input data for a 4 cameras experiment of a person balancing on a beam. Open an Anaconda terminal in the `Demo` folder of the cloned directory and try the following code in a Python session :
67
+ ```
68
+ from Pose2Sim import Pose2Sim
69
+ Pose2Sim.calibrateCams()
70
+ Pose2Sim.track2D()
71
+ Pose2Sim.triangulate3D()
72
+ Pose2Sim.filter3D()
73
+ ```
74
+ You should obtain a plot of all the trajectories of 3D coordinates. Results are stored as .trc files in the Demo/pose-3d directory. You can check the logs in`Demo\Users\logs.txt`.\
75
+ Default parameters have been provided in `Demo\Users\Config.toml` but can be edited.\
76
+ Section [Opensim kinematics](#opensim-kinematics) describes how to obtain 3D joint angles.
77
+
78
+ ## Use on your own data
79
+
80
+ ### Prepare for running on your own data
81
+ > _**Get ready.**_
82
+
83
+ 1. Edit the `Config.toml` file as needed, especially regarding the path to your project. The file is located by default in the `User` folder of your cloned repository, but you can copy-paste it anywhere (e.g. in your data directory).
84
+ 2. Set up project hierarchy (in your data directory).
85
+
86
+ ```
87
+ Project
88
+ │
89
+ ├──opensim
90
+ │ ├──Model_Pose2Sim_Body25b.osim
91
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
92
+ │ └──IK_Setup_Pose2Sim_Body25b.xml
93
+ │
94
+ └── raw-2d
95
+ ├──raw_cam1_img
96
+ ├──...
97
+ └──raw_camN_img
98
+ ```
99
+
100
+ ### 2D pose estimation
101
+ > _**Estimate 2D pose from images with Openpose.**_
102
+
103
+ Open a command prompt in your **OpenPose** directory. \
104
+ Launch OpenPose for each raw image folder:
105
+ ```
106
+ bin\OpenPoseDemo.exe --model_pose BODY_25B --image_dir <PATH_TO_PROJECT_DIR>\raw-2d\raw_cam1_img --write_json <PATH_TO_PROJECT_DIR>\pose-2d\pose_cam1_json
107
+ ```
108
+
109
+ * *N.B.:* The [BODY_25B model](https://github.com/CMU-Perceptual-Computing-Lab/openpose_train/tree/master/experimental_models) has more accurate results; however, feel free to use any OpenPose model (BODY_25B, BODY_25, COCO, with face and/or hands, etc), and to work with videos instead of image files.
110
+ * *N.B.:* You can also use [DeepLabCut](https://github.com/DeepLabCut/DeepLabCut), or other 2D pose estimators instead. \
111
+ If you decide to do so, you'll have to (1) translate the format to json files (with `DLC_to_OpenPose.py` script, see [Utilities](#utilities)); (2) report the model keypoints in the 'skeleton.py' file; (3) create an OpenSim model if you need 3D joint angles.
112
+
113
+ <img src="Content/Pose2D.png" width="760">
114
+
115
+ N.B.: Markers are not needed and are used only for validation
116
+
117
+
118
+ <details>
119
+ <summary>The project hierarchy becomes: (CLICK TO SHOW)</summary>
120
+ <pre>
121
+ Project
122
+ │
123
+ ├──opensim
124
+ │ ├──Model_Pose2Sim_Body25b.osim
125
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
126
+ │ └──IK_Setup_Pose2Sim_Body25b.xml
127
+ │
128
+ <i><b>├──pose-2d
129
+ │ ├──pose_cam1_json
130
+ │ ├──...
131
+ │ └──pose_camN_json</i></b>
132
+ │
133
+ └── raw-2d
134
+ ├──raw_cam1_img
135
+ ├──...
136
+ └──raw_camN_img
137
+ </pre>
138
+ </details>
139
+
140
+ ### Cameras calibration
141
+ > _**Calibrate your cameras.**_
142
+
143
+ 1. If you already have a calibration file (.qca.txt from Qualisys for example):
144
+ - copy it in the `calib-2d` folder
145
+ - set [calibration] type to 'qca' in your `Config.toml` file.
146
+
147
+ or
148
+
149
+ 2. If you have taken pictures or videos of a checkerboard with your cameras:
150
+ - create a folder for each camera in your `calib-2d` folder,
151
+ - copy there the images or videos of the checkerboard
152
+ - set [calibration] type to 'checkerboard' in your `Config.toml` file, and adjust other parameters.
153
+
154
+ Open an Anaconda prompt or a terminal. \
155
+ By default, `calibrateCams()` will look for `Config.toml` in the `User` folder of your current directory. If you want to store it somewhere else (e.g. in your data directory), specify this path as an argument: `Pose2Sim.calibrateCams(r'path_to_config.toml')`.
156
+
157
+ ```
158
+ from Pose2Sim import Pose2Sim
159
+ Pose2Sim.calibrateCams()
160
+ ```
161
+
162
+ Output:\
163
+ <img src="Content/Calib2D.png" width="760">
164
+
165
+ <img src="Content/CalibFile.png" width="760">
166
+
167
+
168
+ <details>
169
+ <summary>The project hierarchy becomes: (CLICK TO SHOW)</summary>
170
+ <pre>
171
+ Project
172
+ │
173
+ ├──<i><b>calib-2d
174
+ │ └──Calib.toml</i></b>
175
+ │
176
+ ├──opensim
177
+ │ ├──Model_Pose2Sim_Body25b.osim
178
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
179
+ │ └──IK_Setup_Pose2Sim_Body25b.xml
180
+ │
181
+ ├──pose-2d
182
+ │ ├──pose_cam1_json
183
+ │ ├──...
184
+ │ └──pose_camN_json
185
+ │
186
+ └── raw-2d
187
+ ├──raw_cam1_img
188
+ ├──...
189
+ └──raw_camN_img
190
+ </pre>
191
+ </details>
192
+
193
+ ### 2D tracking of person
194
+ > _**Track the person viewed by the most cameras, in case of several detections by OpenPose.**_ \
195
+ *N.B.: Skip this step if only one person is in the field of view.*
196
+
197
+ Open an Anaconda terminal
198
+ By default, `track2D()` will look for `Config.toml` in the `User` folder of your current directory. If you want to store it somewhere else (e.g. in your data directory), specify this path as an argument: `Pose2Sim.track2D(r'path_to_config.toml')`.
199
+ ```
200
+ from Pose2Sim import Pose2Sim
201
+ Pose2Sim.track2D()
202
+ ```
203
+
204
+ Check printed output. If results are not satisfying, try and release the constraints in the `Config.toml` file.
205
+
206
+ Output:\
207
+ <img src="Content/Track2D.png" width="760">
208
+
209
+
210
+ <details>
211
+ <summary>The project hierarchy becomes: (CLICK TO SHOW)</summary>
212
+ <pre>
213
+ Project
214
+ │
215
+ ├──calib-2d
216
+ │ ├──calib_cam1_img
217
+ │ ├──...
218
+ │ ├──calib_camN_img
219
+ │ └──Calib.toml
220
+ │
221
+ ├──opensim
222
+ │ ├──Model_Pose2Sim_Body25b.osim
223
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
224
+ │ └──IK_Setup_Pose2Sim_Body25b.xml
225
+ │
226
+ ├──pose-2d
227
+ │ ├──pose_cam1_json
228
+ │ ├──...
229
+ │ └──pose_camN_json
230
+ │
231
+ <i><b>├──pose-2d-tracked
232
+ │ ├──tracked_cam1_json
233
+ │ ├──...
234
+ │ └──tracked_camN_json</i></b>
235
+ │
236
+ └── raw-2d
237
+ ├──raw_cam1_img
238
+ ├──...
239
+ └──raw_camN_img
240
+ </pre>
241
+ </details>
242
+
243
+ ### 3D triangulation
244
+ > _**Triangulate your 2D coordinates in a robust way.**_
245
+
246
+ Open an Anaconda terminal.
247
+ By default, `triangulate3D()` will look for `Config.toml` in the `User` folder of your current directory. If you want to store it somewhere else (e.g. in your data directory), specify this path as an argument: `Pose2Sim.triangulate3D(r'path_to_config.toml')`.
248
+
249
+ ```
250
+ from Pose2Sim import Pose2Sim
251
+ Pose2Sim.triangulate3D()
252
+ ```
253
+
254
+ Check printed output, and vizualise your trc in OpenSim.\
255
+ If your triangulation is not satisfying, try and release the constraints in the `Config.toml` file.
256
+
257
+ Output:\
258
+ <img src="Content/Triangulate3D.png" width="760">
259
+
260
+
261
+ <details>
262
+ <summary>The project hierarchy becomes: (CLICK TO SHOW)</summary>
263
+ <pre>
264
+ Project
265
+ │
266
+ ├──calib-2d
267
+ │ ├──calib_cam1_img
268
+ │ ├──...
269
+ │ ├──calib_camN_img
270
+ │ └──Calib.toml
271
+ │
272
+ ├──opensim
273
+ │ ├──Model_Pose2Sim_Body25b.osim
274
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
275
+ │ └──IK_Setup_Pose2Sim_Body25b.xml
276
+ │
277
+ ├──pose-2d
278
+ │ ├──pose_cam1_json
279
+ │ ├──...
280
+ │ └──pose_camN_json
281
+ │
282
+ ├──pose-2d-tracked
283
+ │ ├──tracked_cam1_json
284
+ │ ├──...
285
+ │ └──tracked_camN_json
286
+ │
287
+ <i><b>├──pose-3d
288
+ └──Pose-3d.trc</i></b>>
289
+ │
290
+ └── raw-2d
291
+ ├──raw_cam1_img
292
+ ├──...
293
+ └──raw_camN_img
294
+ </pre>
295
+ </details>
296
+
297
+
298
+ ### 3D Filtering
299
+ > _**Filter your 3D coordinates.**_
300
+
301
+ Open an Anaconda terminal.
302
+ By default, `filter3D()` will look for `Config.toml` in the `User` folder of your current directory. If you want to store it somewhere else (e.g. in your data directory), specify this path as an argument: `Pose2Sim.filter3D(r'path_to_config.toml')`.
303
+
304
+ ```
305
+ from Pose2Sim import Pose2Sim
306
+ Pose2Sim.filter3D()
307
+ ```
308
+
309
+ Check your filtration with the displayed figures, and vizualise your trc in OpenSim. If your filtering is not satisfying, try and change the parameters in the `Config.toml` file.
310
+
311
+ Output:\
312
+ <img src="Content/FilterPlot.png" width="760">
313
+
314
+ <img src="Content/Filter3D.png" width="760">
315
+
316
+
317
+ <details>
318
+ <summary>The project hierarchy becomes: (CLICK TO SHOW)</summary>
319
+ <pre>
320
+ Project
321
+ │
322
+ ├──calib-2d
323
+ │ ├──calib_cam1_img
324
+ │ ├──...
325
+ │ ├──calib_camN_img
326
+ │ └──Calib.toml
327
+ │
328
+ ├──opensim
329
+ │ ├──Model_Pose2Sim_Body25b.osim
330
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
331
+ │ └──IK_Setup_Pose2Sim_Body25b.xml
332
+ │
333
+ ├──pose-2d
334
+ │ ├──pose_cam1_json
335
+ │ ├──...
336
+ │ └──pose_camN_json
337
+ │
338
+ ├──pose-2d-tracked
339
+ │ ├──tracked_cam1_json
340
+ │ ├──...
341
+ │ └──tracked_camN_json
342
+ │
343
+ <i><b>├──pose-3d
344
+ │ ├──Pose-3d.trc
345
+ │ └──Pose-3d-filtered.trc</i></b>
346
+ │
347
+ └── raw-2d
348
+ ├──raw_cam1_img
349
+ ├──...
350
+ └──raw_camN_img
351
+ </pre>
352
+ </details>
353
+
354
+
355
+ ### OpenSim kinematics
356
+ > _**Obtain 3D joint angles.**_
357
+
358
+ #### Scaling
359
+ In the same vein as you would do with marker-based kinematics, start with scaling your model.
360
+ 1. Use the previous steps to capture a static pose, typically a T-pose (example file: `Standing_for_Scaling.trc`.)
361
+ 2. Open the provided `Model_Pose2Sim_Body25b.osim` model from `Pose2Sim/Demo/opensim`. *(File -> Open Model)*
362
+ 3. Load the provided `Scaling_Setup_Pose2Sim_Body25b.xml` scaling file from `Pose2Sim/Demo/opensim`. *(Tools -> Scale model -> Load)*
363
+ 4. Replace the example static .trc file with your own data if needed.
364
+ 5. Run
365
+ 6. Save the new scaled OpenSim model.
366
+
367
+ #### Inverse kinematics
368
+ 1. Use Pose2Sim to generate 3D trajectories (example file: `Balancing_for_IK.trc`.)
369
+ 2. Load the provided `IK_Setup_Pose2Sim_Body25b.xml` scaling file from `Pose2Sim/Demo/opensim`. *(Tools -> Inverse kinematics -> Load)*
370
+ 3. Replace the example .trc file with your own data if needed, and specify the path to your angle kinematics output file.
371
+ 4. Run
372
+ 5. Motion results will appear as .mot file in the Demo/opensim directory (automatically saved).
373
+
374
+ <img src="Content/OpenSim.JPG" width="380">
375
+
376
+
377
+ #### Batch processing
378
+ Alternatively, you can use command-line tools:
379
+ Open an Anaconda terminal in your OpenSim/bin directory, typically `C:\OpenSim <Version>\bin`.\
380
+ You'll need to adjust the `time_range`, `output_motion_file` and `marker_file` in your setup file.
381
+ ```
382
+ opensim-cmd run-tool <PATH_TO_POSE2SIM>/OpenSim/Setup/<YOUR SCALING OR IK SETUP FILE>.xml
383
+ ```
384
+
385
+
386
+ <details>
387
+ <summary>The project hierarchy becomes: (CLICK TO SHOW)</summary>
388
+ <pre>
389
+ Project
390
+ │
391
+ ├──calib-2d
392
+ │ ├──calib_cam1_img
393
+ │ ├──...
394
+ │ ├──calib_camN_img
395
+ │ └──Calib.toml
396
+ │
397
+ ├──<i><b>opensim</i></b>
398
+ │ ├──Model_Pose2Sim_Body25b.osim
399
+ │ ├──Scaling_Setup_Pose2Sim_Body25b.xml
400
+ │ ├──<i><b>Model_Pose2Sim_Body25b_Scaled.osim</i></b>
401
+ │ ├──IK_Setup_Pose2Sim_Body25b.xml
402
+ │ └──<i><b>IK_result.mot</i></b>
403
+ │
404
+ ├──pose-2d
405
+ │ ├──pose_cam1_json
406
+ │ ├──...
407
+ │ └──pose_camN_json
408
+ │
409
+ ├──pose-2d-tracked
410
+ │ ├──tracked_cam1_json
411
+ │ ├──...
412
+ │ └──tracked_camN_json
413
+ │
414
+ ├──pose-3d
415
+ │ ├──Pose-3d.trc
416
+ │ └──Pose-3d-filtered.trc
417
+ │
418
+ └── raw-2d
419
+ ├──raw_cam1_img
420
+ ├──...
421
+ └──raw_camN_img
422
+ </pre>
423
+ </details>
424
+
425
+ ## Utilities
426
+ A list of standalone tools, which can be both run as scripts or imported as functions. Check usage in the docstrings of each python file.\
427
+ Optional: If you want to execute them systemwide, add the path to your environment variables: \
428
+ `Windows -> Environment Variables -> New -> Name: PYTHONPATH, Value: <PATH_TO_POSE2SIM>/Utilities` \
429
+
430
+ <details>
431
+ <summary><b>Converting files and Calibrating</b> (CLICK TO SHOW)</summary>
432
+ <pre>
433
+
434
+ `DLC_to_OpenPose.py`
435
+ Converts a DeepLabCut (h5) 2D pose estimation file into OpenPose (json) files.
436
+
437
+ `c3d_to_trc.py`
438
+ Converts 3D point data of a .c3d file to a .trc file compatible with OpenSim. No analog data (force plates, emg) nor computed data (angles, powers, etc) are retrieved.
439
+
440
+ `calib_from_checkerboard.py`
441
+ Calibrates cameras with images or a video of a checkerboard, saves calibration in a Pose2Sim .toml calibration file.
442
+
443
+ `calib_qca_to_toml.py`
444
+ Converts a Qualisys .qca.txt calibration file to the Pose2Sim .toml calibration file (similar to what is used in [AniPose](https://anipose.readthedocs.io/en/latest/)).
445
+
446
+ `calib_toml_to_qca.py`
447
+ Converts a Pose2Sim .toml calibration file (e.g., from a checkerboard) to a Qualisys .qca.txt calibration file.
448
+
449
+ `calib_yml_to_toml.py`
450
+ Converts OpenCV intrinsic and extrinsic .yml calibration files to an OpenCV .toml calibration file.
451
+
452
+ `calib_toml_to_yml.py`
453
+ Converts an OpenCV .toml calibration file to OpenCV intrinsic and extrinsic .yml calibration files.
454
+ </pre>
455
+ </details>
456
+
457
+ <details>
458
+ <summary><b>Plotting tools</b> (CLICK TO SHOW)</summary>
459
+ <pre>
460
+
461
+ `json_display_with_img.py`
462
+ Overlays 2D detected json coordinates on original raw images. High confidence keypoints are green, low confidence ones are red.
463
+
464
+ `json_display_without_img.py`
465
+ Plots an animation of 2D detected json coordinates.
466
+
467
+ `trc_plot.py`
468
+ Displays X, Y, Z coordinates of each 3D keypoint of a TRC file in a different matplotlib tab.
469
+ </pre>
470
+ </details>
471
+
472
+ <details>
473
+ <summary><b>Other trc tools</b> (CLICK TO SHOW)</summary>
474
+ <pre>
475
+
476
+ `trc_desample.py`
477
+ Undersamples a trc file.
478
+
479
+ `trc_Zup_to_Yup.py`
480
+ Changes Z-up system coordinates to Y-up system coordinates.
481
+
482
+ `trc_filter.py`
483
+ Filters trc files. Available filters: Butterworth, Butterworth on speed, Gaussian, LOESS, Median.
484
+
485
+ `trc_gaitevents.py`
486
+ Detects gait events from point coordinates according to [Zeni et al. (2008)](https://www.sciencedirect.com/science/article/abs/pii/S0966636207001804?via%3Dihub).
487
+ </pre>
488
+ </details>
489
+
490
+
491
+ ## How to cite and others
492
+ #### How to cite
493
+ If you use this code or data, please cite [Pagnon et al., 2022](https://www.mdpi.com/1424-8220/22/7/2712) or [Pagnon et al., 2021](https://www.mdpi.com/1424-8220/21/19/6530).
494
+
495
+ @Article{Pagnon_2022_Pose2Sim,
496
+ AUTHOR = {Pagnon, David and Domalain, Mathieu and Reveret, Lionel},
497
+ TITLE = {Pose2Sim: An End-to-End Workflow for 3D Markerless Sports Kinematics—Part 2: Accuracy},
498
+ JOURNAL = {Sensors},
499
+ YEAR = {2022},
500
+ PUBLISHER = {Multidisciplinary Digital Publishing Institute},
501
+ URL = {https://www.mdpi.com/1424-8220/22/7/2712}
502
+ }
503
+
504
+ @Article{Pagnon_2021_Pose2Sim,
505
+ AUTHOR = {Pagnon, David and Domalain, Mathieu and Reveret, Lionel},
506
+ TITLE = {Pose2Sim: An End-to-End Workflow for 3D Markerless Sports Kinematics—Part 1: Robustness},
507
+ JOURNAL = {Sensors},
508
+ YEAR = {2021},
509
+ PUBLISHER = {Multidisciplinary Digital Publishing Institute},
510
+ URL = {https://www.mdpi.com/1424-8220/21/19/6530},
511
+ }
512
+
513
+ #### Contributers
514
+ David Pagnon (maintainer, developer), contact@david-pagnon.com\
515
+ Lionel Reveret, lionel.reveret@inria.fr\
516
+ Mathieu Domalain, mathieu.domalain@univ-poitiers.fr
517
+
518
+ #### To do list
519
+ * Pip or conda install
520
+ * Make Docker image
521
+ * Multiple persons kinematics (triangulating multiple persons, and sorting them in time)
522
+ * Solve limb swapping
523
+ * Implement normalized DLT and RANSAC triangulation
524
+ * Implement optimal fixed-interval Kalman smoothing
525
+ * Implement OpenSim London Lumbar Spine Model (validated for a wide range of daily tasks)
526
+ * Calibrate with Aruco, Charuco, etc
527
+ * Utilities: convert Vicon xcp calibration file to toml
528
+ * Run from command line via click or typer
529
+ * Make GUI interface
530
+ * Catch errors
531
+
532
+ Pull requests and suggestions are always welcome!
533
+
534
+ BSD 3-Clause License
535
+
536
+ Copyright (c) 2021, David PAGNON
537
+ All rights reserved.
538
+
539
+ Redistribution and use in source and binary forms, with or without
540
+ modification, are permitted provided that the following conditions are met:
541
+
542
+ 1. Redistributions of source code must retain the above copyright notice, this
543
+ list of conditions and the following disclaimer.
544
+
545
+ 2. Redistributions in binary form must reproduce the above copyright notice,
546
+ this list of conditions and the following disclaimer in the documentation
547
+ and/or other materials provided with the distribution.
548
+
549
+ 3. Neither the name of the copyright holder nor the names of its
550
+ contributors may be used to endorse or promote products derived from
551
+ this software without specific prior written permission.
552
+
553
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
554
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
555
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
556
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
557
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
558
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
559
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
560
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
561
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
562
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
563
+
564
+