{"id":27129196,"url":"https://github.com/gotz1480/py-security-camera","last_synced_at":"2025-04-07T19:22:09.690Z","repository":{"id":125834468,"uuid":"419020633","full_name":"gotz1480/py-security-camera","owner":"gotz1480","description":"A simple security camera written in Python which starts recording when a face is detected and warns the user by e-mail.","archived":false,"fork":false,"pushed_at":"2021-10-19T17:42:52.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T13:13:21.415Z","etag":null,"topics":["opencv","opencv-python","opencv2","opencv2-python","security-cam","security-camera","security-camera-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gotz1480.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-10-19T17:11:54.000Z","updated_at":"2023-06-08T20:46:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"52f43596-cf75-4ab8-a9a0-ef82a86c53d2","html_url":"https://github.com/gotz1480/py-security-camera","commit_stats":null,"previous_names":["gotz1480/py-security-camera"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotz1480%2Fpy-security-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotz1480%2Fpy-security-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotz1480%2Fpy-security-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotz1480%2Fpy-security-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotz1480","download_url":"https://codeload.github.com/gotz1480/py-security-camera/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713394,"owners_count":20983703,"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","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":["opencv","opencv-python","opencv2","opencv2-python","security-cam","security-camera","security-camera-python"],"created_at":"2025-04-07T19:22:09.104Z","updated_at":"2025-04-07T19:22:09.636Z","avatar_url":"https://github.com/gotz1480.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-security-camera\nA simple security camera written in Python which starts recording when a face is detected and warns the user by e-mail using the Python library OpenCV.\n\n## Installation and settings\nInstall requirements:\n  - ```pip install -r requirements.txt``` (Windows)\n  - ```pip3 install -r requirements.txt``` (Linux/macOS)\n\nConfigure settings:\n  - Set ```EMAIL_USER``` and ```EMAIL_PASSWORD``` as system variables\n  - Substitute ```sender@email.com```, ```recipient@email.com``` and ```smtp.email.com``` in the ```py-security-camera.py``` file with your sender and destinatary e-mails and your e-mail provider. Make sure to use SMTPS (secured SMTP).\n\n## Usage\nRun the program with:\n - ```python py-security-camera.py``` (Windows)\n - ```python3 py-security-camera.py``` (Linux/macOS)\n\n When the program is running, the webcam is turned on and cannot be used by other applications. It starts recording whenever a face is detected by the camera and sends an e-mail warning to the preconfigured e-mail setting. \n \n It stops recording 5 seconds after no face is being detected on screen. This 5 seconds setting can be modified by altering the variable ```SECONDS_TO_RECORD_AFTER_DETECTION```.\n \n The application can be exited by pressing ```q```.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotz1480%2Fpy-security-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotz1480%2Fpy-security-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotz1480%2Fpy-security-camera/lists"}