Timely detection and recognition of road signs is very important for motorists and pedestrians. The necessary information is delivered to the driver through the program of direct recognition of road signs. There are different types of road signs, some signs may have multi-directional points to indicate the direction of the location, and some signs are about safety rules and restrictions. can do in the message. Identifying and recognizing road signs is an important practice because it helps the new driver to find the way. We are able to solve these problems through the road sign detection program we created in python. In this program, in the following model, each pixel in the binary matrix is 8 bits, so instead of converting their values to 0 and 1, they can be converted to values between 0 and 255. In this way, 128x128 pixel images are converted into binary matrices, and these matrices are prepared for high-level data acquisition models, for example, the CNN model.