{"id":21476758,"url":"https://github.com/kazuhito00/movenet-python-example","last_synced_at":"2025-07-15T10:32:57.193Z","repository":{"id":40552150,"uuid":"399163160","full_name":"Kazuhito00/MoveNet-Python-Example","owner":"Kazuhito00","description":"MoveNetを用いたPythonでの姿勢推定のデモ","archived":false,"fork":false,"pushed_at":"2022-09-23T05:38:37.000Z","size":72095,"stargazers_count":43,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-03-04T13:14:50.037Z","etag":null,"topics":["movenet","movenet-lightning","movenet-thunder","multipose","onnx","singlepose","tensorflow","tensorflow-lite"],"latest_commit_sha":null,"homepage":"","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/Kazuhito00.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":"2021-08-23T15:54:44.000Z","updated_at":"2023-02-26T01:49:22.000Z","dependencies_parsed_at":"2022-09-20T11:38:17.522Z","dependency_job_id":null,"html_url":"https://github.com/Kazuhito00/MoveNet-Python-Example","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FMoveNet-Python-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FMoveNet-Python-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FMoveNet-Python-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FMoveNet-Python-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazuhito00","download_url":"https://codeload.github.com/Kazuhito00/MoveNet-Python-Example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033263,"owners_count":17563125,"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":["movenet","movenet-lightning","movenet-thunder","multipose","onnx","singlepose","tensorflow","tensorflow-lite"],"created_at":"2024-11-23T11:10:12.801Z","updated_at":"2024-11-23T11:10:13.493Z","avatar_url":"https://github.com/Kazuhito00.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoveNet-Python-Example\n[MoveNet](https://tfhub.dev/s?q=MoveNet)のPythonでの動作サンプルです。\u003cbr\u003e\nONNXに変換したモデルも同梱しています。変換自体を試したい方は[MoveNet_tf2onnx.ipynb](MoveNet_tf2onnx.ipynb)を使用ください。\u003cbr\u003e\n\n![smjqx-4ndt8](https://user-images.githubusercontent.com/37477845/130482531-5be5f3e6-0dc9-42bb-80a8-4e7544d9ba7e.gif)\n\n2021/08/24時点でTensorFlow Hubで提供されている以下モデルを使用しています。\n* [movenet/singlepose/lightning(v4)](https://tfhub.dev/google/movenet/singlepose/lightning/4)\n* [movenet/singlepose/thunder(v4)](https://tfhub.dev/google/movenet/singlepose/thunder/4)\n* [movenet/multipose/lightning(v1)](https://tfhub.dev/google/movenet/multipose/lightning/1)\n\n# Requirement \n* TensorFlow 2.3.0 or later\n* tensorflow-hub 0.12.0 or later\n* OpenCV 3.4.2 or later\n* onnxruntime 1.5.2 or later ※ONNX推論を使用する場合のみ\n\n\n# Demo\nデモの実行方法は以下です。\n#### SignlePose\n```bash\npython demo_singlepose.py\n```\n* --device\u003cbr\u003e\nカメラデバイス番号の指定\u003cbr\u003e\nデフォルト：0\n* --file\u003cbr\u003e\n動画ファイルの指定 ※指定時はカメラデバイスより優先\u003cbr\u003e\nデフォルト：指定なし\n* --width\u003cbr\u003e\nカメラキャプチャ時の横幅\u003cbr\u003e\nデフォルト：960\n* --height\u003cbr\u003e\nカメラキャプチャ時の縦幅\u003cbr\u003e\nデフォルト：540\n* --mirror\u003cbr\u003e\nVideoCapture()取り込みデータを左右反転するか否か\u003cbr\u003e\nデフォルト：指定なし\n* --model_select\u003cbr\u003e\n使用モデルの選択\u003cbr\u003e\nSaved Model, ONNX：0→Lightning　1→Thunder\u003cbr\u003e\nTFLite：0→Lightning(float16)　1→Thunder(float16)　2→Lightning(int8)　3→Thunder(int8)\u003cbr\u003e\nデフォルト：0\n* --keypoint_score\u003cbr\u003e\nキーポイント表示の閾値\u003cbr\u003e\nデフォルト：0.4\n\n#### MultiPose\n```bash\npython demo_multipose.py\n```\n* --device\u003cbr\u003e\nカメラデバイス番号の指定\u003cbr\u003e\nデフォルト：0\n* --file\u003cbr\u003e\n動画ファイルの指定 ※指定時はカメラデバイスより優先\u003cbr\u003e\nデフォルト：指定なし\n* --width\u003cbr\u003e\nカメラキャプチャ時の横幅\u003cbr\u003e\nデフォルト：960\n* --height\u003cbr\u003e\nカメラキャプチャ時の縦幅\u003cbr\u003e\nデフォルト：540\n* --mirror\u003cbr\u003e\nVideoCapture()取り込みデータを左右反転するか否か\u003cbr\u003e\nデフォルト：指定なし\n* --keypoint_score\u003cbr\u003e\nキーポイント表示の閾値\u003cbr\u003e\nデフォルト：0.4\n* --bbox_score\u003cbr\u003e\nバウンディングボックス表示の閾値\u003cbr\u003e\nデフォルト：0.2\n\n# Reference\n* [TensorFlow Hub：MoveNet](https://tfhub.dev/s?q=MoveNet)\n\n# Author\n高橋かずひと(https://twitter.com/KzhtTkhs)\n \n# License \nMoveNet-Python-Example is under [Apache-2.0 License](LICENSE).\n\n# License(Movie)\nサンプル動画は[NHKクリエイティブ・ライブラリー](https://www.nhk.or.jp/archives/creative/)の[ストリートバスケット](https://www2.nhk.or.jp/archives/creative/material/view.cgi?m=D0002080169_00000)を使用しています。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fmovenet-python-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuhito00%2Fmovenet-python-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fmovenet-python-example/lists"}