License Plate Recognition
License plate recognition finds the plate on a moving car and reads its characters, handling tilt, dirt, and night glare that break naive OCR.
Why Does This Exist?
Toll gates, parking lots, and traffic policing need the plate string, not just a car box. Plates tilt with lanes, blur with speed, and hide behind dirt and frames. Generic text readers trained on documents fail on reflective embossed characters at night.
Plate recognition exists for that chain. Input is a vehicle image or frame. Output is the plate string with a box and confidence. Detection is object detection; word boxes are text detection and character reading is text recognition.
Use it when plates follow a known syntax and camera angle is constrained. Use manual review when plates are foreign, custom, or deliberately obscured.
Think of It Like This
Copying a house number from a passing bus
You spot the number board, tilt your head to level it, sound out smudged digits, then check the street pattern to resolve a doubtful 8 versus B.
Detection is spotting the board. Warp is tilting your head. Syntax is the street pattern. The analogy stops at light: your eyes adapt to headlights instantly while the camera needs exposure control and infrared to hold contrast.
How It Actually Works
Detect the vehicle, then the plate quad inside it, then warp the quad to frontal with a homography. Read characters with a sequence OCR head and constrain with plate syntax: length, allowed letters per slot, and checksum where present. Contract is car image in, string plus box out. A plate at degrees tilt reads with error raw because narrow strokes merge; after warp the same head reads of correctly and syntax confirms the doubtful slot.
Worked example
A night capture shows a character plate at degrees with one dim lamp. Raw OCR returns of with an 8 read as B. The quad warps to pixels, giving pixels per character width. Reread gives of with confidences average. Syntax expects a letter in slot three and accepts B, so the string ships with errors and a logged crop.
Watch Out For
Motion blur plus glare sold as readable
A s exposure on a fast car smears strokes by pixels while plate lamps bloom. Detection still fires at but characters guess. The symptom is confident wrong strings. Fix it with faster shutter plus infrared illumination and by refusing low stroke contrast instead of guessing.
Syntax from one region forced worldwide
A German pattern checker rejects French plates by design. The symptom is perfect reads flagged as invalid across borders. Fix it with per region syntax packs and a plain read mode when the region is unknown.
The Quick Version
- Plate recognition chains vehicle, plate quad, warp, OCR, and syntax.
- Warp plus syntax fix tilt and resolve lookalike characters.
- The fixture moves from of to of after leveling degrees.
- Contract is car image in, string plus box out with confidence.
- Light and shutter decide accuracy before the reader runs.