Car number plate recognition python9/17/2023 CCA is applied on this binary image of car using measure and regionprops module of python. The input car image is converted to grayscale and then to binary image. A pixel is said to be connected to another if they both have the same value and are adjacent to each other.Ī brief of what I did in my detectplate.py file is depicted below:Ĭar Image -> Grayscale Image -> Binary Image -> Applying CCA to get connected regions -> Detect license plate out of all connected regions Connected regions imply that all the connected pixels belong to the same object. The approach used to segment the images is Connected Component Analysis. Deployment of this model using Flask as an API.Prediction of characters in License Plate.Train a ML model using images of characters (numbers and alphabets).Perform segmentation of characters (applying CCA on the plate).Detect License Plate using CCA (Connected Component Analysis).Accordingly, the code has to be commented and used. The same DetectPlate.py file is used for detection of license plates in videos as well as images.For the purpose of simplicity, it is assumed that there is less disturbance in the input images/videos.Multiple images of the car in the same picture are not handled. It detects the license plate out of images and videos with a single car.The scope of the project is limited to the following main points: Also, it discusses about how can we deploy our machine learning models using Flask as an API. This article talks about the detection of license plates in images and videos using machine learning and python.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |