2024-04-25 16:50:03 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
2024-08-14 16:24:11 +08:00
|
|
|
from util import ocr_recognition
|
2024-04-25 16:50:03 +08:00
|
|
|
|
2024-08-14 16:24:11 +08:00
|
|
|
jsonString = ocr_recognition.OCRRecognition.extractIdCardInfoByPath("./images/han.jpg","")
|
2024-04-25 16:50:03 +08:00
|
|
|
print(jsonString)
|
|
|
|
|
# jsonString = extractIdCardInfoByPath("/Users/wangvivi/Desktop/Code/ocrtest/images/2.jpg","/Users/wangvivi/Desktop/Code/ocrtest/images/1.jpg")
|
|
|
|
|
# print(jsonString)
|
|
|
|
|
|