OpenCV Turret w/ Arduino, Python, Pytorch

This project makes use of an Arduino, a Nerf gun, some servos, a webcam, and a computer with a GPU. The webcam input is fed into the computer GPU which is running a machine learning model to detect people. This position data is converted into radians for the servos and fed into the Arduino. Then the servo for the Nerf gun trigger is activated and fires a Nerf bullet.

The motivation was to create an interesting project with OpenCV and servo motors to increase my knowledge of OpenCV. It also added an opportunity for me to implement machine learning with actual robotics rather than all software based.

In the future, I plan to make 3d printed outlines so the building of my project is easier and others can learn the same things I did.