Face-Tracking Nerf-Gun Turret 

June 2023: Using a webcam feed, a face-tracking algorithm aims and fires a nerf gun at a detected face.  The turret assembly, shown here, was designed using Fusion 360 and printed using PLA and FDM Printer.  Python 3.1 using the OpenCV library interfaces the webcam and enables frame-by-frame facial recognition.  The C++-based Arduino code implements a PID controller for the turret motors, described below.  Turret swivel is achieved by a stepper motor and a geared turret ring.  A servo-motor and geared assembly enables tilt control.