{"id":15627929,"url":"https://github.com/rizwanmunawar/yolov7-pose-estimation","last_synced_at":"2025-05-16T05:04:05.972Z","repository":{"id":56860003,"uuid":"525242829","full_name":"RizwanMunawar/yolov7-pose-estimation","owner":"RizwanMunawar","description":"YOLOv7 Pose estimation using OpenCV, PyTorch","archived":false,"fork":false,"pushed_at":"2025-02-09T12:05:20.000Z","size":3828,"stargazers_count":366,"open_issues_count":11,"forks_count":86,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-16T05:02:41.896Z","etag":null,"topics":["medium-article","opencv","opencv-python","pose-estimation","yolov7"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RizwanMunawar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"muhammadrizwanm","thanks_dev":null,"custom":null}},"created_at":"2022-08-16T05:29:26.000Z","updated_at":"2025-05-11T08:20:09.000Z","dependencies_parsed_at":"2024-08-02T01:18:38.721Z","dependency_job_id":"e2e20869-8f0a-449e-a03b-642ec5e645f4","html_url":"https://github.com/RizwanMunawar/yolov7-pose-estimation","commit_stats":{"total_commits":48,"total_committers":3,"mean_commits":16.0,"dds":0.08333333333333337,"last_synced_commit":"1903597504805ae540c20b2fed144459e55af2f7"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fyolov7-pose-estimation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fyolov7-pose-estimation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fyolov7-pose-estimation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fyolov7-pose-estimation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RizwanMunawar","download_url":"https://codeload.github.com/RizwanMunawar/yolov7-pose-estimation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471062,"owners_count":22076585,"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":["medium-article","opencv","opencv-python","pose-estimation","yolov7"],"created_at":"2024-10-03T10:20:01.167Z","updated_at":"2025-05-16T05:04:05.920Z","avatar_url":"https://github.com/RizwanMunawar.png","language":"Python","funding_links":["https://buymeacoffee.com/muhammadrizwanm"],"categories":[],"sub_categories":[],"readme":"# yolov7-pose-estimation\n\n### Steps to Run Code\n\n- **Google Colab Users**: First, mount the drive:\n  ```python\n  from google.colab import drive\n  drive.mount(\"/content/drive\")\n  ```\n- **Clone the repository**:\n  ```bash\n  git clone https://github.com/RizwanMunawar/yolov7-pose-estimation.git\n  ```\n- **Go to the cloned folder**:\n  ```bash\n  cd yolov7-pose-estimation\n  ```\n- **Create a virtual environment** (recommended):\n  ```bash\n  # Linux\n  python3 -m venv psestenv\n  source psestenv/bin/activate\n\n  # Windows\n  python3 -m venv psestenv\n  cd psestenv/Scripts\n  activate\n  ```\n- **Upgrade pip**:\n  ```bash\n  pip install --upgrade pip\n  ```\n- **Install requirements**:\n  ```bash\n  pip install -r requirements.txt\n  ```\n- **Download YOLOv7 weights** and move to the working directory:\n  [yolov7-w6-pose.pt](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-w6-pose.pt)\n\n- **Run the code**:\n  ```bash\n  python pose-estimate.py\n\n  # Options:\n  python pose-estimate.py --source \"your-video.mp4\" --device cpu  # For CPU\n  python pose-estimate.py --source 0 --view-img  # For Webcam\n  python pose-estimate.py --source \"rtsp://your-ip\" --device 0 --view-img  # For LiveStream\n  ```\n\n- Output: The processed video will be saved as **your-file-keypoint.mp4**\n\n### RESULTS\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eFootball Match\u003c/td\u003e\n    \u003ctd\u003eCricket Match\u003c/td\u003e\n    \u003ctd\u003e FPS \u0026 Time Comparison\u003c/td\u003e\n    \u003ctd\u003eLive Stream\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/62513924/185089411-3f9ae391-ec23-4ca2-aba0-abf3c9991050.png\" width=300\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/62513924/185228806-4ba62e7a-12ef-4965-a44a-6b5ba9a3bf28.png\" width=300\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/62513924/185324844-20ce3d48-f5f5-4a17-8b62-9b51ab02a716.png\" width=300\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/62513924/185587159-6643529c-7840-48d6-ae1d-2d7c27d417ab.png\" width=300\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n### References\n- YOLOv7 Repo: https://github.com/WongKinYiu/yolov7\n- Ultralytics: https://github.com/ultralytics/yolov5\n\n### 📖 Articles\n- [YOLOv7 Training Guide](https://medium.com/augmented-startups/yolov7-training-on-custom-data-b86d23e6623)\n- [Computer Vision Roadmap](https://medium.com/augmented-startups/roadmap-for-computer-vision-engineer-45167b94518c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizwanmunawar%2Fyolov7-pose-estimation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizwanmunawar%2Fyolov7-pose-estimation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizwanmunawar%2Fyolov7-pose-estimation/lists"}