Questions tagged [android-vision]

The vision package (com.google.android.gms.vision) provides common functionality for working with visual object detectors. Face Detection in Google Play services 7.8, includes vision API for optical character recognition, detecting faces, and reading barcodes.

The vision package (com.google.android.gms.vision) provides common functionality for working with visual object detectors.

It's new Face Detection in Google Play services, includes vision API for detecting faces and barcodes.

With the release of Google Play services 7.8, we announced the addition of new Mobile Vision APIs, which includes a new Face API that finds human faces in images and video better and faster than before. This API is also smarter at distinguishing faces at different orientations and with different facial features facial expressions.

We need Android Google Play Services SDK level 25 or greater( Google Play services 7.8)

Note: Face Detection is a leap forward from the previous Android FaceDetector.Face API

Fore more info Face Detection in Google Play services

194 questions
1
vote
1 answer

QR Codes - raw binary data

Does anybody know if there is a way to get the raw binary data of a QR code using the android vision API ? The QR codes I am reading have binary data (including NUL characters) in them but are built with 8 bit encoding so the full binary data block…
Darren Legge
  • 31
  • 1
  • 4
1
vote
0 answers

Barcode API for Windows Phone and iOS similar to Android Mobile Vision existing?

I have created an android app using the relatively new Android Mobile Vision API (https://developers.google.com/vision/). I was wondering if you guys know if there is a similar API, which also detects multiple barcodes (and faces in best case) in a…
Melisandre
  • 11
  • 1
1
vote
1 answer

getIsLeftEyeOpenProbability from mobile vision API gives a vlaue of -1

I'm using getIsLeftEyeOpenProbability from mobile vision API to know if the eye is open or not. However, something strange happens, I always get the probability as -1 even if the eye is opened. Here is the code: FaceDetector faceDetector = new…
Dania
  • 1,648
  • 4
  • 31
  • 57
1
vote
3 answers

Flower (plants) recognizion

Can Mobile Vision API be used us order to detect flower (plants) species? Do you have other recommendation? I have tried looking to several other API's but not sure what to use. Thanks
1
vote
0 answers

How to add Media Recorder to Android Google Play Service Vision Barcode scanner

This question was asked but never answered here -- but it is somewhat different than my need, anyway. I want to record video, while running the Google Vision library in the background, so whenever my user holds up a barcode (or approaches one…
MarkJoel60
  • 537
  • 2
  • 6
  • 24
1
vote
0 answers

Android Vision reading ean-13 barcodes from bitmap

I'm trying to read barcodes from a picture but i can only read QR codes? I've, as you can see from the code below, tried to make the bitmap a higher res as I hoped that it was the image resolution that made the image unreadable. But that didn't…
Lasse
  • 597
  • 2
  • 10
  • 33
1
vote
1 answer

Android Mobile Vision access to camera parameters

Is it posible access to Camera parameters in CameraSource on Android's Mobile Vision API 8.4? I want to be able to adjust some Camera parameters (Shutter speed, ISO, aperture,...). UPDATE I try to do it using this code: public Camera…
Peña
  • 307
  • 4
  • 10
1
vote
1 answer

Google Mobile Vision: Poor FaceDetector performance without CameraSource

Right now, our application is running Snapdragon SDK successfully. We are trying to implement FaceDetector from Vision 8.3.0 on our project, in order to increase the number of compatible devices. We can't use CameraSource, as we rely on a custom…
1
vote
2 answers

How to get android vision sample camera preview to fit to screen

I tried making the preview match parent and tried the fill but I cannot make it work. There is a large grey line to the right of the screen
Darian B
  • 317
  • 2
  • 3
  • 15
1
vote
2 answers

Android Multi-tracker sample project runs but shows no form of detection

I have been trying to test the new Vision API and got the multi-tracker app running in Android Studio. I am running the sample app on my phone, but I am not able to detect any barcodes. I have tested ISBN codes, QR codes, and faces. Both with large…
Christopher Rucinski
  • 4,737
  • 2
  • 27
  • 58
1
vote
2 answers

What does one persist and return the RawValue from the tracker?

I am evaluating the Multi-Tracker sample and I want to get hold of the RawValue of the barcode detector once one is available. I would like to dismiss the Tracker once a valid RawValue has been obtained and use the value elsewhere. Any suggestions…
Jnkrw
  • 13
  • 2
0
votes
1 answer

Crash in com.google.android.gms.vision.text.TextRecognizer.detect

I have a crash in com.google.android.gms.vision.text.TextRecognizer.detect which I am trying to get some progress on. The crash is non repro; reported from field; by a very small percentage. Our code analysis and testing has not revealed anything.…
Amit
  • 1,836
  • 15
  • 24
0
votes
1 answer

How to extract invoices data from an image in android app?

My task is to extract text from a scanned document/ JPG and then get only below mentioned 6 values so that I can auto-fill a form-data in my next screen/ activity. I used google cloud vision api in my android app with a Blaze version(paid), And I…
0
votes
1 answer

Play services vision API in Funtouch OS

I have a Vision API Barcode scanner logic which is based on play-services-vision:17.0.2 to scan barcodes and QR codes. This is working on most phones apart for the users in the China region where play services and stores are disabled. So, I need to…
harshal
  • 592
  • 6
  • 25
0
votes
1 answer

Android Vision Text scanning leaks memory in Xamarin.Android

After noticing a few crashes on older devices when using TextRecognizer from the library Android.Gms.Vision I decided to profile it using Android Studio and the result was the following: While the process is running, even if the method…
Luca Mozzo
  • 892
  • 2
  • 8
  • 20