Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to detect or classify image type

I'm building application for recognize ID cards similar to the attached images The ID list is predefined say i have 30 ID type , each type represent one country now i want to classify the input image to the proper Type , i don't need to recognize the ID , because i have predefined template for every ID type and i will use one of known OCR systems to get the requierd data.


image description image description image description

I used Matchtemplate as follow

  1. Extract unique area from every ID
  2. Save the extracted unique areas in files each file will be contain one template represent the ID
  3. when Unknown image is inserted to the system , i'm trying to find the best mach from all saved templates , then find the requested ID

but the system slow because i do 30 MatchTemplate to find the correct one , my Question now is there any other algorithm to detect the ID type faster and correct