{"id":28400344,"url":"https://github.com/albertovaneckeveld/ai-webcam","last_synced_at":"2026-03-04T20:32:42.565Z","repository":{"id":295695431,"uuid":"990939983","full_name":"AlbertovanEckeveld/ai-webcam","owner":"AlbertovanEckeveld","description":"An AI powered webcam that follow traces movement of a person. ","archived":false,"fork":false,"pushed_at":"2025-05-26T22:54:06.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-27T02:32:47.666Z","etag":null,"topics":["python-opencv","python3","raspberry-pi-camera","raspberry-pi-zero-2-w","webcam"],"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/AlbertovanEckeveld.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-05-26T22:09:51.000Z","updated_at":"2025-05-26T23:10:10.000Z","dependencies_parsed_at":"2025-05-26T23:32:45.846Z","dependency_job_id":null,"html_url":"https://github.com/AlbertovanEckeveld/ai-webcam","commit_stats":null,"previous_names":["albertovaneckeveld/ai-webcam"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlbertovanEckeveld/ai-webcam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertovanEckeveld%2Fai-webcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertovanEckeveld%2Fai-webcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertovanEckeveld%2Fai-webcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertovanEckeveld%2Fai-webcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbertovanEckeveld","download_url":"https://codeload.github.com/AlbertovanEckeveld/ai-webcam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertovanEckeveld%2Fai-webcam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708231,"owners_count":26031974,"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-07T02:00:06.786Z","response_time":59,"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":["python-opencv","python3","raspberry-pi-camera","raspberry-pi-zero-2-w","webcam"],"created_at":"2025-06-01T10:07:39.862Z","updated_at":"2025-10-07T02:24:38.547Z","avatar_url":"https://github.com/AlbertovanEckeveld.png","language":"Python","readme":"# AI powered webcam\n\nWith a raspberry pi zero 2 w, camera module, 2x SG90 servo's, custom 3D printed case and this software you can create an AI powered webcam that follows a person and can autofocus and pan/tilt.\n\n## Hardware\n- Raspberry Pi Zero 2 W\n- Raspberry Pi 5 8MP IMX219 Camera Module\n- 2x SG90 Servo Motors\n- Custom 3D Printed Case (available on [Thingiverse](https://www.thingiverse.com/thing:708819))\n- Micro USB to USB-A male OTG Cable\n\n![Webcam Prototype](img/ai-webcam-frame.jpg)\n\n## Installation\nTo set up the AI powered webcam on your Raspberry Pi (zero 2w), follow these steps:\n\n0. Clone the repository:\n   ```bash\n   git clone https://github.com/AlbertovanEckeveld/ai-webcam.git\n   ```\n1. Install the required packages:\n   ```bash\n   sudo apt install python3-pip python3-dev libatlas-base-dev libopenjp2-7 libtiff5 v4l2-ctlq\n   ```\n   \n2. Install the required Python packages:\n   ```bash\n    pip3 install -r requirements.txt\n    ```\n\n3. Add to config.txt on the boot partition: \n   ```bash\n   dtoverlay=dwc2\n   ```\n4. Add to cmdline.txt after rootwait:\n    ```bash\n    modules-load=dwc2,g_ether rootwait\n    ```\n5. Place usb-webcam.sh script in /usr/bin/ and make it executable\n    ```bash\n    sudo cp usb-webcam.sh /usr/bin/usb-webcam.sh\n    sudo chmod +x /usr/bin/usb-webcam.sh\n    ```\n6. Add the script to crontab to start automatically on boot:\n   ```bash\n   sudo crontab -e\n   ```\n   Add the following line:\n   ```bash\n   @reboot /usr/bin/usb-webcam.sh\n   @reboot python3 main.py\n   ```\n   \n7. Reboot the Raspberry Pi:\n   ```bash\n    sudo reboot now\n    ```\n   \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertovaneckeveld%2Fai-webcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertovaneckeveld%2Fai-webcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertovaneckeveld%2Fai-webcam/lists"}