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
0
votes
2 answers

Android Mobile-Vision How to Improve Accuracy when selecting from multiple

I trying to determine if Google's Mobile-Vision API for reading barcodes is going to allow me to meet my requirements. The problem I am facing currently is that I have a specific barcode that needs to be scanned. The barcode will be printed out…
TerNovi
  • 390
  • 5
  • 16
0
votes
2 answers

Android Vision API: read all barcodes, including duplicated

We are using this code to read all the barcodes of a file that contains 25 barcodes. It returns 23 of them because two of the barcodes are duplicated. We understand that this solution erases duplications. Is there any solution to avoid the erasure…
A.Cano
  • 1
  • 1
0
votes
1 answer

(Android) How to overlay an image (ImageView) anchoring the to the eyes?

Good afternoon! Tell me how to overlay an image (ImageView), anchoring the to the eyes? I want to track using Google Vision API. Maybe there is an example of how to put a hat on head? Added. (12 Jule 2016) Use the following…
0
votes
1 answer

Face Detection and tracking using android vision

I am trying to make a simple app to instruct the user (audio instructions) when a face is detected and based on the happiness level tracked. I use FaceTracker as the base for my program. I am not able to identify when a face is detected and where…
jaymj
  • 21
  • 2
0
votes
2 answers

How to use CameraSource to detect custom visual code which need color information

I want to use CameraSource to detect some visual code (which is not any kind of Barcode). I implements Detector and its detect(Frame frame) method. However, when I call frame.getBitmap() in the detect method, it always returns null. I know Frame has…
Jeffrey Chen
  • 1,777
  • 1
  • 18
  • 29
0
votes
1 answer

Duplicate CameraSource in barcode-reader sample. Why?

The barcode-reader sample comes with CameraSource class. However, com.google.android.gms.vision package also contains a similar implementation of CameraSource. The sample class has additional methods (e.g. setFocusMode(), setFlashMode()). If…
0
votes
1 answer

Facial detection with Google Vision API shows over VideoView

I've been using the Vision API from Google Play Services in my app, and all works fine in my devices (Nexus 7 2012 with Android 5.1, and a cheaper tablet with android 4.2.2), but not in some of the production devices. We have the vision api with the…
0
votes
1 answer

Error accessing ByteBuffer when trying to start face detection

I'm creating a face detection app. When I try to start the face detection, I get the following error: E/NativeFaceDetectorImpl: Native face detection failed E/NativeFaceDetectorImpl: java.lang.RuntimeException: Error accessing ByteBuffer. Here's…
David Matos
  • 560
  • 2
  • 11
  • 24
0
votes
1 answer

Sample App seems too be overly complex

Android Vision Documentation Android Vision Sample Apps I have been working with the Android Vision sample applications; however, I cannot seem to get them to detect anything. I was trying to go through the code to see if I can make the simplest…
Christopher Rucinski
  • 4,737
  • 2
  • 27
  • 58
0
votes
1 answer

Android Application : Augmented Reality or Image Recognition

I am interested in developing an Android Application that employs the Android Devices Camera to detect moving "Targets". The three types of targets I need to detect and distinguish between are pedestrians, runners (joggers) and cyclists. The…
Hector
  • 4,016
  • 21
  • 112
  • 211
0
votes
2 answers

Barcode scanning doesn't work if device doesn't have barcode reader app installed

I am trying to create barcode reader. I use Zxing library and I have a problem with device which has own barcode reader. My app is working perfectly. But on a device which has no barcode reader app, my app is not working. This is a my code, how I…
user3345767
  • 349
  • 1
  • 2
  • 11
-1
votes
1 answer

How to convert FirebaseVisionImage to a bitmap

I am using ml kit for text detection . We pass in FirebaseVisionImage to a detector. I need to set this FirebaseVisionImage to Image view. How can I extract hr bitmap from FirebaseVisionImage Thank you
Snake
  • 14,228
  • 27
  • 117
  • 250
-1
votes
1 answer

Interface working on activity but not in fragment

I have used a solution from the SO accepted answer here. It works well inside an Activity but when I implement it inside a Fragment, I got the following error: Exception thrown from receiver.java.lang.ClassCastException: …
-1
votes
1 answer

Recognize texts inside a red circle only

I am using mobile vision api for text recognition. I want the app to only read the text inside a let's say red circle. How can I do that?
1 2 3
12
13