decentropy / SentryTurret

A robot to visually track and target an object. (RaspberryPi2 + RaspiCam + OpenCV + Dlib + servos/driver)
54 stars 40 forks source link

open-cv #6

Open clarbra opened 7 years ago

clarbra commented 7 years ago

I've tried apt-get and pip for open-cv and it cant find anything. Any idea on how to get this installed?

T0T3NK0PF commented 6 years ago

I have struggled with this too and it turns out that OpenCV needs to be compiled from source. I did it with OpenCV3.3 BUT, the code here hasn't been updated for years.. and its NOT compatible with OpenCV3. so I recommend trying to compile OpenCV2 instead.

I managed to get it working after with OpenCV.3.3 updating some of the code however its buggy. The facial tracking doesn't work very well and Dlib and is extremely slow. The motors looses functionality after initial detection. The detection on object also doesn't reset or update and looses the target. so A lot more work is needed.