{"id":17216368,"url":"https://github.com/exhuma/raspicam","last_synced_at":"2025-03-25T13:43:06.480Z","repository":{"id":66736624,"uuid":"100801682","full_name":"exhuma/raspicam","owner":"exhuma","description":"Sandbox to play around with the raspberry and OpenCV","archived":false,"fork":false,"pushed_at":"2024-03-30T10:21:21.000Z","size":27391,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T12:32:51.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/exhuma.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2017-08-19T15:00:37.000Z","updated_at":"2024-03-30T10:20:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc061fea-b951-41f3-bf96-ae884f12a267","html_url":"https://github.com/exhuma/raspicam","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fraspicam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fraspicam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fraspicam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fraspicam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exhuma","download_url":"https://codeload.github.com/exhuma/raspicam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245473750,"owners_count":20621285,"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":[],"created_at":"2024-10-15T03:27:35.252Z","updated_at":"2025-03-25T13:43:06.456Z","avatar_url":"https://github.com/exhuma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"raspicam\n========\n\nPlayground for Raspberry Pi motion detection using Python.\n\n.. figure:: images/debug_frame.jpg\n\n    Output picture in debug mode, showing all pipeline steps.\n\n.. figure:: images/normal_frame.jpg\n\n    Output picture in normal mode, showing the final pipeline output.\n\n\nSome assumptions\n----------------\n\nThe ``bootstrap.bash`` script assumes a clean installation of the Raspian\nimage, but it should work on existing systems as well. Nothing will be deleted.\nIt will only install dependencies and compile the latest version of OpenCV.\n\nAnother assumption is that this will be run on a Raspberry Pi. It is unlikely\nthat such a device has many processes running, which reduces the need for a\nvirtual environment. Hence, all dependencies are installed system-wide. It *is*\npossible to compile OpenCV for Python virtual environments, but it requires a\nbit more manual fiddling around. Which is why I decided to skip the use of a\nvirtual environment.\n\n\nHow to setup\n------------\n\n.. note::\n\n    This project has been tested on:\n    \n    * `Raspbian Jessie Lite \u003chttps://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-07-05/\u003e`_.\n    * `Raspbian Stretch Lite \u003chttps://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-08-17/\u003e`_.\n    \n    For other systems you may need to fix the \"bootstrap\" script.\n\n1. Download the raspian image from the link above\n2. Write the image to the SD-card of the Raspberry Pi\n3. Boot the Raspberry Pi and update the packages::\n\n        sudo aptitude update\n        sudo aptitude upgrade\n\n4. Clone the project into your home folder::\n\n        sudo aptitude install git\n        git clone https://github.com/exhuma/raspicam\n\n5. Run the bootstrap script:\n\n   .. note::\n\n        This step will easily take over an hour to finish but *should* be\n        automated! I **highly** recommend installing ``tmux`` first and run\n        this step inside a tmux session in case you lose network connection.\n\n   ::\n\n       cd raspicam\n       sudo bash bootstrap.bash\n\n6. Run the application::\n\n        cd ~/raspicam\n        python3 project/main.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexhuma%2Fraspicam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexhuma%2Fraspicam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexhuma%2Fraspicam/lists"}