Questions tagged [google-vision]

The Google Mobile Vision API for Android provides a framework for finding objects in photos and video.

The Google Mobile Vision API for Android provides a framework for finding objects in photos and video.

Note that issues related to the Google Cloud Vision API should use the tag "google-cloud-vision" rather than this tag.

Learn more about the Google Mobile Vision API through the Google Mobile Vision documentation and Google Mobile Vision sample apps.

720 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…
30
votes
1 answer

How to capture barcode values using the new Barcode API in Google Play Services?

I've been playing with the sample code from the new Google Barcode API. It overlays a box and the barcode value over the live camera feed of a barcode. (Also faces) I can't tell how to return a barcode value to my app. A) How to tell when a…
Scott
  • 3,663
  • 8
  • 33
  • 56
21
votes
2 answers

Add 2D or 3D Face Filters like MSQRD/SnapChat Using Google Vision API for iOS

Here's some research I have done so far: - I have used Google Vision API to detect various face landmarks. Here's the reference: https://developers.google.com/vision/introduction Here's the link to Sample Code to get the facial landmarks. It uses…
Harjot Singh
  • 6,767
  • 2
  • 38
  • 34
21
votes
7 answers

Computer Vision and AR libraries availabe for Android?

I am starting out as an Android Developer, and I would like to know if there are any Computer vision libraries or Augmented Reality libraries for the Android SDK, as I am planning to use these libraries for a mobile app. I have read that if I…
19
votes
3 answers

Mobile Vision API - concatenate new detector object to continue frame processing

I want to use the new face detection feature that the vision API provides along with additional frame processing in an application. For this, I need to have access to the camera frame that was processed by the face detector, and concatenate a…
Lxu
  • 437
  • 1
  • 5
  • 12
17
votes
4 answers

NodeJS Google Vision is unable to detect a Project Id in the current environment

Under Ubuntu environment, NodeJS Google Vision complains: Error: Unable to detect a Project Id in the current environment. Even though I already put json credential through $ export…
Arif Chasan
  • 171
  • 1
  • 1
  • 3
16
votes
3 answers

Limiting the detection area in Google Vision, text recognition

I have been searching the whole day for a solution. I've checked out several Threads regarding my problem. Custom detector object Reduce bar code tracking window and more... But it didn't help me a lot. Basically I want that the Camera Preview is…
Alan
  • 589
  • 5
  • 29
16
votes
3 answers

Take picture with drawable/paint on face using vision api

What I am trying? I am trying to take picture with drawable/paint on face but, i am not able to get both on same picture. What I have tried? I have tried using CameraSource.takePicture but i am just getting face without any drawable/paint on…
SANAT
  • 8,489
  • 55
  • 66
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:…
14
votes
4 answers

Attribute error DESCRIPTOR while trying to convert google vision response to dictionary with python

I am on Windows, using Python 3.8.6rc1, protobuf version 3.13.0 and google-cloud-vision version 2.0.0. My Code is : from google.protobuf.json_format import MessageToDict from google.cloud import vision client =…
Martin J
  • 2,019
  • 1
  • 15
  • 28
14
votes
2 answers

Android cameraSource.stop() causing app to freeze

I am building an app that has a qr scanner using the google vision api. I am having trouble stopping the camera after the qr code is read. the flow is MainActivity -> QrActivity once the qr-code received a detection the app should return to the main…
Lonergan6275
  • 1,938
  • 6
  • 32
  • 63
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
5 answers

Vision API: How to get JSON-output

I'm having trouble saving the output given by the Google Vision API. I'm using Python and testing with a demo image. I get the following error: TypeError: [mid:...] + is not JSON serializable Code that I executed: import io import os import json #…
Bruna B
  • 173
  • 1
  • 11
12
votes
6 answers

How to Improve OCR on image with text in different colors and fonts?

I'm using the Google Vision API to extract the text from some pictures, however, I have been trying to improve the accuracy (confidence) of the results with no luck. every time I change the image from the original I lose accuracy in detecting some…
RaedMarji
  • 719
  • 1
  • 7
  • 10
1
2 3
47 48