motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.83k stars 898 forks source link

MotioneyesOS use pan tilt #1821

Open dimgod59 opened 5 years ago

dimgod59 commented 5 years ago

Hi, it’s possible to add a pan tilt systèm in my rpi for a MotionEyeOS ? Just plug and Play ?

cpapplefamily commented 5 years ago

I might be nice to have these basic scripts included and simply require an enable bit set in a config file. The basic scrips maybe mapped to default GPIO pins

martin1957 commented 4 years ago

Hi, I am using MotioneyeeOs on a Pi-zero which is attached to a pan-tilt head. This head is controlled by a ESP32 which also provides an AP-server for the Pi-zero to transfer pics and movies because I use it for animals/birds observation in nature. Everything so far is working nicely. Now I would like to implement a follow-motion function for the head controller. My idea is to have GPIO outputs set from the Pi depending on which pic area the (most) motion is detected (upper third, left third... etc.) to be able to process this in the ESP and move the head correspondingly. I think four GPIO pins for the side areas and one four the center indication would be enough for a nice control. I saw already that there are some nice functions in motion: https://motion-project.github.io/motion_config.html#area_detect Does anyone have an idea which could help to implement this function ?