You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see you specify in Readme.md that posting to /upload will return JSON data.
the code here returns a string not a JSON string.
am i missing something ?
# do OCR, print result
global wrapper
result = wrapper.imageFileToString(tmpFilePath)
# remove tmp image file
self.cleanup(tmpFilePath)
if "." not in result and " " in result:
result = result.replace(" ", ".")
else:
result = result.replace(" ", "")
self.write(result)
self.write("")
The text was updated successfully, but these errors were encountered:
I see you specify in Readme.md that posting to /upload will return JSON data.
the code here returns a string not a JSON string.
am i missing something ?
The text was updated successfully, but these errors were encountered: