Computer Vision · FIB-UPC
License Plate Detection
Detect and read license plates from car images using computer vision. Select a sample image or upload your own, then watch the 3-stage pipeline (plate detection, character segmentation, OCR) process it in real time — entirely in your browser.
How it works: This is a browser port of a MATLAB license plate detector. The pipeline has 3 stages: 1) locate the plate region using adaptive binarization and morphological filtering, 2) segment individual characters via connected component analysis, 3) recognize each character by template matching against a reference plate font. Processing runs in a Web Worker so the page stays responsive — pure TypeScript, no OpenCV download.
Select an image








About this project
Originally a MATLAB project for the Computer Vision course at FIB-UPC. This browser demo is a port of the original pipeline to JavaScript — it uses adaptive binarization, morphological filtering, connected component analysis, and template matching to detect license plates and read their characters, all running client-side with no external dependencies.