{"id":24305709,"url":"https://github.com/srvaroa/ai-camera","last_synced_at":"2026-04-20T15:05:40.798Z","repository":{"id":272465972,"uuid":"915370259","full_name":"srvaroa/ai-camera","owner":"srvaroa","description":"People detection and notifications based on the Raspberry Pi + AI Camera","archived":false,"fork":false,"pushed_at":"2025-02-03T09:12:42.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T16:51:21.124Z","etag":null,"topics":["ai","rasbperry-pi","raspberry-pi-camera","vision-ai"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srvaroa.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":"srvaroa"}},"created_at":"2025-01-11T17:08:23.000Z","updated_at":"2025-02-03T09:12:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"1162aa6e-9bff-443c-ad56-e57ff30904e3","html_url":"https://github.com/srvaroa/ai-camera","commit_stats":null,"previous_names":["srvaroa/ai-camera"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srvaroa/ai-camera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fai-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fai-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fai-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fai-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srvaroa","download_url":"https://codeload.github.com/srvaroa/ai-camera/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fai-camera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32052567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ai","rasbperry-pi","raspberry-pi-camera","vision-ai"],"created_at":"2025-01-17T02:15:32.819Z","updated_at":"2026-04-20T15:05:40.769Z","avatar_url":"https://github.com/srvaroa.png","language":"Python","funding_links":["https://github.com/sponsors/srvaroa"],"categories":[],"sub_categories":[],"readme":"# People detection and notifications based on the Raspberry Pi + AI Camera (Sony IMX500)\n\nThis project is a **proof of concept** based on the [Raspberry Pi AI\ncamera](https://www.raspberrypi.com/documentation/accessories/ai-camera.html),\nequipped with the Sony IMX500 imaging sensor, which allows running\nvision AI models even with very limited hardware (e.g. the project has\nbeen tested on a Raspberry Pi 3 model B).\n\nFor testing purposes, the application can also run in a Linux laptop\nwith a standard webcam. In this configuration, it uses a light-weight,\npre-trained SSD MobileNetV2 model on CPU.\n\n## Disclaimer\n\nThis is an experiment, for fun. Expect rough edges and opinionated\nchoices. For example, the only notification target supported in this\nversion is Slack just because it suited my needs. In any case, it's\ntrivial to add support for other sensors, other notification targets\n(e.g. s3 bucket, email, etc.)\n\n## Requirements\n\n- **Python 3.10 or higher**\n- **Raspberry Pi hardware**:\n  - Raspberry Pi (ideally 4 or 5, I've tested successfully with 3B)\n  - IMX500 AI camera\n\n## Setup\n\n### 1. Hardware\n\nTo set up the Raspberry Pi AI camera, refer to the [official documentation](https://www.raspberrypi.com/documentation/accessories/ai-camera.html#getting-started).\n\nFor testing, any Linux system with a webcam should do it (including a Raspberry\nPi, although expect it to be slow if the model runs on the CPU)\n\n### 2. Prepare the environment\n\n    pip install -r requirements.txt\n\n### 3. Run the application\n\nTo report detections to console, run the command below, selecting webcam\nor imx500 as the desired sensor:\n\n    python3 aimonitor.py --sensor=[webcam|imx500] --console\n\nTo report to a Slack channel\n\n    python3 aimonitor.py --sensor=[webcam|imx500] --slack=\u003cSLACK_CHANNEL_ID\u003e\n\nNote that the Slack notifier expects a [bot\ntoken](https://api.slack.com/tutorials/tracks/getting-a-token) in a\n`SLACK_TOKEN` environment variable.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvaroa%2Fai-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrvaroa%2Fai-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvaroa%2Fai-camera/lists"}