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

Android Vision Barcode API - read custom QR code with binary data

I use com.google.android.gms.vision.barcode.BarcodeDetector in order to read QR codes. The problem is these codes carry raw binary data; no phone numbers, no URLs, no geopoints... I cannot change these QR codes, because they are generated in a…
vojta
  • 5,591
  • 2
  • 24
  • 64
9
votes
0 answers

Unknown Encoding for Data Matrix encoded with google Barcode Scanner (Vision)

I'm trying to scan some Data Matrix bar codes with my implementation of the Vision Barcode Scanner, but I'm having issues on the encoded ones. I'm using: int codesDetected = Barcode.ALL_FORMATS; But it still returns Unknown encoding for those…
nsL
  • 3,722
  • 3
  • 23
  • 40
9
votes
2 answers

How to create Bitmap from grayscaled byte buffer image?

I am trying to get frame image to process while using new Android face detection mobile vision api. So I have created Custom Detector to get Frame and tried to call getBitmap() method but it is null so I accessed grayscale data of frame. Is there a…
rcmalli
  • 357
  • 1
  • 4
  • 8
8
votes
2 answers

Using Google's Mobile Vision to recognize Text in a static image?

I'm trying to write a basic ocr android app using Google's Mobile Vision API, but I'm having difficulty actually getting the app to recognize text in a static image. I've looked through the codelabs tutorial, other people's questions, namely every…
ERiver
  • 83
  • 1
  • 6
8
votes
1 answer

How to Reduce the size of camera source in mobile vision API text detection

As google vision api text detection previews full screen to scan text. I want a small rectangle for text detection and display the recognized text below in a textbox
Mab121994
  • 101
  • 3
8
votes
1 answer

Android(Mobile) vision camera brightness is very low

I have integrated google vision in my project as shown in below post: http://code.tutsplus.com/tutorials/reading-qr-codes-using-the-mobile-vision-api--cms-24680 Everything looks fine except the camera view brightness . The camera view here is very…
VaV
  • 133
  • 1
  • 9
7
votes
0 answers

Putting a 3D face filter by using the Vision API

The similar question has been asked here: Add 2D or 3D Face Filters like MSQRD/SnapChat Using Google Vision API for iOS. However, it has not been answered yet. Essentially, my work assignment is to put a 3D face filter on a person's face while the…
Chez
  • 81
  • 1
  • 6
7
votes
2 answers

How to process individual camera frames while using Android mobile vision library

I am trying to make a camera app that detects faces using the Google mobile vision API with a custom camera instance, NOT the same "CameraSource" in the Google API as I am also processing the frames to detect colors too and with Camerasource I am…
Atef Etman
  • 121
  • 2
  • 8
7
votes
1 answer

Google Vision Barcode Detection Library Not Installing On Some Devices

I'm writing an app using the new Google Play Services Vision libraries to detect barcodes. Everything works fine on most devices I've tested on, but one particular device refuses to install the native libraries (mentioned in this comment) // Note:…
jsonfry
  • 2,067
  • 2
  • 15
  • 16
6
votes
2 answers

Crop face from the CameraSource

I am implementing the example given in google-vision face tracker. MyFaceDetector class: public class MyFaceDetector extends Detector { private Detector mDelegate; MyFaceDetector(Detector delegate) { mDelegate =…
Andro
  • 952
  • 9
  • 19
6
votes
0 answers

Why barcodedetector and associated APIs are so unreliable?

I've been experimenting with barcodedetector and associated Vision APIs for a week or so and - unfortunately - the conclusion is that they are unreliable. I've tested them with ~10 devices: Samsung and Nexus tablets/phones with Android 4.4 to 6.01. …
6
votes
1 answer

Autofocus control on camera when using Android vision api's

I was trying to use Android-vision api's for barcode scanning . Although barcode/QRcode scanning works , but to bring barcode/QRcode in focus you need to move your whole mobile back and forth. There does not look any inbuilt auto-focus mode .…
Tushar
  • 1,607
  • 1
  • 16
  • 27
6
votes
2 answers

Trying to import code from GitHub into Android Studio

I feel incredibly dumb asking this, but I've downloaded the sample code of the Android Mobile Vision API available here: https://github.com/googlesamples/android-vision. I'm trying to import this code into Android Studio so that I am able to just…
Pratik Thaker
  • 637
  • 2
  • 10
  • 18
5
votes
1 answer

Offline Face Recognition On Flutter

I am trying to build a flutter app which will have two functionality. 1. Save face data 2. Recognize face based on saved face data. I want to do this offline. The possible solution I found on google is using Firebase ML Kit, but that requires a…
5
votes
1 answer

Android-vision OCR; Android-vision

Have gone through the Android OCR vision sample on github link https://codelabs.developers.google.com/codelabs/mobile-vision-ocr/index.html?index=..%2F..%2Findex#0 How can you automatically identify and pick numbers of a credit card without…
Job M
  • 3,331
  • 2
  • 19
  • 26
1
2
3
12 13