filter and noise reduction, edge detection of the original image of the vehicle to achieve image preprocessing, then the mathematical morphology method is used to determine the location of the license plate in the original image, and then the color segmentation is used to complete the extraction of the license plate location.