-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check motion in just one area of screen #3
Comments
Currently program does not have this feature since it was made to be a simple demo. Scanning for motion in a specific zone (crop area) can be added to function scan_motion This could be altered to create scan a crop area withing the full image Eg
modify scan_motion function per code below
The crop settings could also be passed to the scan_motion function. and the crop variables added to settings.py If I get a change I will look at adding this feature. Let me know if you implement this Regards |
Hi Claude, perfect, this seems to be a nice little workaround for testing purposes :) I will try to play with it. Thanks again for great advice. |
Sounds like you are familiar with python. I would implement your changes if
you send me a github push
Claude ..
…On Sun, Feb 3, 2019 at 10:48 AM pete111 ***@***.***> wrote:
Hi Claude, perfect, this seems to be a nice little workaround for testing
purposes :) I will try to play with it. Thanks again for great advice.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFr1ZJldI_gGHaCEAB5__heX2P_CypuJks5vJxLpgaJpZM4agFEg>
.
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
|
Yes, I am a bit familiar with python but unfortunately not familiar with github :) |
Please note I have updated the code so it will work correctly.
Please note that the streamWidth and streamHeight are already smaller than the full size image and will be in the middle area of the full image width and height so this cropping may not give you what you want. Eg the default full size image taken is 1280x720 while the motion detection stream size default is 128x80. Therefore the motion detection stream is already a small subset area of the final full size image. I recommend you position the camera so the center of the final full mage is pointed at the motion area of interest where the default 128x80 pixel stream image size is located Regards Claude .... |
Hi Claude, |
Hello, in fact this is not issue, it is just question :) I would like to be able to define just rectangle area where motion detection is enabled. E.g. by what I mean is on this picture http://answers.opencv.org/upfiles/1360702661403047.jpg. What is the easiest way to achieve this please? (it can be hard coded in picamera-motion.py, for now I am just experimenting with your great library) Many thanks!
The text was updated successfully, but these errors were encountered: