Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get openpose.json format #78

Open
furkan59 opened this issue Sep 16, 2023 · 0 comments
Open

How to get openpose.json format #78

furkan59 opened this issue Sep 16, 2023 · 0 comments

Comments

@furkan59
Copy link

How to create the files that are in
VITON-HD-main\datasets\test\openpose-json
example file

I have openpose as image but not in this format.
{"version":1.3,"people":[{"person_id":[-1],"pose_keypoints_2d":[349.091,147.821,0.922318,400.138,317.836,0.770555,292.373,329.363,0.741053,303.693,513.417,0.217837,0,0,0,513.438,303.726,0.68234,527.623,547.373,0.808538,394.255,720.279,0.750887,351.821,711.821,0.523726,272.552,697.645,0.468322,266.87,995.149,0.224299,0,0,0,428.392,723.103,0.503569,473.774,1000.79,0.230145,0,0,0,326.226,125.155,0.960687,374.579,113.822,0.882049,306.453,147.828,0.331686,425.595,122.235,0.884945,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"face_keypoints_2d":[302.046,136.712,0.869866,306.11,149.581,0.833115,311.529,164.481,0.858995,316.947,176.672,0.811338,323.043,189.541,0.803168,333.202,200.378,0.772271,344.039,208.505,0.86551,355.553,215.278,0.861412,370.453,215.956,0.820495,385.354,209.86,0.761149,398.9,199.701,0.790258,409.737,186.832,0.821381,418.541,173.286,0.739742,420.573,156.354,0.787768,421.251,138.744,0.784492,420.573,121.811,0.880382,416.509,104.202,0.754309,300.692,119.78,0.782003,302.046,110.975,0.889942,311.529,107.588,0.866953,321.011,106.911,0.84231,329.816,109.62,0.85949,350.134,103.524,0.83869,360.971,95.3968,0.912428,371.808,89.9785,0.908968,385.354,89.3012,0.869102,396.868,94.0422,0.872422,344.039,121.134,0.873898,344.039,131.971,0.94951,344.716,142.13,0.923676,345.393,152.967,0.847983,342.007,163.804,0.88138,346.071,164.481,0.880951,350.134,164.481,0.899459,355.553,161.095,0.898657,360.971,159.063,0.941449,312.883,130.616,0.885652,317.624,125.198,0.881537,326.429,122.489,0.8725,333.879,126.552,0.939083,327.784,130.616,0.892896,318.979,131.971,0.889498,365.035,117.748,0.865671,371.131,110.975,0.922187,377.904,110.297,0.942335,386.708,110.975,0.945247,381.29,116.393,0.928419,371.808,118.425,0.901734,342.007,186.155,0.857322,344.716,176.672,0.855067,349.457,171.931,0.864374,354.875,172.609,0.887024,360.294,170.577,0.917118,367.744,171.254,0.81517,377.904,175.995,0.873953,371.808,184.123,0.840021,366.39,188.186,0.865473,360.294,191.573,0.92335,354.875,192.25,0.952952,348.78,191.573,0.903383,344.716,184.8,0.863965,350.812,179.382,0.826515,356.23,177.35,0.853512,360.971,175.995,0.912255,374.517,175.995,0.812935,361.648,180.736,0.859423,356.907,181.413,0.874657,352.844,182.091,0.810828,323.043,126.552,0.890636,375.872,113.007,0.843109],"hand_left_keypoints_2d":[391.428,717.351,0.740206,362.777,727.2,0.754788,333.232,744.211,0.895152,312.639,767.489,1.00367,298.314,784.5,0.980639,331.441,771.071,0.869564,306.372,797.93,0.823803,296.523,810.465,0.922642,289.361,817.628,0.894181,346.662,780.919,0.864756,321.592,809.57,0.915503,309.953,817.628,0.944389,299.209,822.999,0.995198,360.092,784.5,0.836012,340.394,810.465,0.843579,326.069,817.628,0.77644,314.43,819.418,0.517744,375.312,785.396,0.876373,360.987,808.674,0.883142,348.452,815.837,0.894224,339.499,815.837,0.724264],"hand_right_keypoints_2d":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"pose_keypoints_3d":[],"face_keypoints_3d":[],"hand_left_keypoints_3d":[],"hand_right_keypoints_3d":[]}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant