{"id":26152020,"url":"https://github.com/quanhua92/human-pose-estimation-opencv","last_synced_at":"2025-04-07T19:13:03.141Z","repository":{"id":53762573,"uuid":"137473561","full_name":"quanhua92/human-pose-estimation-opencv","owner":"quanhua92","description":"Perform Human Pose Estimation in OpenCV Using OpenPose MobileNet","archived":false,"fork":false,"pushed_at":"2018-06-15T10:38:10.000Z","size":7134,"stargazers_count":366,"open_issues_count":10,"forks_count":149,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-31T18:18:26.495Z","etag":null,"topics":["computer-vision","humanpose","opencv","openpose","pose-estimation","tensorflow"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quanhua92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-15T10:16:26.000Z","updated_at":"2025-03-25T09:11:15.000Z","dependencies_parsed_at":"2022-09-24T07:41:12.338Z","dependency_job_id":null,"html_url":"https://github.com/quanhua92/human-pose-estimation-opencv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanhua92%2Fhuman-pose-estimation-opencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanhua92%2Fhuman-pose-estimation-opencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanhua92%2Fhuman-pose-estimation-opencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanhua92%2Fhuman-pose-estimation-opencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quanhua92","download_url":"https://codeload.github.com/quanhua92/human-pose-estimation-opencv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713258,"owners_count":20983683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","humanpose","opencv","openpose","pose-estimation","tensorflow"],"created_at":"2025-03-11T06:55:50.817Z","updated_at":"2025-04-07T19:13:02.922Z","avatar_url":"https://github.com/quanhua92.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# human-pose-estimation-opencv\nPerform Human Pose Estimation in OpenCV Using OpenPose MobileNet\n\n![OpenCV Using OpenPose MobileNet](output.JPG)\n\n\n# How to use\n\n- Test with webcam\n\n```\npython openpose.py\n```\n\n- Test with image\n```\npython openpose.py --input image.jpg\n```\n\n- Use `--thr` to increase confidence threshold\n\n```\npython openpose.py --input image.jpg --thr 0.5\n```\n\n# Notes:\n- I modified the [OpenCV DNN Example](https://github.com/opencv/opencv/blob/master/samples/dnn/openpose.py) to use the `Tensorflow MobileNet Model`, which is provided by [ildoonet/tf-pose-estimation](https://github.com/ildoonet/tf-pose-estimation/tree/master/models/graph/mobilenet_thin), instead of `Caffe Model` from CMU OpenPose. The original `openpose.py` from `OpenCV example` only uses `Caffe Model` which is more than 200MB while the `Mobilenet` is only 7MB.\n- Basically, we need to change the `cv.dnn.blobFromImage` and use `out = out[:, :19, :, :]` to get only the first 19 rows in the `out` variable.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquanhua92%2Fhuman-pose-estimation-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquanhua92%2Fhuman-pose-estimation-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquanhua92%2Fhuman-pose-estimation-opencv/lists"}