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

Google vision api: what do web detection scores indicate?

Per this link: https://cloud.google.com/vision/docs/internet-detection "Here is the Python command with the passed-in Web URL of the car image, followed by console output. Note that a relevancy score is added after the listed entities. Note that…
Josh Flori
  • 104
  • 11
0
votes
0 answers

Mobilevision facetracker in videochat (quickblox)

Hello I use quickblox API for videocall and I am trying to implement google mobile vision API i have no errors but not overlays are shown and nothing happens in the video call can you please help me with that .
0
votes
1 answer

Google vision API changes app pictures with its own pictures

I am making an app using Google Vision API for face detection. As the pictures show, my app displays two images normally without Google Vision, but with it Google Vision automatically changes the two images with its own. The images are stored inside…
Astart.e
  • 25
  • 5
0
votes
1 answer

How to improve Google Vision results while detecting a text on an image if we know the language of

How to modify the following Python code to return results in German? Is it possible? Thank you. def detect_text_uri(uri): """Detects text in the file located in Google Cloud Storage or on the Web. """ client =…
0
votes
1 answer

Implement FaceDetector and TextRecognizer in single CameraSource (Google Mobile Vision)

In my android application I need both face detection and ORC function at the same time. Can I implement both on same CameraSource? Is it possible? Context context = getApplicationContext(); TextRecognizer textRecognizer = new…
Sathindu
  • 407
  • 1
  • 5
  • 21
0
votes
1 answer

Google Vision API - Split OCR Results to Different Lines?

I'm trying to use the Google Vision API in C# for an image with text on multiple lines. I want each line to be a separate string, but the API puts it all into 1 string. I tried filtering by capitals at the beginning, but some lines have capitals at…
NateDev
  • 141
  • 5
  • 14
0
votes
0 answers

Algorithm to determine if TextBlock matches parameters

Building an app using the Google Mobile Vision Text API which scans Library of Congress Classification Numbers from library books and determines if any books are out of order. I am having trouble writing the algorithm that is going to determine if…
Dez
  • 21
  • 6
0
votes
1 answer

Will google vision/natural language api start charging when the number of free requests are exceeded?

I am preparing my first batch of requests to google vision/natural language apis. I plan on sending enough requests to exceed the free quota. I do still have my $300 in free credits in my account. So my question is: when my script is running and…
Josh Flori
  • 295
  • 1
  • 2
  • 13
0
votes
1 answer

Google API PHP error 500

I'm using google vision API in one of my PHP script. Script works well when I'm executing it through the terminal: php /var/www/html/my_script.php But when I want to execute it from my browser I'm getting an error 500: PHP Fatal error: Uncaught …
woshitom
  • 4,811
  • 8
  • 38
  • 62
0
votes
0 answers

PHP import Google Cloud Platform class

I'd like to use the Google Cloud Vision API with PHP. Inside my www directory I executed the following command line: composer require google/cloud So now inside www I have a vendor/ directory which has the following files/directories: autoload.php,…
woshitom
  • 4,811
  • 8
  • 38
  • 62
0
votes
1 answer

Could not load the default credentials even after setting env

I set up env varible VISION_KEYFILE_JSON with key values of the vision app, when I console console.log(`key: ${process.env.VISION_KEYFILE_JSON}`); It gives the key, when executing the code const client = new vision.ImageAnnotatorClient({…
Mariya James
  • 935
  • 2
  • 9
  • 27
0
votes
1 answer

setAutoFocusEnabled(true) doesn't work although my device supports auto focus

I'm trying to create a barcode reader. The program works perfectly when the barcode is big. To read small barcodes i will need autofocus enabled. I added setAutoFocusEnabled(true) to cameraSource, but it doesnt work. How can i fix the following code…
0
votes
0 answers

How to read text from image using google vision in android

I want to read texts from image using google vision text API. I have created my own UI which contains surfaceView. How to integrate google API
Ragini
  • 765
  • 1
  • 11
  • 29
0
votes
1 answer

Google Vision crashes when 2 codes are presented

I am using google vision in my application to read barcodes and qr-codes. This is working great, but it crashes when the scanned surface has 2 codes next to each other, like in the picture below. This happens, even though the codes are scanned…
BramH
  • 221
  • 5
  • 24
0
votes
1 answer

java.lang.VerifyError exception while authenticating for Google Vision Api

The code for vision api works fine when using a java application however when using spring a java.lang.VerifyError exception is thrown on the following line. Labels app = new Labels(label.getVisionService()); It was certain that i had specified the…
Manali
  • 3
  • 8