Blog - How iris recognition works
Pupil/iris segmentation, polar normalization, Daugman iris codes, and Hamming-distance matching.
- Author
- 2code
- Published
- Tags
- biometrics
- iris
- CV
Iris recognition is among the most stable biometrics. Daugman’s core idea: normalize the iris annulus to a fixed map and compare binary texture codes.
Segmentation and normalization
First locate pupil and limbus circles. Map a ring point onto a rectangle (rubber sheet):
where runs from pupil to limbus and .
Iris code
Texture is filtered with Gabor / log-Gabor kernels. Phase responses become a binary code plus an occlusion mask (eyelids, specularities).
Similarity is a masked Hamming distance:
Lower means a better match. Decision: .
Pipeline
…
Why NIR?
Near-infrared light stabilizes iris texture across eye colors and reduces glare. Visible RGB is too pigment-dependent.
Takeaway
Iris recognition wins on template repeatability: solid segmentation + occlusion masks + a calibrated Hamming threshold .