SentryTurret icon indicating copy to clipboard operation
SentryTurret copied to clipboard

Possible to disable all code except the object/motion tracking via config.ini ?

Open saket424 opened this issue 9 years ago • 1 comments

Just came across this interesting project last night. Thanks for this code base involving opencv and dlib. I assume it works with python3 also.

Since I currently have access only to a pi3+picam and not any of the servo/turret stuff, I was wondering if you could give me a quick primer on how to use this code base for doing object tracting and motion tracking and disable/ignore the rest of the functionality. If there is an easy method that you can think of.

saket424 avatar Jun 08 '16 11:06 saket424

Sure you can, as mentioned in the first line " you may try it out on a desktop with a webcam (after installing required python packages)."

So, for just the camera/targeting test...just turn off things in the config: usebluetooth = 0 useturret = 0 display = 1 quiet = 1

If you've got all the requirements installed, just run: $ python main.py

You might see some warning junk print out (I get this with the picam)... but after that, you can type 'h' for help & try it out.

Basics are space(' ') to reset, and t/1/2/3 for various targetting methods... and 'q' for quit.

Let me know if it works for you.

decentropy avatar Jun 10 '16 06:06 decentropy