This project was an attempt to explore the new and emerging field of technology, concerning object identification and tracking. The Colour Chaser is a stationary object tracking device, which tracks an object of a certain colour specified by the user. It consists of a webcam and a colour sensor mounted on a pan-tilt rotating mechanism. Two servo motors control the pan and tilt, respectively, to ensure that the camera always faces the object being tracked. The entire system is controlled by a Raspberry Pi 4 (model B), which utilises a combination of the sensor's colour readings and the webcam's video capture, to locate the object, and calculate the vertical and/or horizontal rotation required from the servos.
The entire process of making this project is documented in the following blog.
colourbasedobjecttrackingcamera.blogspot.com |