Traffic Sign DetectionΒΆ

This project uses an image detection function to look for traffic signs, and make the PiCar-X follow the instructions on the sign. The turn traffic sign detection [on] block will recognize 4 different traffic sign models included in the printable PDF below. When the PiCar-X detects a STOP sign, it will come to a stop, a FORWARD sign will make it drive forward, and the LEFT or RIGHT arrows will make it turn that direction.



The printed traffic sign colors may have a slightly different hue from the Ezblock color models due to printer toner differences, or the printed medium, such as a tan-colored paper. This can cause a less accurate color recognition.

This project is based on Minecart, but instead of using the grayscale sensor, the PiCar-X uses an algorithm for traffic sign detection. The detection results can be viewed via the Video Monitor in Ezblock Studio.




  • You can write the program according to the following picture, please refer to the tutorial: How to Create a New Project?.

  • Or find the code with the same name on the Examples page of the EzBlock Studio and click Run or Edit directly.

../_images/sp210513_101526.png ../_images/sp210513_110948.png ../_images/sp210512_171425.png ../_images/sp210512_171454.png