{"id":32657078,"url":"https://github.com/shrikarswami/nicheapple","last_synced_at":"2026-05-06T15:45:31.348Z","repository":{"id":321243276,"uuid":"1085082169","full_name":"ShrikarSwami/NicheApple","owner":"ShrikarSwami","description":"This is a realtime wbcam app that uses Mediapipe and OpenCV to determine the facial experession of the user and reflect that as a niche apple","archived":false,"fork":false,"pushed_at":"2025-10-28T16:00:06.000Z","size":3426,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-28T17:12:06.346Z","etag":null,"topics":["mediapipe","opencv","python"],"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/ShrikarSwami.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-28T15:02:53.000Z","updated_at":"2025-10-28T16:01:10.000Z","dependencies_parsed_at":"2025-10-28T17:22:14.020Z","dependency_job_id":null,"html_url":"https://github.com/ShrikarSwami/NicheApple","commit_stats":null,"previous_names":["shrikarswami/nicheapple"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ShrikarSwami/NicheApple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShrikarSwami%2FNicheApple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShrikarSwami%2FNicheApple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShrikarSwami%2FNicheApple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShrikarSwami%2FNicheApple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShrikarSwami","download_url":"https://codeload.github.com/ShrikarSwami/NicheApple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShrikarSwami%2FNicheApple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281984545,"owners_count":26594302,"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-10-31T02:00:07.401Z","response_time":57,"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","python"],"created_at":"2025-10-31T12:00:35.815Z","updated_at":"2025-10-31T12:01:40.007Z","avatar_url":"https://github.com/ShrikarSwami.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**# NicheApple\n\nFace driven reactions with OpenCV and MediaPipe.  \nShows an Apple face in a second window that reacts to your expressions.\n\n## Setup\npython3.11 -m venv .venv311\nsource .venv311/bin/activate\npip install --upgrade pip\npip install opencv-python mediapipe numpy\n\n## Run\npython apple_mouth_react.py\n\nPress c to recalibrate  \nPress q to quit\n**# NicheApple — Face-Driven Apple Reactions (OpenCV + MediaPipe)\n\n[▶️ Demo Video](https://youtu.be/56XS_4H8a_w)\n\nNicheApple is a tiny real-time face-reaction toy. It uses a webcam feed and MediaPipe Face Mesh to classify a few simple expressions and swaps an on-screen apple sprite accordingly.\n\n## Features\n\n- **Neutral** – baseline calibrated from your face.\n- **Tongue-Out (closed lips ok)** – detects a protruding tongue without requiring a wide open mouth.\n- **Shock** – big mouth + brows/eyes up.\n- **Cry** – mouth corners pulled down with a neutral mouth opening.\n- **One-key Recalibration** – press `c` for a quick neutral recalibration (~2s).\n- **Camera Switching** – press `[` and `]` to cycle cameras at runtime.\n- **Lightweight Logging** – periodic metrics print to the terminal for quick tuning.\n\n\u003e ⚠️ I may add a **“mad/angry”** expression in a future update. For now, please enjoy the current set—and feel free to contact me if you hit any issues.\n\n---\n\n## Quick Start (macOS / Apple Silicon)\n\n### 1) Create and activate a Python 3.11 venv\n```bash\ncd /path/to/NicheApple\n/opt/homebrew/bin/python3.11 -m venv .venv311\nsource .venv311/bin/activate\npython -V   # should show 3.11.x\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrikarswami%2Fnicheapple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrikarswami%2Fnicheapple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrikarswami%2Fnicheapple/lists"}