mugurdi
Posts: 68
Joined: Tue Oct 14, 2014 3:49 am

I can not stream and motion detection simultaneously

Mon Mar 12, 2018 6:53 am

Hello,
I have two programs in python that work well for me:
1) motion.py
python based motion detection based on
http://geek-university.com/raspberry-pi ... -detector/

2) stream.py
from
http://picamera.readthedocs.io/en/lates ... -streaming
I can get stream at http://192.168.1.19:8000

But I can not execute both at the same time. I'm lost.

User avatar
pi-anazazi
Posts: 789
Joined: Fri Feb 13, 2015 9:22 pm
Location: EU

Re: I can not stream and motion detection simultaneously

Mon Mar 12, 2018 8:33 am

Install and configure the package motion and you can do streaming and motion detection (stills or vids or both) at the same time....
Kind regards

anazazi

mugurdi
Posts: 68
Joined: Tue Oct 14, 2014 3:49 am

Re: I can not stream and motion detection simultaneously

Tue Mar 13, 2018 4:08 am

Thank you for your advice.
The advantage that I see these two scripts that I mentioned above is that they are very simple for me (I am not an expert in python) and I can easily adapt them to my needs.

Return to “General discussion”