Skip to content
Projects

anjrew/Autonomous-Nerf-Turret

View on GitHub

anjrew/Autonomous-Nerf-Turret has 31 GitHub stars and 5 forks. GitHot measured +1 stars in 24 hours and +2 in 7 days. Last checked 2026-11-11 20:16 UTC. Last push 2026-10-12.

How these counts are measured

A project dedicated to creating a fully autonomous, AI-powered Nerf gun turret ♜. The turret is equipped with a camera, allowing it to detect and track human targets. The code includes computer vision algorithms for object detection and tracking.

31 stars5 forks +1 in 24h

Measured star growth

in 24h
+1
in 7 days
+2
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Autonomous Nerf Turret

A project dedicated to creating a fully autonomous, AI-powered Nerf gun. The turret is equipped with a camera, allowing it to detect and track human targets.

Getting started

This project was built on MacOS on top of these main dependencies:

If these are installed then run the following command in the project root to get the rest of the dependencies and setup the virtual environment:

source bin/init.sh

When coming back to the project to reactivate the environment run the following in the project root:

source bin/activate.sh

Important info

The files and folders in this project depend on each other and this means that the folder structure is important. If any folder structure or file is changed it could break some functionality.

Project structure

This project is driven by domain where each domain component lies in a folder in the 'components' directory. Each sub domain folder contains files that relate to the part of the project associated with that domain.

For example:

  • The camera_vision folder contains files related to the computer vision tasks associated with face tracking.
  • The arduino folder contains files related to the task of moving and controlling the stepper motor through the Arduino

Versions

  • 1 - Stepperonline Nema 17 Stepper Motor, 45 Ncm, 1.5 A, 12 V, 39 mm, 4-Wire 1.8 Deg Stepper Motor with 1 m Wire for 3D Printers:
    • When firing under full load with stepper servo and gun the circuit pulls around 1.8A when running and 2.1A when starting up
    • Of this the gun motors take up around 1.1A at full speed and 1.9A when starting up
    • On stand still the circuit uses 0.08A

Good combination configurations

HEADLESS Skip Frames IMG Comp Y-speed,smooth,lim X-speed,smooth,lim target_type faces objects model
True 500 4x 2,1,10 30,1,60 person True True yolov8n-seg.pt

Explore related projects