{"id":15175867,"url":"https://github.com/wonder-tree/posecamera","last_synced_at":"2025-07-23T04:32:56.102Z","repository":{"id":49243353,"uuid":"280059453","full_name":"Wonder-Tree/PoseCamera","owner":"Wonder-Tree","description":"PoseCamera: Realtime Human Pose Estimation Python SDK","archived":false,"fork":false,"pushed_at":"2021-07-20T13:40:39.000Z","size":5185,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-08T02:53:42.652Z","etag":null,"topics":["computer-vision","mobilenet","opencv","openpose","pose-estimation","python","pytorch"],"latest_commit_sha":null,"homepage":"https://wonder-tree.github.io","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/Wonder-Tree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing/README.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-16T05:10:27.000Z","updated_at":"2021-07-20T13:40:42.000Z","dependencies_parsed_at":"2022-08-29T15:00:10.584Z","dependency_job_id":null,"html_url":"https://github.com/Wonder-Tree/PoseCamera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wonder-Tree/PoseCamera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wonder-Tree%2FPoseCamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wonder-Tree%2FPoseCamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wonder-Tree%2FPoseCamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wonder-Tree%2FPoseCamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wonder-Tree","download_url":"https://codeload.github.com/Wonder-Tree/PoseCamera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wonder-Tree%2FPoseCamera/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266618744,"owners_count":23957273,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","mobilenet","opencv","openpose","pose-estimation","python","pytorch"],"created_at":"2024-09-27T12:43:20.998Z","updated_at":"2025-07-23T04:32:56.057Z","avatar_url":"https://github.com/Wonder-Tree.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PoseCamera\n\n[![PyPI version](https://badge.fury.io/py/posecamera.svg)](https://badge.fury.io/py/posecamera) [![PoseCamera Actions Status](https://github.com/Wonder-Tree/PoseCamera/workflows/build/badge.svg)](https://github.com/Wonder-Tree/PoseCamera/actions)  [![CodeFactor](https://www.codefactor.io/repository/github/wonder-tree/posecamera/badge)](https://www.codefactor.io/repository/github/wonder-tree/posecamera) [![](https://img.shields.io/badge/-Discussions-\u003cCOLOR\u003e.svg)](https://github.com/Wonder-Tree/PoseCamera/discussions)\n\nPoseCamera is python based SDK for human pose estimation through RGB webcam.\n\n### Install\n\ninstall posecamera package through pip\n\n```python\npip install posecamera\n```\n\nIf you are having issues with the installation on Windows OS then check this [page](https://wonder-tree.github.io/PoseCamera-Docs/#/pages/troubleshooting)\n\n### Usage\n\n\u003e See Google colab notebook https://colab.research.google.com/drive/1pzsgxaz1ZVesh_j-96PBak_OQKP19HHA?usp=sharing\n\ndraw pose keypoints on image\n\n```python\nimport posecamera\nimport cv2\n\ndet = posecamera.pose_tracker.PoseTracker()\n\nimage = cv2.imread(\"example.jpg\")\n\npose = det(image)\nfor name, (y, x, score) in pose.keypoints.items():\n    cv2.circle(image, (int(x), int(y)), 4, (255, 0, 0), -1)\n\n\ncv2.imshow(\"PoseCamera\", image)\ncv2.waitKey(0)\n```\n\noutput of the above example\n\n![](tmp/output.png)\n\n \n\nor get keypoints array\n\n```text\nfor pose in poses:\n    keypoints = pose.keypoints\n```\n\nHandtracker\n\n```\nimport posecamera\nimport cv2\ndet = posecamera.hand_tracker.HandTracker()\n\nimage = cv2.imread(\"tmp/hands.jpg\")\nkeypoints, bbox = det(image)\n\nfor hand_keypoints in keypoints:\n    for (x, y) in hand_keypoints:\n        cv2.circle(image, (int(x), int(y)), 3, (255, 0, 0), -1)\n\ncv2.imshow(\"PoseCamera - Hand Tracking\", image)\ncv2.waitKey(0)\n```\n\n![](tmp/handtracker.png)\n\n#### Using Docker\n\nThe official docker image is hosted on [Docker Hub](https://hub.docker.com/r/wondertree/posecamera). The very first step is to install the docker [docker](https://docs.docker.com/get-docker/) on your system.\n\n\u003e Also note that your Nvidia driver Needs to be compatible with CUDA10.2.\n\nDoing inference on live webcam feed.\n\n```bash\nxhost +; docker run --name posecamera --rm --net=host --gpus all -e DISPLAY=$DISPLAY --device=/dev/video0:/dev/video0 wondertree/posecamera --video=0\n```\n\n\u003e GPU \u0026 Webcam support \\(if running docker\\) is not available on Windows Operating System.\n\nTo run inference on images use the following command.\n\n```bash\ndocker run --name posecamera --rm --net=host -e DISPLAY=$DISPLAY  wondertree/posecamera --images ./tmp/female_pose.jpg --cpu\n```\n\nFor more details read our [Docs](https://wonder-tree.github.io/PoseCamera-Docs/)\n\nThe base of this repository is based on the following research paper.\n\n```text\n@inproceedings{osokin2018lightweight_openpose,\n    author={Osokin, Daniil},\n    title={Real-time 2D Multi-Person Pose Estimation on CPU: Lightweight OpenPose},\n    booktitle = {arXiv preprint arXiv:1811.12004},\n    year = {2018}\n}\n```\n\nThe base of hand tracking is based on the following repository : https://google.github.io/mediapipe/solutions/hands \n\n#### Share your thoughts\n\nJoin our [Discussion Channel](https://github.com/Wonder-Tree/PoseCamera/discussions)! We love to hear your ideas, suggestions or pull request\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonder-tree%2Fposecamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwonder-tree%2Fposecamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonder-tree%2Fposecamera/lists"}