Go to advanced search

by piabpiab
Mon Jun 10, 2013 10:57 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 262885

Re: Lightweight python motion detection

This is a really good bit of code! I have run into a problem when I stop the code (e.g. to make an adjustment to sensitivity) and then try to restart..I get the following error: Traceback (most recent call last): File "motiondetect.py", line 69, in <module> image1, buffer1 = captureTestImage() File...
by piabpiab
Fri Jun 07, 2013 11:31 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 262885

Re: Lightweight python motion detection

You can modify motiondetect script to record video instead for a specific time duration per raspivid parameters. Just be aware that these files are in H264 format and as such cannot be viewed directly with a media player. They can be streamed to another computer for viewing. See last part of this v...
by piabpiab
Wed Jun 05, 2013 11:42 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 262885

Re: Lightweight python motion detection

Thanks brainflakes - just what I was after.
I'm going to try and get this working with the dropbox_uploader.sh script.
I'm hoping it'll be easy to make the motion record a video clip instead of a higher-res photo (just change the subprocess.call from raspistill to raspivid?)
Door CCTV here I come! :D

Go to advanced search