Search code examples
python-3.xlatencygoogle-cloud-vision

How can I improve Cloud Vision for PDF/Tiff Performance?


I am using Python to make a request to the Cloud Vision API for PDF documents. During initial testing, I've seen a latency of ~15 seconds. That's not including the overhead time it takes to create the file on Google Storage. Has anyone achieved better performance than that?


Solution

  • Google is now offering online small batch processing. I've seen much better latency. It only works for documents up to 5 pages, but that works for my use case.