Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update id_card_esp.py #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/mrz_generator_samples/id_card_esp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
from mrz.generator.td1 import TD1CodeGenerator

print(TD1CodeGenerator("ID", # Document type Normally 'I' or 'ID' for id cards
"ESP", # Country 3 letters code or country name
"BAA000589", # Document number
"ARG", # Country 3 letters code or country name
"33186544", # Document number
"800101", # Birth date YYMMDD
"F", # Genre Male: 'M', Female: 'F' or Undefined
"250101", # Expiry date YYMMDD
"ESP", # Nationality
"ESPAÑOLA ESPAÑOLA", # Surname Special characters will be transliterated
"CARMEN", # Given name(s) Special characters will be transliterated
"M", # Genre Male: 'M', Female: 'F' or Undefined
"8707123610077", # Expiry date YYMMDD
"ARG", # Nationality
"GONZALEZ", # Surname Special characters will be transliterated
"GASTON LEONEL", # Given name(s) Special characters will be transliterated
"99999999R")) # Optional data 1