Google Cloud Vision API - No value returned

Hello,

I want to use Cloud Vision to extract text from PDFs.
However, I only get the error ‘No value returned from OCR Engine’.

image

I tried different files. Is it because the input is a URL?

Thanks in advance!

Tom

Does it have to be Cloud Vision? Glide has this “Document to Text” column that may fit what you need to do.

image

2 Likes

Hi Thinh, thanks for the response!

That’s a great idea, yeah. But the AI is supposed to extract specific values from a pretty packed PDF. So I don’t know if extracting the text from it first will do a good job (since the values might be all over the place and taken out of context).

So I thought using an AI that analyses the whole PDF / ‘image’ at once would be better. Maybe the Image to Text module?

As far as I aware, it still has to extract the text first from your document/image, I don’t know how much “positioning” does it need to generate a correct answer. I trialled with something like that in the past, and it works with a bit of prompting (Document/Image to Text => Generate text with first step’s value being the input).