Image Processing and Pattern Recognition for Real-Time License Plate Recognition in Traffic Surveillance