{"id":28762212,"url":"https://github.com/04092000f/pushup-counter","last_synced_at":"2026-05-04T21:34:07.605Z","repository":{"id":298461699,"uuid":"1000043995","full_name":"04092000f/pushup-counter","owner":"04092000f","description":"pushup counter is an app which counts the total pushups of a person using mediapipe","archived":false,"fork":false,"pushed_at":"2025-06-11T07:42:47.000Z","size":15496,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T08:36:05.588Z","etag":null,"topics":["computer-vision","mediapipe","opencv","pose-estimation","pushup-counter","pushups","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/04092000f.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-06-11T07:21:39.000Z","updated_at":"2025-06-11T07:44:53.000Z","dependencies_parsed_at":"2025-06-11T08:48:14.760Z","dependency_job_id":null,"html_url":"https://github.com/04092000f/pushup-counter","commit_stats":null,"previous_names":["04092000f/pushup-counter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/04092000f/pushup-counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04092000f%2Fpushup-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04092000f%2Fpushup-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04092000f%2Fpushup-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04092000f%2Fpushup-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/04092000f","download_url":"https://codeload.github.com/04092000f/pushup-counter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04092000f%2Fpushup-counter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32626203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","mediapipe","opencv","pose-estimation","pushup-counter","pushups","python3"],"created_at":"2025-06-17T08:07:28.678Z","updated_at":"2026-05-04T21:34:07.590Z","avatar_url":"https://github.com/04092000f.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💪 Push-Up Counter App using Streamlit\n\nThis Streamlit app automatically detects and counts push-ups from an uploaded video using **MediaPipe Pose estimation** and **OpenCV**. It also overlays angles and count information on the video and exports the result as an `.mp4` (H.264) file for download.\n\n---\n\n## 📦 Features\n\n- 📤 Upload any push-up video (`.mp4`, `.mov`, `.avi`)\n- 🧠 Detect push-up motion using elbow joint angles\n- 🔁 Show real-time progress and estimated time remaining\n- 📊 Overlay count and angle in top-right of video\n- 🎥 Export processed video in **H.264 (.mp4)** format\n- ⬇️ Download final video with overlays\n\n---\n\n## 📸 Example Output\n\n![Result](result.gif)\n\n---\n\n## 🚀 Getting Started\n\n### 1. Clone the Repo\n\n```bash\ngit clone https://github.com/yourusername/pushup-counter-app.git\ncd pushup-counter-app\n```\n\n### 2. Install Requirements\n\n```bash\npip install -r requirements.txt\n```\n\n### 3. Run the App\n\n```bash\nstreamlit run app.py\n```\n\n### 📁 File Structure\n\n```bash\npushup-counter-app/\n├── app.py               # Main Streamlit app\n├── requirements.txt     # Dependencies\n├── result.gif           # Output GIF\n└── README.md            # Project readme\n```\n\n## ✅ Requirements\n\n* Python 3.8+\n\n* streamlit\n\n* opencv-contrib-python\n\n* mediapipe\n\n* numpy\n\n\n## ⚙️ How it Works\n1. Extracts pose landmarks using `MediaPipe`.\n\n2. Calculates elbow joint angle.\n\n3. Detects push-up motion based on elbow angle range.\n\n4. Overlays count and angle on each video frame.\n\n5. Exports a final video using OpenCV's `VideoWriter`.\n\n\n## 📥 Output\n* `pushups_result.mp4` (available via download button in the app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F04092000f%2Fpushup-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F04092000f%2Fpushup-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F04092000f%2Fpushup-counter/lists"}