Closed TheAnachronism closed 1 year ago
Is it possible to support loading the json output of the original OpenPose binaries? Currently it seems like you save some kind of custom json configuration, which doesn't make it possible to import an output of the original libraries.
Example configuration of OpenPose
{"version":1.3,"people":[{"person_id":[-1],"pose_keypoints_2d":[234.028,161.096,0.922049,246.797,231.876,0.901235,195.372,234.102,0.815872,180.451,317.677,0.872398,137.595,251.208,0.827864,298.248,229.733,0.830941,328.31,330.382,0.808948,356.12,420.411,0.8298,272.587,386.108,0.738619,236.226,388.275,0.721351,283.279,469.769,0.87084,330.459,638.909,0.695762,306.841,383.972,0.707339,317.494,503.98,0.857297,349.64,643.31,0.579944,223.345,146.159,0.903122,248.942,144.124,0.958439,210.416,156.873,0.555018,266.21,148.321,0.854199,341.142,679.644,0.366389,356.153,675.415,0.379635,347.608,658.278,0.321706,341.142,675.401,0.469009,328.304,677.459,0.465309,332.602,645.387,0.357704],"face_keypoints_2d":[],"hand_left_keypoints_2d":[356.435,423.917,0.336181,354.508,434.321,0.601546,360.288,448.579,0.749901,363.757,460.14,0.714697,368.766,467.076,0.668548,376.473,448.194,0.700676,386.107,457.442,0.660314,383.795,465.92,0.737103,381.868,472.471,0.857457,379.556,447.808,0.734902,384.951,457.828,0.646593,381.868,466.691,0.588983,374.932,470.159,0.457649,379.171,446.652,0.657267,382.639,457.057,0.587716,376.473,464.378,0.581386,372.62,469.003,0.522742,376.473,445.882,0.593737,376.088,457.442,0.70329,373.39,462.452,0.473227,370.307,466.305,0.471258],"hand_right_keypoints_2d":[134.091,243.457,0.587039,136.025,232.819,0.725136,135.058,218.635,0.879323,130.223,209.287,0.776852,124.42,206.385,0.243622,115.716,208.642,0.143703,113.137,207.352,0.714236,120.874,210.254,0.756356,126.677,214.767,0.834922,113.137,212.51,0.320018,113.782,214.767,0.438602,124.098,219.602,0.60207,127.321,222.504,0.642895,113.137,218.635,0.393253,115.394,219.602,0.431227,124.098,223.471,0.620381,126.999,227.339,0.627299,113.137,225.727,0.541305,117.006,224.76,0.569553,122.808,228.306,0.78661,124.743,232.175,0.749943],"pose_keypoints_3d":[],"face_keypoints_3d":[],"hand_left_keypoints_3d":[],"hand_right_keypoints_3d":[]}]}
I can't convert 2d points to 3d points. It is complex tech, But you can try to detect images that generates from your 2d openpose data
Is it possible to support loading the json output of the original OpenPose binaries? Currently it seems like you save some kind of custom json configuration, which doesn't make it possible to import an output of the original libraries.
Example configuration of OpenPose