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

Too many textAnnotations result from google vision

I have try to request TEXT_DETECTION and 1 of maxResults, this is body json sample : { "requests": [ { "image": { "content": "", "source": { "gcsImageUri": "", "imageUri":…
itx
  • 1,327
  • 1
  • 15
  • 38
0
votes
1 answer

cannot resolve symbol in barcode activity

I'm trying to implement google's barcode scanner within my application. The following code calls the barcode activity: public void onClick(View v) { if (v.getId() == R.id.read_barcode) { Intent intent = new Intent(this,…
charwayne
  • 103
  • 1
  • 3
  • 18
0
votes
1 answer

How to pass the actual barcode scanned to an ImageView

I've an activity in my app which Either picks an image from gallery to scan for a barcode and then displays the result in a TextView and picked image in an ImageView OR starts the camera to scan one and displays the result in the respective…
Hardik sharma
  • 313
  • 2
  • 15
0
votes
1 answer

Different results using google-cloud-vision online and api

I used google vision online in https://cloud.google.com/vision/ to get the detected text for an image file. I received 5 results. Then I used the api to get the detected text for the same image file. But I only received 3 results and only 1 is…
Chan
  • 3,605
  • 9
  • 29
  • 60
0
votes
1 answer

Google Vision complex OCR execution with two-column text

Sorry if this question was already asked here before, but I was unable to find an answer. So, I'm creating C# OCR program in order to scan shop receipts. Vision OCR DocumentTextDetection itself works very accurately with text, but i have other…
0
votes
1 answer

Image detection with Google Vison and NodeJS

I'm using Node JS to call Google Vision Cloud API. It's working fine but I can't understand how to process the returned object. clinet.textDetection(fileName).then(response => { console.log(response); console.log(Type(response)); …
Andrea Girardi
  • 4,337
  • 13
  • 69
  • 98
0
votes
1 answer

App crashes when rotating screen

I am using Mobile Vision API to detect faces on front facing camera. I used Google's FaceTracker demo, but I need to use it in Fragment. It is working, but when I try to rotate screen, application crashes with exception RuntimeException: Fail to…
Jakub Gruber
  • 745
  • 1
  • 11
  • 27
0
votes
1 answer

how to use google cloud vision to extract multiple text language in android studio

I am trying to build an android application (in android studio platform) which extracts different text languages from image using google cloud vision, but I have a problem in starting. I don't know how to use google cloud files. Which files do I…
0
votes
0 answers

Chemical displayed formula recognizer is it possible to get location of charcter from google vision?

I want to create an app that you can take a photo of a chemical displayed formula and it will give you its name and formula. I want to use google vision, but I am not sure if google vision can recognize characters or can it only recognize words?…
Nima Hojat
  • 31
  • 7
0
votes
0 answers

Why is AWS Rekognition faster than Google Cloud Vision?

I'm using a Raspberry Pi 2 to upload a test image to both AWS and Google Cloud. Google takes 3 seconds to return a label response. Amazon takes 1 second. Amazon Rekognition Results: pi@raspberrypi:~ $ python amazon-detect.py > People >…
0
votes
1 answer

Google Vision crashes when getting UIImage from sample buffer

I finally decided to use Google Mobile Vision sdk for detecting faces and smiling in camera and their sdk and sample look very good and promising. But after I pasted their sample code into my project it always crashes in captureOutput(_ output:…
Pei
  • 11,452
  • 5
  • 41
  • 45
0
votes
0 answers

Use google mobile vision api to freeze the screen as soon as a barcode is detected

The following method is in BarcodeCaptureActivity.java of the sample code google shared on GitHub. @Override public void onBarcodeDetected(Barcode barcode) { // I want to stop preview as well as freeze the screen // when the first…
Aayush Karki
  • 781
  • 3
  • 10
  • 25
0
votes
1 answer

Google Mobile Vision: Face Detection stops after 3 seconds

Face Detection finds my face, then after 3 seconds the circle disappears. Only happens on some phones, so I am unsure why it is happening. My code is pretty boilerplate: @Override protected void onCreate(Bundle savedInstanceState) { …
0
votes
1 answer

request with Google Vision API - Invalid JSON payload received and INVALID_ARGUMENT

Trying to follow the instruction in link to create a request from my iOS app but get Invalid JSON payload received and INVALID_ARGUMENT error messages. Any suggestions? Here is the example I am trying to use. { "requests":[ { "image":{ …
Pak Ho Cheung
  • 1,382
  • 6
  • 22
  • 52
0
votes
0 answers

How to extract name and address from packing labels using regex in python?

I have scanned image and extracted text from image using Google Vision Api. Now i'm facing problem in extracting name and address from scanned text.Through some regex i'm able to detect street code and zipcode from text but not whole address and…