OpenMV
Shields
Lens
Robotics
Book
Video
Download
Docs
Forum
OpenMV.io
GithubIn various robot competitions, recognizing track boundary lines is a core capability for robots to achieve automatic tracking, path planning, and steering decisions.
Traditional infrared or single-point photoelectric sensors can only detect colour differences and are unable to recognise line angles and curvature information.
To this end, educational robot manufacturers adopt SingTown's OpenMV intelligent camera recognition technology, integrating AI machine vision and image geometric calculation algorithms to achieve real-time recognition, angle measurement, and position tracking of track boundary lines (such as the yellow-gray junction line).
This system can be widely applied in scenarios such as smart car competitions, autonomous driving model cars, and educational programming platforms, providing robots with high-precision visual navigation capabilities.

Educational robot manufacturers utilise SingTown Technology's OpenMV intelligent camera recognition technology to achieve automatic track identification and real-time steering control.
Install a camera at the front end of the robot to overlook the ground track area. The system is equipped with computer vision and image recognition technology, capable of automatically extracting track boundary lines (yellow-gray or black-white dividing lines) through colour threshold segmentation, edge detection, and line fitting algorithms (Hough Transform), while calculating the centre position and angle of the line in real time.
The recognition algorithm outputs include: the coordinates (x, y) of the line segment's centre point, used to determine the robot's offset relative to the track; and the tilt angle θ, used to calculate the robot's steering direction and correction angle.
When the robot deviates from the track centre or experiences a sudden change in boundary angle, the system immediately transmits position and angle data to the main control SingTown STM32 via serial port or I²C interface, enabling steering correction and speed control.
The OpenMV embedded vision module maintains stable operation under conditions of intense illumination, shadow, and ground reflection. Utilizing its adaptable and efficient on-device artificial intelligence and edge deployment capabilities, its recognition rate can achieve 60 frames per second, enabling genuine real-time navigation control.
Through this solution, educational robot manufacturers have implemented a machine vision-based track recognition and angle measurement system, enabling robots to "see the track, understand direction, and drive intelligently," significantly enhancing competition performance and intelligent control capabilities.

AI Sentinel Based on OpenMV: Automatic Alert for Unsecured Key Locations
Automatically detects whether the door of a key location remains open for an extended period and issues timely alerts.

Personnel crossing the boundary triggers an alarm; OpenMV interprets the “sense of security boundary.”
Detects personnel or equipment crossing virtual perimeter lines.

“AI Urban Management Officer” is Here: An Automatic Vendors-Encroaching-on-Pavement Recognition System Built on OpenMV
Automatically identifies illegal street vending activities to support daily urban governance.

Improper Storage of Gas Cylinders? Use OpenMV to Automatically Trigger Hazard Warnings
Automatically identifies unauthorized placements of gas cylinders to proactively detect potential gas-related safety hazards.

Did you perform live-line work without wearing insulating gloves? OpenMV issues an immediate alert!
Automatically identifies whether workers are wearing insulating gloves to assist in safe operations.

Leverage the OpenMV smart camera to detect surface defects on aluminum plates in real time
Online identification of defects on aluminum plate surfaces, such as scratches and dents, to support quality control.