The advancement and development of high resolution per frame cameras in recent years motivate both engineers and students in the research and creation of applications based on "automated" computer vision algorithms, a frequent task and used for the tracking of object movements and position of the object, as well as its own characteristics, such as object shape, object color, etc.
In this case, the project is based on the tracking of moving objects and specific characteristics of these, such as circular or spherical shapes and color, besides positioning and movement of these.
The colors that can be detected with this application are:
But tracking is not limited just to this type of tracking, also you can track recognition of the face, eyes, body parts such as hands, arms, legs, head, etc.
Some areas in which object tracking can be applied are:
- Bodies in motion
- Recognition of facial gestures
- Body movements
- Automated navigation
- Trajectories performed by objects.
As I mentioned above the tracking is made on circular colored objects. With regard to the hardware, I do not have enough elements to make a robotic arm of at least two servos. I only have one and a smartphone camera a little outdated with Android operating system.How does it work:
Run the application. Select WiFi in the menu to register the target host and port by which the information will be sent to the WiFi module. And your Arduino can receive the information and can make the necessary calculations.
Then you can select the color to be tracked or from the menu select Ball, and begin to track. When it detects the object of the selected color, the application will begin sending the necessary data.
Arduino Micro receives information about the object through a WiFi module, in this case the SparkFun Breakout Board CC3000 from IT. The communication is done through UDP sockets client server, the application in the mobile sends the necessary data (frame size position for horizontal and vertical servo) to the microcontroller, so that this can perform the calculations with the information sent and perform the updates in the servos, in this case only the horizontal.
I hope it is to your pleasure and serves you for a better project or investigative study or as you wish.