1 | initial version |
Did I get you correctly that you want to classify the IDs based on their countries? If you only want to tell what country the ID belongs to, use template matching . This way you can have a set of templates of those coat of arms (like that Austrian eagle or the Estonian shield) and look for them in the ID surfaces, which would be found immediately.
The only problem however, is, not all ID cards you have have a coat of arms. The Egyptian one for instance, it only has script and a face, from which, you cannot derive the country. You need at least one cue which you could derive the country information from. Background is not much of a use either. since it is occluded with script there. So the Egyptian one would be tough to figure out. You may need to utilize learning for that. That is, either teach your network about pyramids and all that, or go for script detection techniques from which you can then figure out it says "Egypt" there in Arabic script. But as I said, both of these are extremely effort taking, not straightforward at all.
That is to say, you can easily detect the Austrian and Estonian one in your samples (or anyone with a coat of arms), however if there is only script with a face, your chances are too low.
2 | No.2 Revision |
Did I get you correctly that you want to classify the IDs based on their countries? If you only want to tell what country the ID belongs to, use template matching . This way you can have a set of templates of those coat of arms (like that Austrian eagle or the Estonian shield) and look for them in the ID surfaces, which would be found immediately. Because these coat of arms never change and they have to be same on every ID, which makes them perfect templates.
The only problem however, is, not all ID cards you have have a coat of arms. The Egyptian one for instance, it only has script and a face, from which, you cannot derive the country. You need at least one cue which you could derive the country information from. Background is not much of a use either. since it is occluded with script there. So the Egyptian one would be tough to figure out. You may need to utilize learning for that. That is, either teach your network about pyramids and all that, or go for script detection techniques from which you can then figure out it says "Egypt" there in Arabic script. But as I said, both of these are extremely effort taking, not straightforward at all.
That is to say, you can easily detect the Austrian and Estonian one in your samples (or anyone with a coat of arms), however if there is only script with a face, your chances are too low.
3 | No.3 Revision |
Did I get you correctly that you want to classify the IDs based on their countries? If you only want to tell what country the ID belongs to, use template matching. This way you can have a set of templates of those coat of arms (like that Austrian eagle or the Estonian shield) and look for them in the ID surfaces, which would be found immediately. Because these coat of arms never change and they have to be same on every ID, which makes them perfect templates.
The only problem however, is, not all ID cards you have have a coat of arms. The Egyptian one for instance, it only has script and a face, from which, you cannot derive the country. You need at least one cue which you could derive the country information from. Background is not much of a use either. either, since it is occluded with script there. So the Egyptian one would be tough to figure out. You may need to utilize learning for that. That is, either teach your network about pyramids and all that, that or go for script detection techniques from which you can then figure out it says "Egypt" there in Arabic script. But as I said, both of these are extremely effort taking, not straightforward at all.
That is to say, you can easily detect the Austrian and Estonian one in your samples (or anyone with a coat of arms), however if there is only script with a face, your chances are too low.