add comments

This commit is contained in:
2023-01-13 23:56:00 +01:00
parent 2dfc359bec
commit fde2b4564e
+18 -1
View File
@@ -1,6 +1,23 @@
from mrz.generator.td3 import TD3CodeGenerator
code = TD3CodeGenerator("PO", "CHN", "WANG", "JINXIN", "E59248934", "CHN", "941215", "F", "270116","MFMLMANK<<<<A9")
# first_name = "JINXIN"
# last_name = "WANG"
# passport_number = "E59248934"
# birth_day = "941215"
# sex = "F"
# optinal_data = "MFMLMANK<<<<A9" #14位
# expire_date = "270116"
first_name = "Lei"
last_name = "PAN"
passport_number = "G22611379"
birth_day = "841215"
sex = "M"
optinal_data = "19203301<<<<<<" #14位
expire_date = "170510"
code = TD3CodeGenerator("PO", "CHN", last_name, first_name, passport_number, "CHN", birth_day, sex, expire_date,
optinal_data)
# code = TD3CodeGenerator("PO", "CHN", "PAN", "LEI", "E90600575", "CHN", "841215", "M", "270116", "MFMLMANK<<<<A9")
print(code)