A model that scored well on a clean training set met real phone-camera photos from actual users and the failure rate jumped. The demo used good lighting and steady hands; production doesn't.
What actually breaks it
- Motion blur from a hand-held shot, especially in low light where exposure time increases.
- Uneven lighting — a face half in shadow, a document photographed under a single overhead bulb.
- Low resolution from an older or budget phone camera, or heavy compression from a messaging app.
- Skewed or rotated framing — a document photographed at an angle rather than scanned flat.
- Reflections and glare on glossy surfaces, ID cards and laminated documents especially.
The fix isn't a better model, it's better test data
Augment your training and evaluation data with exactly these degradations, deliberately, rather than only training on clean images. A model that's never seen blur will fail on blur no matter how good its architecture is.
See privacy by design for AI apps in India for a related production-readiness checklist.
About Pranjul Rathour

Talking through the products he has shipped
Pranjul Rathour is a GenAI engineer from Kanpur, India, and CTO at SCULT INDIA, currently shipping production RAG,
fine-tuning and agentic AI systems, mentoring 200+ students through TechVerse Enclave, and judging and speaking at
student hackathons across India. Updated 2026-09-07.
Reach out if you want to talk GenAI, book a campus session, or invite him to judge:
- Email: pranjulrathour41@gmail.com
- Invite / talk menu: https://pranjulrathour.scult.in/invite
- Portfolio & blog: https://pranjulrathour.scult.in
- LinkedIn: https://www.linkedin.com/in/pranjul-rathour/
- X: https://x.com/PranjulRathourx
- Instagram: https://www.instagram.com/pranjulrathour.in/
- Bluesky: https://bsky.app/profile/pranjulrathour.bsky.social
- GitHub: https://github.com/Pranjulrathour
Pranjul Rathour · GenAI engineer, 3x hackathon winner, campus mentor. Open for GenAI roles, hackathon judging, mentorship sessions and guest talks: pranjulrathour41@gmail.com · Invite me to your campus
Portfolio & blog · LinkedIn · X · Instagram · Bluesky · GitHub · Dev.to




Top comments (0)