{"id":15197019,"url":"https://github.com/alfed2/motion-detect","last_synced_at":"2026-03-07T06:02:05.611Z","repository":{"id":199234661,"uuid":"702424501","full_name":"Alfed2/motion-detect","owner":"Alfed2","description":"Raspberry Pi motion detector","archived":false,"fork":false,"pushed_at":"2023-10-18T16:06:31.000Z","size":5759,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T21:13:20.819Z","etag":null,"topics":["h264-encoder","mmal","motion-detection","raspberry-camera","raspberry-pi","raspberry-pi-camera","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Alfed2.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}},"created_at":"2023-10-09T09:41:43.000Z","updated_at":"2023-10-13T18:44:17.000Z","dependencies_parsed_at":"2025-01-13T08:10:41.249Z","dependency_job_id":"f3a3e626-2c09-4953-942a-f115a0908a63","html_url":"https://github.com/Alfed2/motion-detect","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":0.09677419354838712,"last_synced_commit":"495c81c9824d5371cbce84e07044abc0538316a5"},"previous_names":["alfed2/motion-detect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfed2%2Fmotion-detect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfed2%2Fmotion-detect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfed2%2Fmotion-detect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfed2%2Fmotion-detect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alfed2","download_url":"https://codeload.github.com/Alfed2/motion-detect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241570921,"owners_count":19984002,"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":["h264-encoder","mmal","motion-detection","raspberry-camera","raspberry-pi","raspberry-pi-camera","raspberrypi"],"created_at":"2024-09-28T00:23:09.741Z","updated_at":"2026-03-07T06:02:00.562Z","avatar_url":"https://github.com/Alfed2.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cb\u003eRaspberry Pi motion detector\u003cbr/\u003e\u003c/b\u003e\nmain example of working with MMAL -\u003e https://github.com/tasanakorn/rpi-mmal-demo.git\u003cbr/\u003e\n\n\u003cb\u003eDevice: \u003c/b\u003e \u003cbr/\u003e\n\u0026nbsp;  Raspberry Pi 2 Model B Rev 1.1\u003cbr/\u003e\n\u0026nbsp;  Raspberry Pi Camera Module\u003cbr/\u003e\n\u0026nbsp;  3,5” RPi LCD 480×320\u003cbr/\u003e\n\u003cimg src=\"https://github.com/Alfed2/motion-detect/blob/main/images/device.jpg\" width=\"300\"\u003e \n\n\u003cb\u003e FPS \u003c/b\u003e \u003cbr/\u003e\n\u0026nbsp;  motion-h264-detect-opencv  ~ max 4 FPS \u003cbr/\u003e\n\u0026nbsp;  motion-h264-detect-vector  ~ max 29 FPS\u003cbr/\u003e\n\u0026nbsp;  motion-final  ~ 15 FPS\u003cbr/\u003e\n\n\u003cb\u003eExamples ( directory - 'images' ) :\u003c/b\u003e\u003cbr/\u003e\ncreates files in the directory(variable \"DirSave\"):\u003cbr/\u003e\n\u0026nbsp;  *-f.jpg, *-f-small.jpg   - first frame motion detect\u003cbr/\u003e\n\u0026nbsp;  *-s.jpg, *-s-small.jpg   - frame after ~ 1.5sec from the motion detect\u003cbr/\u003e\n\u0026nbsp;  *.mp4 - Video\u003cbr/\u003e\n\u0026nbsp;  \\* -  yyyymmdd_hhmmss\u003cbr/\u003e\n\n\u003cbr/\u003e\n\u003cb\u003eStart the alert in ~1.5 sec:\u003c/b\u003e\u003cbr/\u003e\n\u0026nbsp; running script(send.sh), parameter($1): \"varable Dirsave\"+20231009_142258-s.jpg\u003cbr/\u003e\n\u0026nbsp; running script(sendvideo.sh) after video file recording is complete, parameter($1): \"varable Dirsave\"+20231009_142258.mp4\u003cbr/\u003e\n\n\nBuild\n-----\n0. Install pre-required packages\n   \n    libopencv-dev ffmpeg ffmpeg-devel\n\n1. Place  Raspberry Pi userland project in /home/pi/src/raspberrypi/userland\n    \n    $ mkdir -p /home/pi/src/raspberrypi\n    \n    $ cd /home/pi/src/raspberrypi\n        \n    $ git clone --depth 1 https://github.com/raspberrypi/userland.git\n\n\n2. Build pre-required libraries\n    \n    $ make -C /opt/vc/src/hello_pi/libs/vgfont\n    \n\n3. Build project \n\n    $ mkdir build\n    \n    $ cd build\n    \n    $ cmake ../\n    \n    $ make \n    \n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfed2%2Fmotion-detect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfed2%2Fmotion-detect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfed2%2Fmotion-detect/lists"}