Sentry turrets based on the Raspberry Pi or Arduino are a popular type of maker project, and this one is worth looking at for its impressive design and use of a new platform called n.io.
The project’s physical components consist of a wooden frame which holds a motorised Nerf gun clone. The frame is moved by two motors which are connected to a Raspberry Pi, and a USB webcam sits on top of the barrel.
This webcam captures imagery which is sent to a MacBook, which then uses OpenCV and Dlib for facial recognition.
Once the right targets are picked up it sends movement instructions to the Pi which then tracks and fires on a target. It looks like the turret aims to shoot people in the torso, so there’s no poked out eyes.
Instances of n.io are running on both the MacBook and the Pi, and we assume it’s acting as an intermediary for all the systems and software.
Nerf fans reading this may also point out that the toy gun used here is not an official Nerf product. It’s known as the”Adventure Force Enforcer Belt Blaster” and it’s simply been mounted upside down in the wooden frame.
As this is essentially an ad for n.io, they haven’t provided a full build log as of yet. You can watch the video below for more info, but if you’d like to attempt something similar we suggest you take a look on Instructables or Hackster.io for similar ideas.
[Via Hackster.io Blog]