-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I am trying to use gcv2hocr.py, how to use?
I have manually downloaded a json result: 0013-spire2imagejson.txt
When I run the py file, it returns below error.
C:\Users\Programs\Python\Python36\python.exe E:/python/pdf-gcv-ocr-master/lib/gcv2hocr.py 0013-spire2imagejson.txt
Traceback (most recent call last):
File "E:/python/pdf-gcv-ocr-master/lib/gcv2hocr.py", line 166, in
page = fromResponse(resp, **args.dict)
File "E:/python/pdf-gcv-ocr-master/lib/gcv2hocr.py", line 106, in fromResponse
detectedBreak = symbol['property']['detectedBreak']
KeyError: 'detectedBreak'
Process finished with exit code 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels