How can I call or emulate Google Mobile Vision API in Google Cloud?

625 views Asked by At

Background: Building on Does google cloud vision OCR support bar code reading?, I want to do offline analysis of PDF417 barcodes using Google Mobile Vision (Barcode API) but accessible from Google Cloud.

Is there any way to call, emulate or otherwise access the Google Mobile Vision API off-Android/off-iOS?

1

There are 1 answers

0
swehren On BEST ANSWER

I ended up rolling a Google Cloud Function to detect QR codes for images loaded into Google Cloud Storage, which handled the use case where, like you, I would have preferred to use Cloud Vision. You could do something similar with a HTTP Cloud Function that sends over an image, and uses a JS library to read the barcodes.