{"id":28762232,"url":"https://github.com/ty70/stick-figure-generator","last_synced_at":"2026-05-01T21:34:04.248Z","repository":{"id":294356533,"uuid":"986706167","full_name":"ty70/stick-figure-generator","owner":"ty70","description":"Automatically generate stick figures from photos of people. Detect postures with MediaPipe and draw with OpenCV. Overlay is also available.","archived":false,"fork":false,"pushed_at":"2025-06-13T08:59:11.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T00:42:33.541Z","etag":null,"topics":["mediapipe","opencv","pose-estimation","python","stick-figure"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ty70.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-20T02:32:18.000Z","updated_at":"2025-06-14T02:09:06.000Z","dependencies_parsed_at":"2025-10-06T00:37:56.605Z","dependency_job_id":null,"html_url":"https://github.com/ty70/stick-figure-generator","commit_stats":null,"previous_names":["ty70/stick-figure-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ty70/stick-figure-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty70%2Fstick-figure-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty70%2Fstick-figure-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty70%2Fstick-figure-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty70%2Fstick-figure-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ty70","download_url":"https://codeload.github.com/ty70/stick-figure-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty70%2Fstick-figure-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32513753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["mediapipe","opencv","pose-estimation","python","stick-figure"],"created_at":"2025-06-17T08:07:31.647Z","updated_at":"2026-05-01T21:34:04.207Z","avatar_url":"https://github.com/ty70.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stick Figure Generator from Human Photos\n\nThis project uses Python and MediaPipe to detect human poses in photos and render them as simple stick figures.\n\n## Features\n\n* Uses MediaPipe pose estimation to detect human landmarks (joints)\n* Draws stick figures based on the detected keypoints\n* Optionally overlays the stick figure on the original image, or outputs a standalone figure on a white background\n\n## Requirements\n\n* Python 3.7 or higher\n* mediapipe\n* opencv-python\n* numpy\n\nYou can install the required packages with:\n\n```bash\npip install -r requirements.txt\n```\n\n## Directory Structure\n\n```\n.\n├── inputs/\n│   └── input.jpg\n├── outputs/\n│   └── output.jpg\n├── scripts/\n│   └── stick_figure.py\n├── .gitignore\n├── LICENSE\n├── README_ja.md\n├── README.md (you are here)\n└── requirements.txt\n```\n\n## Usage\n\nRun the following command from the project root directory:\n\n```bash\npython scripts/stick_figure.py --input inputs/input.jpg --output outputs/output.jpg --overlay True\n```\n\nSetting the `--overlay` option to `True` will overlay the stick figure on the original image. Setting it to `False` will draw the stick figure on a white background instead.\n\n## Notes\n\n* Input images should clearly contain a person. To ensure accurate pose detection, it is recommended to use images where the full body and face are visible.\n* The output image will be saved to `outputs/output.jpg`.\n\n## License\n\nMIT [License](./LICENSE)\n\n---\n\nSpecial thanks to MediaPipe and OpenCV ❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fty70%2Fstick-figure-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fty70%2Fstick-figure-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fty70%2Fstick-figure-generator/lists"}