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

Media Recorder with Google Vision API

I am using the FaceTracker sample from the Android vision API. However, I am experiencing difficulty in recording videos while the overlays are drawn on them. One way is to store bitmaps as images and process them using FFmpeg or Xuggler to merge…
18
votes
4 answers

Scanning QR code using Android's Mobile Vision API

I followed this tutorial on how to build an Android app that can scan QR codes. Here's the full code. I added the Google Play services using grade like so compile 'com.google.android.gms:play-services:7.8.0'. AndroidManifest.xml
Isuru
  • 30,617
  • 60
  • 187
  • 303
17
votes
1 answer

Google Mobile Vision Text API Example

I am currently writing code that should be able to view a picture of text and then extract the text from the picture for android based devices. I did some research online and found that Google provides their own API called "Mobile Vision" (a package…
Andrew
  • 240
  • 1
  • 3
  • 13
16
votes
0 answers

How to map Frame coordinates to Overlay in vision

I'm feeling that this Question is already solved many times, but I cannot figure it out. I was basically following this little Tutorial about mobile vision and completed it. After that I tried to detect Objects myself starting with a ColorBlob and…
Rafael T
  • 15,401
  • 15
  • 83
  • 144
16
votes
1 answer

Limit Detection Area in Vision API

It seems I've found myself in the deep weeds of the Google Vision API for barcode scanning. Perhaps my mind is a bit fried after looking at all sorts of alternative libraries (ZBar, ZXing, and even some for-cost third party implementations), but I'm…
Tiki McFee
  • 228
  • 3
  • 11
16
votes
7 answers

Google Vision barcode library not found

I'm trying to use the new feature in Google Play Services (Vision) to add QR code scanning to my application. But when I run my app I get this: I/Vision﹕ Supported ABIS: [armeabi-v7a, armeabi] D/Vision﹕ Library not found:…
15
votes
6 answers

Google Mobile Vision library not downloading

I am trying to implement the Google Mobile Vision TextRecogniser API into my app, to read text off a given Image. When I try to use the feature, I get this error: W/DynamiteModule: Local module descriptor class for…
user7541761
14
votes
3 answers

Google Vision API Samples: Get the CameraSource to Focus

I have checkout out the latest Google Vision APIs from here: https://github.com/googlesamples/android-vision And I am running it on a LG G2 device with KitKat. The only change I have made is to the minSdkVerion in the Gradle file: ... defaultConfig…
12
votes
3 answers

Custom byteArray data to WebRTC videoTrack

I need to use WebRTC for android to send specific cropped(face) video to the videoChannel. I was able manipulate Camera1Session class of WebRTC to get the face cropped. Right now I am setting it to an ImageView. listenForBytebufferFrames() of…
Andro
  • 952
  • 9
  • 19
12
votes
1 answer

How to use mobile vision API with TextureView and Camera

I am using mobile vision API for scanning barcode. I am using TextureView to render camera on it. I read this github thread https://github.com/googlesamples/android-vision/issues/15 it seems mobile vision is not compatible with TextureView I see…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
12
votes
2 answers

Does Machine Vision API work offline?

Does the Google Mobile Vision (https://developers.google.com/vision/) API work offline? Or does it need Internet connectivity? The sample app does not require any Internet permission. Which means the API works entirely offline. I am looking for a…
RajV
  • 6,860
  • 8
  • 44
  • 62
12
votes
3 answers

How to install the barcode scanning library without a google account?

I would like to install the android-vision portion of google play services on devices that are not allowed to have a google account signed in. Traditionally, the android-vision library is downloaded through the play store as an update to google play…
12
votes
3 answers

Switching to Camera2 in Android Vision API

I saw that in android vision api (the sample is here: https://github.com/googlesamples/android-vision) camera (camera1) is now deprecated and the recommend is to use camera2. Do you guys have any idea how to re-write CameraSource to use camera2 on…
Vietnt134
  • 512
  • 7
  • 19
12
votes
2 answers

Preview size for barcode scanner from vision api

I'm using the barcode-reader example from Google's Android Vision API. The preview size doesn't seem to fill up the whole space available (I'm using a Nexus 4 and there is a white unused space to the right of preview, about 1/3 of the width). I…
mmagician
  • 1,970
  • 2
  • 15
  • 26
9
votes
2 answers

How to Disable multiple barcode detection android Vision API

I'm trying to disable multiple Barcode detection at time. How to disable MultiProcessor using Google Vision API, I couldn't find any solution from official site here I have downloaded sample from here Code BarcodeDetector barcodeDetector = new…
Kishore Jethava
  • 6,666
  • 5
  • 35
  • 51
1
2 3
12 13