Questions tagged [google-vision]

The Google Mobile Vision API for Android provides a framework for finding objects in photos and video.

The Google Mobile Vision API for Android provides a framework for finding objects in photos and video.

Note that issues related to the Google Cloud Vision API should use the tag "google-cloud-vision" rather than this tag.

Learn more about the Google Mobile Vision API through the Google Mobile Vision documentation and Google Mobile Vision sample apps.

720 questions
5
votes
0 answers

How to fix "google.api_core.exceptions.ServiceUnavailable: 503 Connect Failed" when connected to Google cloud API

I want to use GOOGLE vision API,and I get the error 'google.api_core.exceptions.ServiceUnavailable: 503 Connect Failed'. I get 503 error when connecting to Google vision API, and i have followed the instruction step by step. The link is as…
zhaoluzl
  • 51
  • 1
  • 2
5
votes
0 answers

Using Google Vision API with ARCore in Android

I'm looking to build an app that detects certain objects and then overlays something using ARCore. Is it possible to use Google's Vision API for real-time detection of objects? If not, is there another library that I could use that has object…
ch1maera
  • 1,369
  • 5
  • 20
  • 42
5
votes
3 answers

Nodejs cloud vision api PERMISSION_DENIED wrong project #

when I try to run firebase functions with cloud vision API and test the functions. I get this error: ERROR: { Error: 7 PERMISSION_DENIED: Cloud Vision API has not been used in project 563584335869 before or it is disabled. Enable it by …
5
votes
0 answers

How to configure google vision api with tika parser

I am trying to parse images using the Apache tika-parser in python, but sometimes I get content as "none". But when I try the same image with Google the vision API it gives me a good response. Is it possible to integrate tika with Google vision API?…
Manmohan
  • 373
  • 1
  • 2
  • 14
5
votes
1 answer

google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes

Don't know how to ask what to fix here cause I don't know the problem. Is it the 1) google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes. 2) commented out init() towards the end. I was receiving the error:…
5
votes
1 answer

-[_SwiftValue integerValue]: unrecognized selector sent to instance 0x60000044d560 Error when using Google Mobile Vision

I am using Google Mobile Vision in my app. I am getting a unrecognized selector lldb crash. I have narrowed down the problem to this line of code... var faceDetector = GMVDetector.init(ofType: GMVDetectorTypeFace, options: options) Here is the…
coder
  • 381
  • 2
  • 22
5
votes
4 answers

Incorrect barcode read by Mobile Vision API

Recently I've been doing some kind of Android barcode scanning app. Everything was fine until I realized that the same app made by my friend on IOS is much better at detecting barcodes. Google Mobile Vision API is often wrong, it detects barcodes…
ŁukaszG
  • 596
  • 1
  • 3
  • 16
5
votes
3 answers

Does Google Mobile Vision support OCR on iOS?

I'm looking at using Google Mobile Vision with an iOS app. Their documentation talks about face recognition, barcode scanning, and text recognition (OCR). However, the code samples for iOS development only include facial recognition, and I don't see…
Flarosa
  • 1,287
  • 1
  • 13
  • 27
5
votes
2 answers

How can I add zoom in/out gesture in Android vision CameraSource

I'm trying to develop a simple camera app with face detection and i'm using android-vision sample from here https://github.com/googlesamples/android-vision/tree/master/visionSamples/FaceTracker Everything is working fine and i need to add zoom…
Eswar
  • 172
  • 1
  • 9
5
votes
4 answers

camerasource.takePicture() save rotated images in some device

I am using vision api for tracking face. I applied a mask on the basis of face position.When i take a picture from front camera i call camerasource.takePicture() to save images.I am facing issue of image rotation in some device like samsung and…
sumit singh
  • 588
  • 1
  • 5
  • 20
5
votes
4 answers

Google Cloud Vision API 'Request Admission Denied'

I am new to Google Cloud Vision API. I am doing OCR on images primarily for bills and receipts. For a few images it is working fine, but when I try some other images it gives me this error: Error: { [Error: Request Admission Denied.] code: 400, …
5
votes
2 answers

How Capture Picture while mobile vision api - face tracking

I'm using the Mobile vision api's face tracking example and i'm trying to take picture with tapping on the screen. Firstly i wanted to take any picture on the screen with button and i tryed this code but it failed. I look at the barcode reader…
JeyJey
  • 91
  • 1
  • 6
5
votes
1 answer

Gradle error when using Google's latest API

I'm using Google Vision API's sample to make barcode reader in a webview of existing project. https://github.com/googlesamples/android-vision/tree/master/visionSamples/barcode-reader this is my error message: Error:(36, 13) Failed to resolve:…
5
votes
1 answer

Google Vision API - To draw graphic layout on Camera Preview bounding the QR code

I am integrating Google vision API into my existing android application. the app does recognises the QR codes but i need to implement the UI feature where the user is shown a graphic outline over the bar code .
Antroid
  • 391
  • 4
  • 15
5
votes
1 answer

New vision API - Picture size

I've been working on a project and got to make face detection working, with focus, thanks to SO. I am now taking pictures, but using the front camera on my Nexus 5 and a preview size of 1280x960, the play services seem to set the picture size to…