# Google Cloud Vision - Extract text from PDF files

**URL:** <https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473>\
**Category:** Ask for Help\
**Tags:** openai\
**Created:** [July 29, 2023, 12:11am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473 "2023-07-29T00:11:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwilt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jwilt/32/37710_2.png) [@jwilt](https://community.glideapps.com/u/jwilt)\
**Post date:** [July 29, 2023, 12:11am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/1 "2023-07-29T00:11:14Z")

</div>

I’m trying to use “Extract text from PDF files” with Google Cloud Vision, and I have it working, but it doesn’t seem to scan the entire PDF (all pages). I have it set per [documentation](https://www.glideapps.com/docs/reference/integrations/google-cloud-vision) for all pages with a “\*” symbol, but it only seems to bring in the first page of the document. I’ve tried playing with the Model (Document vs. Text) and the input for pages.

I can get an extraction if I specify 1-4 pages for a 4-page PDF, but the problem is, I don’t know the number of pages in the PDF when someone uploads it.

Basically I know it’s working, but the “\*” all isn’t working. Anyone else have issues with this?

 ![Screenshot 2023-07-28 at 8.05.33 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/b/2bcfdf0f748a0c09f2ccc28fec5d5f49c071c18b.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 29, 2023, 2:51am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/2 "2023-07-29T02:51:52Z")

</div>

What happens if you leave the field blank?

---

<div class="post-metadata">

**Author:** ![jwilt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jwilt/32/37710_2.png) [@jwilt](https://community.glideapps.com/u/jwilt)\
**Post date:** [July 29, 2023, 2:52am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/3 "2023-07-29T02:52:11Z")

</div>

Sorry I tried that too, no dice.

BTW, thank you for all of your amazing YT videos. You’re a savior.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 29, 2023, 10:25am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/4 "2023-07-29T10:25:44Z")

</div>

I haven’t tried this one, but it does sound like a bug. I’d recommend submitting a Support Ticket with Glide. You can do this from the App builder via Settings → Support.

---

<div class="post-metadata">

**Author:** ![jwilt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jwilt/32/37710_2.png) [@jwilt](https://community.glideapps.com/u/jwilt)\
**Post date:** [July 29, 2023, 1:13pm UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/5 "2023-07-29T13:13:59Z")

</div>

Awesome will do! Thanks Darren!

---

<div class="post-metadata">

**Author:** ![tosolini](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tosolini/32/61247_2.png) [@tosolini](https://community.glideapps.com/u/tosolini)\
**Post date:** [August 19, 2023, 9:16pm UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/6 "2023-08-19T21:16:39Z")

</div>

I’m experiencing the same issue. The default settings of the “Extract text from PDF files” with Google Cloud Vision only returns the first page of the PDF. Same outcome if you try \* or 1-\*  
If you try the workaround of specifying an artificially high number of pages as upper limit. E.g. 1-100 Glide will return an error. Seems like a bug.

---

<div class="post-metadata">

**Author:** ![jwilt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jwilt/32/37710_2.png) [@jwilt](https://community.glideapps.com/u/jwilt)\
**Post date:** [August 20, 2023, 12:38am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/7 "2023-08-20T00:38:49Z")

</div>

I submitted a ticket a few weeks ago about this and they just got back to me last night. So they’re “using Google Vision’s Small Batch File annotation service, which is limited to 5 pages. Additionally, each row of a Glide table is limited to 1MB of data.” They said as of now, they don’t have plans to fix this limit but they might consider it for future features.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [August 27, 2023, 12:39am UTC](https://community.glideapps.com/t/google-cloud-vision-extract-text-from-pdf-files/64473/8 "2023-08-27T00:39:06Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
