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

本小妞迷上赌 提交于 2019-12-11 05:54:37

问题


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:


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.



来源:https://stackoverflow.com/questions/46194151/how-can-i-call-or-emulate-google-mobile-vision-api-in-google-cloud

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!