War, huh, what is it good for? Absolutely nothing, except as an excuse to build a Raspberry Pi powered sentry turret that will track and fire upon your enemies. That’s what [Matt Desmaris] decided to do, and he has released the full details of his build.
It lacks the polished elegance of most military hardware, but what do you expect of a quick and dirty hack? It’s not shiny or ominous, but it has that killer motion-tracking feature. [Matt] is using OpenCV to detect movement from a USB webcam, two servos to pan and tilt the camera and gun and a small relay to pull the trigger. Manual control over the Interwebs is also available.
We’ve seen lots of similar builds using weaponry such as rubber bands and Nerf guns, but this one is a great start if you are interested in seeing how you can tie together tools like OpenCV and servos to create a camera that actively tracks movement.


http://hackaday.com/2015/10/03/raspb...f-all-mankind/