lllyasviel / lllyasviel/ControlNet
How to get openpose json format ?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
I have an image and I want to generate openpose json format.
https://cmu-perceptual-computing-lab.github.io/openpose/web/html/doc/md_doc_02_output.html
how can I get json format like this ?
{"version":1.3,"people":[{"person_id":[-1],"pose_keypoints_2d":[459.601,122.446,0.924153,411.38,346.137,0.74274,249.881,351.89,0.667133,215.974,615.468,0.781386,167.632,884.596,0.766322,572.94,329.271,0.647435,578.538,589.942,0.724897,615.365,859.147,0.738196,385.882,799.619,0.494338,283.831,799.629,0.463815,0,0,0,0,0,0,487.867,808.132,0.455764,0,0,0,0,0,0,414.197,99.5344,0.898988,479.43,99.5425,0.890356,329.241,125.35,0.912115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"face_keypoints_2d":[335.514,105.662,0.711852,339.065,128.743,0.735095,345.279,153.599,0.758305,352.38,176.68,0.759878,365.696,193.546,0.699768,382.563,205.974,0.698982,403.868,213.076,0.71402,427.836,218.402,0.722073,448.254,219.29,0.782765,464.233,213.076,0.800137,473.998,201.536,0.804387,481.987,188.22,0.762038,487.313,171.353,0.823438,493.527,156.262,0.794638,494.415,141.171,0.847762,494.415,126.08,0.837628,493.527,107.438,0.813455,376.349,83.4695,0.820637,387.889,71.0415,0.930736,402.98,67.4906,0.867307,419.847,69.266,0.85014,434.938,75.4801,0.816966,464.233,77.2555,0.893497,471.335,71.0415,0.905059,479.324,69.266,0.843035,487.313,68.3783,0.848536,493.527,71.0415,0.816575,450.917,92.3467,0.910563,452.692,102.999,0.835934,457.131,112.764,0.866014,458.906,120.754,0.899459,442.928,140.283,0.849039,449.142,141.171,0.900101,456.243,141.171,0.871727,458.906,141.171,0.891665,465.12,137.62,0.8176,399.429,99.4484,0.905988,408.307,94.1221,0.900857,417.184,94.1221,0.894852,425.173,100.336,0.870532,416.296,102.999,0.931047,408.307,102.999,0.891175,464.233,100.336,0.836856,472.222,95.0098,0.875247,480.212,95.0098,0.893502,486.426,99.4484,0.970371,480.212,104.775,0.912059,472.222,104.775,0.899508,423.398,170.466,0.958346,436.714,162.476,0.969594,447.366,156.262,0.881767,454.468,157.15,0.867094,459.794,155.375,0.913985,466.896,161.589,0.900726,471.335,169.578,0.927157,466.008,176.68,0.958066,458.906,177.567,0.971135,452.692,177.567,0.959644,444.703,177.567,0.957193,436.714,175.792,0.908321,429.612,169.578,0.907346,446.478,165.139,0.858482,453.58,166.027,0.873421,458.906,165.139,0.915638,466.008,169.578,0.937555,458.906,166.027,0.921552,453.58,166.915,0.870255,446.478,166.027,0.84506,411.858,98.5607,0.891682,473.998,98.5607,0.85291],"hand_left_keypoints_2d":[607.582,860.49,0.595924,593.184,889.286,0.749004,587.646,924.727,0.820877,596.507,960.167,0.901119,594.292,986.748,0.85272,631.947,943.554,0.748878,627.517,981.21,0.523958,615.335,1000.04,0.654899,597.614,1015.54,0.506486,636.377,945.769,0.679536,633.055,987.855,0.946502,614.227,1005.58,0.85004,593.184,1016.65,0.685208,637.485,943.554,0.647513,631.947,981.21,0.650821,615.335,1001.15,0.740276,595.399,1014.44,0.615587,631.947,942.447,0.573138,626.41,969.027,0.491254,614.227,984.533,0.398999,599.829,996.716,0.326466],"hand_right_keypoints_2d":[171.741,878.672,0.581979,173.97,906.536,0.808458,172.856,941.087,0.784168,167.283,977.867,0.966809,165.054,1004.62,0.79926,137.19,963.377,0.835691,139.419,1009.07,0.665568,162.825,1014.65,0.536724,190.688,1013.53,0.427316,137.19,967.836,0.817372,140.534,1012.42,0.936791,166.168,1015.76,0.884459,189.574,1013.53,0.692949,142.763,968.95,0.698368,146.107,1005.73,0.68726,169.512,1014.65,0.808479,188.459,1013.53,0.573217,151.679,966.721,0.490356,158.367,996.814,0.520369,166.168,1005.73,0.537508,189.574,1012.42,0.399054],"pose_keypoints_3d":[],"face_keypoints_3d":[],"hand_left_keypoints_3d":[],"hand_right_keypoints_3d":[]}]}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions only the OpenPose output documentation URL; start there to understand the requested JSON format. Clarify whether the expected documentation should cover generating the format with ControlNet or with OpenPose, then define the supported input and expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100