Skip to content

tem-ctrl/passport_ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passport OCR (Optical Character Recognition)

Extract user data from a passport image.

Extracted info includes:

  • Surname
  • Name
  • Sex
  • Date of Birth
  • Nationality
  • Passport type
  • Passport number
  • issuing country
  • Expiration date
  • Personal number

Note: Personal numbers aren't used in all country.


Examples

Image Data
Passport Temgoua {
'name': 'GILBERT',
'surname': 'TEMGOUA DONKOO',
'sex': 'M',
'date_of_birth': '09/04/1994',
'nationality': 'CAMEROON',
'passport_type': 'PO',
'passport_number': '1225801',
'issuing_country': 'CAMEROON',
'expiration_date': '06/05/2025',
'personal_number': 'M0966473'
}
Pasport {
'name': 'MOHAMMED MUDASEER',
'surname': '',
'sex': 'M',
'date_of_birth': '04/04/1982',
'nationality': 'INDIA',
'passport_type': 'P',
'passport_number': 'H2908283',
'issuing_country': 'INDIA',
'expiration_date': '09/02/2019',
'personal_number': ''
}

About

Extract user data from a passport image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors