Arjuna — Hand-Tracking Nerf Turret banner

Arjuna — Hand-Tracking Nerf Turret

1 devlog
2h 1m 33s

So I built a Nerf turret that watches your hand through a webcam, figures out where it is in 3D space, and aims itself at it automatically. It's called Arjuna — after the legendary archer from the Mahabharata. Felt fitting.

It's not perfect. It…

So I built a Nerf turret that watches your hand through a webcam, figures out where it is in 3D space, and aims itself at it automatically. It’s called Arjuna — after the legendary archer from the Mahabharata. Felt fitting.

It’s not perfect. It’s a little jittery sometimes. But watching it actually lock onto your hand and move on its own for the first time is genuinely one of the coolest feelings I’ve had building something.

This project uses AI

Used a bit of AI in Readme.md to refine it.

Demo Repository

Loading README...

arnav.upadhyay40

The specific project that I was working on before is Arjuna, and this is a hand tracking Nerf turret which uses the webcam of the computer in order to track your hand in 3D and then targets a pan tilt Nerf gun all by itself. For the script portion in this case, the procedure will include inputting through the webcam, MediaPipe hand tracking in cvzone, calculation of depth based on distance between knuckles of fingers, converting into servo angles based on coordinates, and calibration with the difference in distance between the webcam and the Nerf gun. In terms of the Arduino portion of this project, it includes the control program of the turret through serial communication in order to receive data of angles for the servos, and printing design of the turret.

0