ok so i am making a sentry gun that stays in a spot and uses my webcam to detect and shoot objects that move. so basically how can i scan pixels in webcam screen and use object recognition in arduino to get an idea of how the sentry should aim or what would the program for this look like? thanks in advance
You can't.
Use Processing for the targetting, and the Arduino for driving the turret.
BTW webcams don't usually have 'screen's
The arduino has similar processing capabilities to a late 1970's/early 1980's personal home computer. Next to nothing in comparison to a contemporary PC...........
does all this mean i shud jus give up.....i have part of a code from some1 else's processing code that targets using blob detection but i dont want all the features from it just the basic aiming could someone edit the code for me?
Could you maybe rephrase that in English?
does all this mean i shud jus give up.....i have part of a code from some1 else's processing code that targets using blob detection but i dont want all the features from it just the basic aiming could someone edit the code for me?
Sounds like a question for the processing forum.
The fundamental part of the project is the image processing. Trivial is moving the turret to the desired position. If you can't figure out the image processing, maybe you should be looking for another project.