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.
I used Matchtemplate as follow
- Extract unique area from every ID
- Save the extracted unique areas in files each file will be contain one template represent the ID
- 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
firstly I do not know where did you pick the images from (google, or personal dataset), but I would suggest to blur the faces and the names of the persons anyways since I think that personal data are exposed here (and that could be a reason for closing down this thread, except any other problems that might come up). Now regarding your question, did you try this approach related to template matching, it claims that it can optimize the template matching technique. If you still do not get that good results, what you could try, is some keypoints feature detection algorithm (e.g. SIFT, SURF, ORB, etc).
@theodore , Thanks for your reply ,