Machine asisted aim bot

a Nerf gun with a camera that will notify you if you are going to hit a target or not along with an ammo counter I need help with the design and wiring for both of the parts and the gun itself

Nerf????
Hit..., target, ammo counter.....
What are You talking about?

What is Your question?

Here's a flow chart of how the gun will work
image

Here's what the gun will look like
image
It's a gun from Cyberpunk 2077 called the ying long

The first thing I see is a box that says "camera detects a target". What camera can do that? And will it have more than one possible target?

to the first question ill find out and to the second one yes

and I have a solution to the second one
a switch near the trigger that allows you to switch between targets
and again for the first one
Here's something that might help you understand

essentially the same thing but the gun doesn't move to aim at the object and instead tells you if you aiming at the target by using a camera and some AI wich might also need a raspberry pi to work

are you still active

No, taking a nap.

Can you detail the step-by-step you will use to develop your project?

Here is how it's going to work


So yea das it now to start with part 1

I already decided I'm going to use an Arduino Nano and I need a raspberry pie to run the AI for the camera so the question is which one

Ah! Such optimism. I suspect your failure box will most often send you back to square 1, but good luck!

a better version

You need to look at how to do camera vision , in a plan do the hardest bit first , if that fails then the rest would have been wasted effort .
I have no idea how I would do the vision bit or how u would then calculate whether the gun would hit the target.

K I just noticed I'm going to need a screen to be able to switch between targets and i need to figure how to do do that in the first place

No you need to work out how the camera will see the object - that’s the first bit , don’t worry about the rest until you’ve done this near impossible part .

try watching dis

the camera just needs to check if the center of the camera is inside the box that forms around the target

A camera can't do anything. You have write the software to do the image analysis to get the results you need.

that's the job for the ai