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

Android Google Play Service Vision Barcode scanner Library not found

I use Google play services Visible API for barcode reading. I tried a code from official CodeLabs example which doesn't work on some (not at all) devices. Here is Logcat message: I/Vision﹕ Supported ABIS: [armeabi-v7a, armeabi] D/Vision﹕ Library…
4
votes
1 answer

Unable to authenticate service account - Google Cloud

I'll premise that I've already googled and read the documentation before writing, I've noticed that it's a popular discussion here on StackOverflow as well, but none of the answers already given have helped me. I created a Google Cloud account to…
Eugenio
  • 118
  • 1
  • 11
4
votes
1 answer

Google Cloud Vision not automatically splitting images for trainin/test

It's weird, for some reason GCP Vision won't allow me to train my model. I have met the minimum of 10 images per label, no images unlabeled and tried uploading a CSV pointing to 3 of this labels images as VALIDATION images.. Yet I get this…
CarlMc
  • 210
  • 2
  • 11
4
votes
0 answers

Google OCR API taking too much time

I used google ocr api for text extraction and measured the time taken by google ocr api, got following results. mean 2684.05640 ms std 1372.60204 ms min 1690.95400 ms 25% 2111.69650 ms 50% 2271.03800 ms 75% 2644.83000…
4
votes
1 answer

Video Intelligence: Caller does not have permission

Using the following code on JupyterLab in order to run Google Video Intelligence Package: from google.cloud import videointelligence import os client =…
4
votes
1 answer

PermissionError using google cloud Vision Api in Firebase Functions in nodejs

I have a firebase function and I tried to use Vision API in my firebase function, but I get this error when serve locally PERMISSION_DENIED: Cloud Vision API has not been used in project 563584335869 before or it is disabled. Enable it by…
Reza
  • 18,865
  • 13
  • 88
  • 163
4
votes
3 answers

Could not load file or assembly. The located assembly's manifest definition does not match the assembly reference

I am trying to add one of the google vision API feature in the blue prism but I am getting the error "Internal: Could not execute code stage because an exception is thrown by code stage: Could not load file or assembly 'Google.Apis.Auth,…
robt
  • 41
  • 1
  • 1
  • 3
4
votes
0 answers

Comparing two similar pictures to get similarity value

I am trying to create my own app and I need to compare two pictures. A bit of clarification. Picture will contain a symbol written on a piece of paper. I will have the "Original" picture of piece of paper with symbol on it. I need to compare newly…
4
votes
1 answer

Missing description in Web Detection feature of Google Cloud Vision API?

I'm using the [Web Detection][1] feature of Google Cloud Vision API. However, for some images, the JSON response I receive don't have description parameters for some entities. On looking further, I found that description is missing for the entities…
4
votes
1 answer

Understanding DetectedBreak in google OCR full text annotations

I am trying to convert the full-text annotations of google vision OCR result to line level and word level which is in Block,Paragraph,Word and Symbol hierarchy. However, when converting symbols to word text and word to line text, I need to…
Arun Gowda
  • 2,721
  • 5
  • 29
  • 50
4
votes
2 answers

Is it possible to get the count of objects using Google's Vision API or Amazon's Rekognition?

I have been exploring to get the count of the objects in an image / video using AWS Rekognition & Google's Vision, but haven't been able to find a way out. Though at Google's Vision site, they do have a section 'Insight from the Images' where…
Amit
  • 194
  • 4
  • 20
4
votes
2 answers

How to use Google Cloud Vision API client for nodejs to detect multiple types

I am trying to use the @google-cloud/vision package to send requests to the Google Vision API. Is there a way to do multiple detections without doing something like: client .labelDetection(link) .then(...) client .safeSearchDetection(link) …
4
votes
1 answer

Response 400 from Google Vision API OCR with a base64 string of specified image

I've read How to use the Google Vision API for text detection from base64 encoded image? but it doesn't help at all. Cloud client library is undesirable for me because I am doing many image processing (e.g. rotating, cropping, resizing, etc.) before…
ytu
  • 1,822
  • 3
  • 19
  • 42
4
votes
1 answer

Camera Source (Google Mobile Vision) returns rotated image on some devices

I have the open sourced code for the Google Mobile Vision - CameraSource and this is the method I call to click a photo : cameraSource.takePicture(); In the open sourced version of CameraSource.java, the method for determining screen orientation is…
4
votes
2 answers

How to make Barcode Scanner only scan once (Google Mobile Vision API)?

I'm developing an app that has Barcode Scanner using google mobile vision api. I should be able to scan in ScannerClassy.java only once and save the result in MainActivity. The problem is when I scanned the barcode, it opened MainActivity.java 5-7…
Gina W
  • 45
  • 1
  • 7