--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/840099f5-1ff8-4bfb-88a1-c7d904635c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Oct 2, 2018 at 7:03 PM <parth....@corecompete.com> wrote:
I have a multi-frame TIFF image that I sent to the vision API and I was surprised that the request takes ~25 seconds to complete. The image I used had only 2 frames/pages.--I tested converting the pages of the TIFF to individual PNG and running normal Vision API requests (in serial because, for some reason, "batch" annotate doesn't support batch requests??) and recombining the output. I was able to do that in ~15-20 seconds. I didn't check the quality of the output response but I'm curious why there is such a huge difference.Am I doing something wrong or is this just expected of the Vision API? What are some ways to get this speedy enough to the point where I can safely call it in a Google Cloud Function?
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-discuss+unsub...@googlegroups.com.
That makes sense, and I guess the real pain point here is that if I have a large number of mutli-page TIFF/PDFs, there is no way to batch those requests. I'm trying to keep this all >60 seconds in a Cloud function which is why I'm concerned about runtime.
On Wednesday, October 3, 2018 at 1:28:18 AM UTC-4, Ji Zhu wrote:
On Tue, Oct 2, 2018 at 7:03 PM <parth....@corecompete.com> wrote:
I have a multi-frame TIFF image that I sent to the vision API and I was surprised that the request takes ~25 seconds to complete. The image I used had only 2 frames/pages.--I tested converting the pages of the TIFF to individual PNG and running normal Vision API requests (in serial because, for some reason, "batch" annotate doesn't support batch requests??) and recombining the output. I was able to do that in ~15-20 seconds. I didn't check the quality of the output response but I'm curious why there is such a huge difference.Am I doing something wrong or is this just expected of the Vision API? What are some ways to get this speedy enough to the point where I can safely call it in a Google Cloud Function?
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/840099f5-1ff8-4bfb-88a1-c7d904635c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/d9f6e8cf-6d85-4f20-a89f-6f0cbef070a9%40googlegroups.com.
Instead of reducing the latency of processing each individual PDF/TIFF file, the design of offline batch PDF aims to provide scheduling for a large number of multi-page PDF/TIFF files according to user quota.
On Wed, Oct 3, 2018 at 8:31 AM <parth....@corecompete.com> wrote:
That makes sense, and I guess the real pain point here is that if I have a large number of mutli-page TIFF/PDFs, there is no way to batch those requests. I'm trying to keep this all >60 seconds in a Cloud function which is why I'm concerned about runtime.
On Wednesday, October 3, 2018 at 1:28:18 AM UTC-4, Ji Zhu wrote:
On Tue, Oct 2, 2018 at 7:03 PM <parth....@corecompete.com> wrote:
I have a multi-frame TIFF image that I sent to the vision API and I was surprised that the request takes ~25 seconds to complete. The image I used had only 2 frames/pages.--I tested converting the pages of the TIFF to individual PNG and running normal Vision API requests (in serial because, for some reason, "batch" annotate doesn't support batch requests??) and recombining the output. I was able to do that in ~15-20 seconds. I didn't check the quality of the output response but I'm curious why there is such a huge difference.Am I doing something wrong or is this just expected of the Vision API? What are some ways to get this speedy enough to the point where I can safely call it in a Google Cloud Function?
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/840099f5-1ff8-4bfb-88a1-c7d904635c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-discuss+unsub...@googlegroups.com.
Instead of reducing the latency of processing each individual PDF/TIFF file, the design of offline batch PDF aims to provide scheduling for a large number of multi-page PDF/TIFF files according to user quota.
On Wed, Oct 3, 2018 at 8:31 AM <parth....@corecompete.com> wrote:
That makes sense, and I guess the real pain point here is that if I have a large number of mutli-page TIFF/PDFs, there is no way to batch those requests. I'm trying to keep this all >60 seconds in a Cloud function which is why I'm concerned about runtime.
On Wednesday, October 3, 2018 at 1:28:18 AM UTC-4, Ji Zhu wrote:
On Tue, Oct 2, 2018 at 7:03 PM <parth....@corecompete.com> wrote:
I have a multi-frame TIFF image that I sent to the vision API and I was surprised that the request takes ~25 seconds to complete. The image I used had only 2 frames/pages.--I tested converting the pages of the TIFF to individual PNG and running normal Vision API requests (in serial because, for some reason, "batch" annotate doesn't support batch requests??) and recombining the output. I was able to do that in ~15-20 seconds. I didn't check the quality of the output response but I'm curious why there is such a huge difference.Am I doing something wrong or is this just expected of the Vision API? What are some ways to get this speedy enough to the point where I can safely call it in a Google Cloud Function?
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/840099f5-1ff8-4bfb-88a1-c7d904635c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/840099f5-1ff8-4bfb-88a1-c7d904635c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/d9f6e8cf-6d85-4f20-a89f-6f0cbef070a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/4c9a0a07-add7-4c1f-809e-fe1ea09560eb%40googlegroups.com.