Menu

#NdArray

2 posts

Feed·
2 of 2 posts
Preparing ID card photos for OCR with OpenCV: find the card, flatten it, and reject blur and glare
📰
0Read More

Preparing ID card photos for OCR with OpenCV: find the card, flatten it, and reject blur and glare

DEV Community: computervision·Ali Ahmed·1 day ago
#IKW7Yyij

Most OCR errors on identity documents come from the photo, not the model. Tested OpenCV code to detect a card's corners, correct perspective to a flat ID-1 rectangle, and score sharpness and glare before OCR runs.

15s