OCR and Regex

Hi !

I’m trying to set an OCR model that can get Name, First Name and a number which is always 13 digits long from an ID card.

 

Thing is there is 3 or 4 type of cards and sometimes name is on the first line, first position, sometimes the number is on the first line, some times its first name then name….

 

Sometimes number has spaces (groups of 3 digits…)

Is there a way to tell the model that the number should always be 13 digits longs with no spaces ?

I guess the Name/First Name recognition will always be a thing but whatever.

 

ThX for your advice !

0 0 30
0 REPLIES 0
Top Labels in this Space