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

GMV can't detect AAMVA driver license

I'm using Barcode API from Google Mobile Vision GMV to scan AAMVA driver license type. - (void)viewDidLoad { [super viewDidLoad]; NSDictionary *options = @{ GMVDetectorBarcodeFormats : @(GMVDetectorBarcodeFormatQRCode |…
OXXY
  • 1,047
  • 2
  • 18
  • 43
2
votes
1 answer

How to detect face orientation changes on live preview ,face detection android

I am developing an app using google-face detection API, I have used the sample project, what I need is, I want to add the overlay image (mask) based on face orientation changes, eg: if face is rotated to right side or left side I want to update the…
Jack
  • 1,825
  • 3
  • 26
  • 43
2
votes
4 answers

How to detect eye blink using Google vision API in android ?

i'm using the vision API for face detection, now i want to implement eye blink but still vision api detect eye blinking in image(photo) of a person(not live). In addition, I am using a Tracker to keep track of the eye state over time, to detect the…
2
votes
2 answers

Google Vision API: Handle native crash

Anybody knows how can I handle exceptions coming from native method calls? I'm running the Barcode Reader example from Google Vision API, it works very well reading some 2d - pdf417 codes, but in some cases it crashes with a native exception…
2
votes
1 answer

Android vision text OCR api for single image

How to read/analyse text which is in a single image. Example given in android document is using CameraSource api to find text from camera captured image. I want to find/read text in a JPG file, is there any option to do using mobile vision api?.
Rakki s
  • 1,426
  • 1
  • 18
  • 42
2
votes
0 answers

Is it possible to search for object in image?

Is there any api provided to find a image match/contains in a another image. Like opencv template matches ?
Rakki s
  • 1,426
  • 1
  • 18
  • 42
2
votes
3 answers

Text Recognition failing to recognize currency symbols

I am using the text recognition API within mobile vision, and trying to work with currency amounts. The OCR currently supports Latin based languages like French, German, etc., so I figured the country's currency (Euro) would be a recognized symbol,…
naesmanak
  • 173
  • 2
  • 14
2
votes
5 answers

Android Mobile Vision API detect mouth is open

I am exploring wonderful mobile vision apis, I am working on Face Tracker example and looking for a solution where I can find out whether mouth is open or not. e.g. person is yawning. There is not direct way like…
Hardik Trivedi
  • 5,677
  • 5
  • 31
  • 51
2
votes
1 answer

CameraSource .setAutoFocusEnabled(true) returns: Camera auto focus is not supported on this device although device supports auto focus

Below is my barcode scanner activity, everything works fine except for the setAutoFocusEnabled(true). It returns a message on runtime that says my device does not support auto focus although the Samsung Tab E T561 is an auto focus enabled…
2
votes
1 answer

How to set zoom android camera vision.barcode-scanner API

I am making a barcode scanner app using the vision.barcodereader API. I was wondering how to set my cameraSource's zoom programattically, so that the zoom camera zoom starts at a specific zoom i.e. 25%. Also, the zoom does not have to be adjustable,…
Neekon Saadat
  • 417
  • 6
  • 18
2
votes
1 answer

How to convert Bitmap into a Frame?

Currently I'm working on a android program using Mobile Vision. I am using the "TextRecognizer" class and one of the methods is .detect(Frame frame). Right now I have a image I want to input into it, however, the image is the file type "Bitmap". I…
Andrew
  • 240
  • 1
  • 3
  • 13
2
votes
1 answer

Get Frame when detecting text using a pipeline in Android Mobile Vision

I am detecting text using a pipeline just like the Google CodeLabs sample code. How do I get the preview Frame that the CameraSource sends to the TextRecognizer?
amanuel
  • 23
  • 3
2
votes
1 answer

Zbar vs zxing vs Google barcode api

I'm developing android application for qr code scanner , I tried both Google android barcode API and zxing , but still confused which is better to use , and I have to develope one more application to generate barcode , is there any other library…
Dharmita bhatt
  • 475
  • 4
  • 16
2
votes
1 answer

Fail to connect to camera service although declared permissions

for some reason i am getting this error evan though i added the right permissions in the manifest, i am trying to use the camera and scan a barcode with google android mobile vision api
maor
  • 61
  • 2
  • 10
2
votes
3 answers

Create on click focus on CameraSource - Android QR Code detection

I'm developing an android app which allows user to check a QR Code content and execute something according read result. In order to improve the performance i'd like to implement 2 methods: onClickFocus (which allows user to focus the camera when…