{"id":31565499,"url":"https://github.com/daslearning-org/ai-surveillance","last_synced_at":"2026-04-19T02:01:27.060Z","repository":{"id":318004943,"uuid":"1065203853","full_name":"daslearning-org/ai-surveillance","owner":"daslearning-org","description":"An Offline AI powered android app which can detect any human using the phone camera and send a SMS alert to the owner.","archived":false,"fork":false,"pushed_at":"2025-10-04T12:32:54.000Z","size":1135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T13:28:25.580Z","etag":null,"topics":["ai-surveillance","android","artificial-intelligence","cctv","cross-platform","human-detection","kivy","kivymd","machine-learning","open-source","python"],"latest_commit_sha":null,"homepage":"https://daslearning.in/apps","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daslearning-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T08:56:55.000Z","updated_at":"2025-10-04T12:30:19.000Z","dependencies_parsed_at":"2025-10-04T13:28:29.389Z","dependency_job_id":"45a52080-ac5a-4a86-9d55-8e7ecee9d104","html_url":"https://github.com/daslearning-org/ai-surveillance","commit_stats":null,"previous_names":["daslearning-org/ai-surveillance"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/daslearning-org/ai-surveillance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daslearning-org%2Fai-surveillance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daslearning-org%2Fai-surveillance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daslearning-org%2Fai-surveillance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daslearning-org%2Fai-surveillance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daslearning-org","download_url":"https://codeload.github.com/daslearning-org/ai-surveillance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daslearning-org%2Fai-surveillance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["ai-surveillance","android","artificial-intelligence","cctv","cross-platform","human-detection","kivy","kivymd","machine-learning","open-source","python"],"created_at":"2025-10-05T07:08:44.121Z","updated_at":"2026-04-19T02:01:27.034Z","avatar_url":"https://github.com/daslearning-org.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🕵🏻‍♂️ AI CCTV 📹\nThis cross-platform, offline app uses `OnnxRuntime` (Machine Learning) to detect any `HUMAN` in the `Camera` frame in a loop and saves the file in app specific path if it detects, else it doesn't save the frame. It can also send a `SMS` alert to a given number if you are on `Android`.\n\n\u003e This project is buid on `kivy`, `kivymd` and uses `onnxruntime`, `numpy`, `opencv` etc. to perform the tasks. Our approach is always `Offline first` and `Local AI` (you only need internet for the first time to downlaod the tiny `onnx` model, app will prompt you). This project may have bugs \u0026 please let us know if you face any.\n\n### Features\n1. Detects if there is any human in a frame for a second (checks five frames in a second). Uses Artificial Intelligence Locally without exposing anything to the ineternet.\n\n2. Sends sms alert to given number if detection is successful and depends on the frequency (minimum frequency is 1min, so that it doen't send too many messages, default is 10min). Available only on `Android`.\n    \u003e But, it will save the frames irrespective of sms frequency.\n\n3. `No Ads`, completely `open-source` (free).\n4. No `trackers`, no `data collection` etc. Actually you own your data \u0026 your app.\n\n## 📽️ Demo\nYou can click on the below Image or this [Youtube Link](https://www.youtube.com/watch?v=Sbc2sClECdk) to see the demo. Please let me know in the comments, how do you feel about this App. \u003cbr\u003e\n[![AI-CCTV](./docs/images/thumb.png)](https://www.youtube.com/watch?v=Sbc2sClECdk)\n\n## 🖧 Our Scematic Architecture\nTo be added...\n\n## 🧑‍💻 Quickstart Guide\n\n### 📱 Download \u0026 Run the Android App\nYou can check the [Releases](https://github.com/daslearning-org/ai-surveillance/tags) and downlaod the latest version of the android app on your phone.\n\n#### Requirements\n1. Minimum android verion: `9`\n\n### 💻 Download \u0026 Run the Windows or Linux App\nTo be built later.\n\n### 🐍 Run with Python\n\n1. Clone the repo\n```bash\ngit clone https://github.com/daslearning-org/ai-surveillance.git\n```\n\n2. Run the application\n```bash\ncd ai-surveillance/app/\npip install -r requirements.txt # virtual environment is recommended\npython main.py\n```\n\n## 🦾 Build your own App\nThe Kivy project has a great tool named [Buildozer](https://buildozer.readthedocs.io/en/latest/) which can make mobile apps for `Android` \u0026 `iOS`\n\n### 📱 Build Android App\nA Linux environment is recommended for the app development. If you are on Windows, you may use `WSL` or any `Virtual Machine`. As of now the `buildozer` tool works on Python version `3.11` at maximum. I am going to use Python `3.11`\n\n```bash\n# add the python repository\nsudo add-apt-repository ppa:deadsnakes/ppa\nsudo apt update\n\n# install all dependencies.\nsudo apt install -y ant autoconf automake ccache cmake g++ gcc libbz2-dev libffi-dev libltdl-dev libtool libssl-dev lbzip2 make ninja-build openjdk-17-jdk patch patchelf pkg-config protobuf-compiler python3.11 python3.11-venv python3.11-dev\n\n# optionally we can default to python 3.11\nsudo ln -sf /usr/bin/python3.11 /usr/bin/python3\nsudo ln -sf /usr/bin/python3.11 /usr/bin/python\nsudo ln -sf /usr/bin/python3.11-config /usr/bin/python3-config\n\n# optionally you may check the java installation with below commands\njava -version\njavac -version\n\n# install python modules\ngit clone https://github.com/daslearning-org/ai-surveillance.git\ncd ai-surveillance/app/\npython3.11 -m venv .env # create python virtual environment\nsource .env/bin/activate\npip install -r req_android.txt\n\n# build the android apk\nbuildozer android debug # this may take a good amount of time for the first time \u0026 will generate the apk in the bin directory\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaslearning-org%2Fai-surveillance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaslearning-org%2Fai-surveillance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaslearning-org%2Fai-surveillance/lists"}