As a software engineer transitioning into data science, I’m undertaking the challenging project of incorporating document detection for KYC (Know Your Customer) verification. The aim is to prevent users from submitting non-document images via their phone cameras, especially after disabling the gallery upload option.

I have a pool of 3 to 4 million KYC verified user IDs. Is it feasible to utilize these IDs to enhance the document detection model? My dilemma lies in deciding whether to employ OCR (Optical Character Recognition) in part or in whole. Is it necessary to use OCR just to determine if an image contains a government ID, or CNN to verify they are of certain Id type or are there alternative approaches that could be clearer?

Additionally, I lack practical experience in deploying machine learning models and haven’t ventured beyond working with AI/ML concepts solely within notebooks.