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
0
votes
1 answer

Android: Google Vision API detect faces and landmarks every frame of the camera preview?

Is Google Vision API capable of detecting faces and landmarks every frame of the camera preview when the preview is showing? If yes, could you please point me to a code snippet on how to do this? I already have the camera2 interface set up. Thanks!
0
votes
3 answers

Reading QR Code natively from camera on Android device

Can I make my phone camera natively read QR code and take necessary action without opening the specific application to read it? I don't want to open the application to read these QR codes. I am developing an android application which requires the…
0
votes
1 answer

Android Image to Bitmap for use in Google Vision Barcode api

I need to convert android.media.Image to a BitMap so that I can use it in the Google Vision Barcode API. I've tried the following... byte[] imageData = new byte[image.getPlanes()[0].getBuffer().remaining()]; Bitmap bmp =…
aaa
  • 363
  • 4
  • 15
0
votes
1 answer

How to save a frame using google vision face detect

I am trying to following the google-vision face-tracker sample listed in here. I would like to know how to get the number of face detected by the application and how to save a frame to the phone memory, is it possible from the application ?
jgm
  • 1,230
  • 1
  • 19
  • 39
0
votes
0 answers

Mobile Vision google API not working on android emulator

I am currently working on implementing an Android application that can detect String from a bitmap Image using the Google mobile vision API but when I am trying to test the application the TextRecognizer.isOperational() method is always false. I…
0
votes
2 answers

Can I use the Google Cloud Vision API without activating the free trial?

Is there a way to test the Google Vision API in an application without activating my free trial? I am trying to use the API in a sample test application, but I can't enable the Vision API without having a valid billing method added. Error Message:…
0
votes
2 answers

Detect the number of physical objects in an image (Image processing)

I am developing a Ruby on Rails application where I want to detect the number of physical objects (bottles and food packets) in an image. I just explored Google Vision API (https://cloud.google.com/vision/) to check whether this is possible or not.…
Jayaprakash
  • 1,407
  • 1
  • 9
  • 19
0
votes
0 answers

Detecting Barcodes with Android vision API

I'm trying to use the google android vision API to detect bar codes. The camera frames are generated by an external UVCCamera, which provides java.nio.DirectByteBuffer as frames. I was trying to use the method public Frame.Builder setImageData…
KTB
  • 1,499
  • 6
  • 27
  • 43
0
votes
1 answer

Google vision api integration in java (error)

I am trying to implement and add google vision services to my project using the below github sample code link. https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/vision/text/ Running into this error in ImageText and Word java…
0
votes
1 answer

Text Detection for numbers only

I'd like the new mobile vision text recognition API to scan for numbers or letters only. Does the API allow for this currently? Right now I do a lot of post processing to clean up errors like "b" is really a "6", or If not now is there a plan for…
Thomas
  • 320
  • 2
  • 6
0
votes
2 answers

Google Vision Accent Character Set NodeJs

I'm trying to use Google Vision service with NodeJs. However when I request a text detection of an image, it gives only English Alphabet characters (characters without accents) which is not enough for me. How can I get the UTF-32 characters? For…
0
votes
1 answer

Google Vision API Capture image with graphic overlay

Im using one of api face tracker sample and i modified code a bit to see if it will work according to my idea for app. what i want to do is i want to add face masks after detecting face. What i've done so far, i've added a sample mask drawable and…
Usman Ghauri
  • 931
  • 1
  • 7
  • 26
0
votes
0 answers

Pre-processing Video Frame before calling Vision API

In NodeJS, I need to run some Vision API call on a live video stream. What pre-processing to do to select the best frame before calling the API ? Compare frame N with N-1 ? How ? Detect motion blur ? What frame rate should I use ? 1 fps ? I didn't…
Jean-Philippe Encausse
  • 1,491
  • 2
  • 22
  • 40
0
votes
2 answers

Android app stop working after screen rotation

Currently I am using Google Mobile Vision API to do face detection. Supposingly, after the screen rotated, the activity will be restart and all the variables will be reinitialised. However, I dun know why the app stop working and show…
Sam
  • 1,252
  • 5
  • 20
  • 43
0
votes
2 answers

Google Vision API - Invalid JSON payload received. Unable to parse number

I was working with google Vision API. When I curl in command line it gives me status 200 OK with the following command: curl -v -k -s -H "Content-Type: application/json" https://vision.googleapis.com/v1/images:annotate?key=API_KEY --data-binary…
Sudin Manandhar
  • 145
  • 1
  • 2
  • 11
1 2 3
47
48