-
Notifications
You must be signed in to change notification settings - Fork 1
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
Processing Results from PDF Scanning #2
Comments
hi @nigelbpeck, google vision ocr provides this list of keys in response:
and call the textDetection from your defined please tell me if you had initialized the GC Vision OCR differently or if you get a different response doing the same steps, so I can help you. |
Hi @ionistrati , Thanks for getting back to me. I'm going off the approach recommended for detecting text in files on the Google Cloud Vision API documentation (link below), which recommends using This seems to be because my source is a PDF rather than an image. Detect text in files (PDF/TIFF) Submitting a one page PDF with:
I get back the following data:
So it only has |
I'm trying to make use of this and may be missing something. I get:
It seems that it is looking for
data.textAnnotations[0]
but the data I'm getting back from GC Vision is structured as:Has the data format changed? Am I missing something here?
Thanks.
The text was updated successfully, but these errors were encountered: