Advanced Line Follower Robot
Building upon our experience with the simple line follower robot, my team and I decided to develop a more advanced version with enhanced capabilities. This iteration replaced the basic IR sensors with a camera, enabling the robot to perform image processing to identify and follow lines and shapes of various colors.
Here is a video of the robot:
The image processing pipeline was as follows:
- The video stream from the camera was sent to a PC via a wired connection. We also successfully tested using an IP camera over a local network for real-time video capture.
- We used OpenCV in C++ to process the incoming frames.
- Control commands were then sent from the PC to the robot using a USB to TTL module. We also experimented with HMT-HMR modules for wireless communication.
This project was our first foray into computer vision, and we accomplished our goals without using any machine learning or deep learning techniques. We developed robust, custom color filters and were able to detect shapes based on hand-crafted features like the number of corners and angles between lines.
Here is another video showcasing the shape detection:
Here are some images of the project:
