Questions tagged [google-cloud-vision]

Google Cloud Vision API enables developers to understand the content of an image by encapsulating powerful machine learning models in an easy to use REST API.

Google Cloud Vision API enables developers to understand the content of an image by encapsulating powerful machine learning models in an easy to use REST API. It quickly classifies images into thousands of categories (e.g., "sailboat", "lion", "Eiffel Tower"), detects individual objects and faces within images, and finds and reads printed words contained within images.

You can build metadata on your image catalog, moderate offensive content, or enable new marketing scenarios through image sentiment analysis. Analyze images uploaded in the request, and in upcoming releases, integrate with your image storage on Google Cloud Storage. Documentation

889 questions
0
votes
1 answer

Google Cloud Vision - PHP - "Request had insufficient authentication scopes"

Trying to use Google Cloud vision to analyze files already stored in Google Cloud Storage. My code: $vision = new VisionClient([ 'projectId' => $projectId, 'keyFilePath' => , …
Andy Wallace
  • 609
  • 8
  • 26
0
votes
1 answer

Getting the LABEL_DETECTION results from Google Vision API in another language

More specifically I would like to get the labels in french, so instead of: "labelAnnotations": [ { "mid": "/m/019sc", "description": "black", "score": 0.95744693 }, { "mid": "/m/07s6nbt", "description":…
0
votes
1 answer

Cloud Vision API Not Returning Score for WebDetection.WebPage

Does the Cloud Vision API return a score? public float getScore() Overall relevancy score for the web page. The documentation states that it does; however, I have not been able to get a score for any image I submit. All queries return 0.0, which…
Eric Schmidt
  • 1,257
  • 12
  • 12
0
votes
1 answer

Cloud Vision API Android- text annotation

I am trying to implement Cloud Vision API (TEXT_DETECTION) and I want to get all texts and it's vertices positions from image. Here is an example: I want to get 4 "objects". One, Two, Three and Four with vertices positions. Here is the response…
0
votes
1 answer

All GoogleVision label possibilities?

I'm searching for a list of all the possible image labels that the Google Cloud Vision API can return? I believe they used the same labels the following project: https://github.com/openimages/dataset I thought of two possible methods of getting…
James Dorfman
  • 1,740
  • 6
  • 18
  • 36
0
votes
1 answer

Web Camera with Raspberry Pi3 to detect objects using Google Cloud Vision

I want to integrate USB Web Camera with Raspberry Pi3 and send the images captured to Google Cloud Vision to detect objects. Any Python 3 library for doing the same? I have successfully integrated my web camera and able to stream video over URL…
0
votes
1 answer

Python - Convert TIFF, PDF etc. to JPEG in-memory for input to Google Cloud Vision

I have a number of non-JPEG image files that I want to process using Google Cloud Vision, but the API only accepts certain formats (see question Cloud Vision API - PDF OCR and answer https://cloud.google.com/vision/docs/supported-files). I can use…
0
votes
1 answer

Nodejs express async foreach calback to redirect to another route

I have a multer multi-upload form, then i process the images with the Cloud Vision api, do some process on the OCR result and i want to redirect to another route (/next2) after ALL the files are processed. I edited my code with async.forEach but i…
Florian VIDAL
  • 1,601
  • 2
  • 9
  • 8
0
votes
1 answer

Can I use Google API without Google Compute Engine? (Cloud SDK)

https://www.youtube.com/watch?v=chk2rRjSn5o https://www.youtube.com/watch?v=nMY0qDg16y4&t=491s These series of videos use Google Compute Engine to access Google Cloud vision API. But, I only want to use Google cloud vision API on my local…
Sean
  • 489
  • 1
  • 8
  • 29
0
votes
1 answer

Problems with POST to Google Cloud Vision via Javascript

I'm attempting to make a very simple POST to Google Cloud Vision API via javascript with jquery. Testing in Chrome, I get a 400 error via the console and no further info to help in debugging. I'm hoping somebody out there has worked with Cloud…
A Moore
  • 181
  • 1
  • 10
0
votes
1 answer

OCR with Google Cloud Vision python API

I am using the Google Cloud Vision Python API for performing OCR, in order to extract info from a document, like an ID proof. Is there a way to crop the image in such a way that only the part with concentrated text is retained? I tried using…
0
votes
1 answer

Why google-cloud-python's vision API returns multiple annotations?

I am working with Google cloud vision API with Python (https://googlecloudplatform.github.io/google-cloud-python/stable/vision-usage.html) But I could not understand why the annotation result of a single image consists of list of annotations. The…
keisuke
  • 2,123
  • 4
  • 20
  • 31
0
votes
1 answer

How do I increase timeout to stop google-cloud-vision DeadlineExceededError?

I am using 'google-cloud-vision' gem (v0.23.0) to do some image OCR and my requests randomly fail with: DeadlineExceededError. The error rate ranges from 1% to 99% failure, on a day-to-day basis, so it is very unpredictable. When bypassing the gem…
Kamilski81
  • 14,409
  • 33
  • 108
  • 161
0
votes
1 answer

Face Detection in Video using Google Cloud API

I'm trying to do face detection in a video using Google Vision API. I'm using the following code: import argparse import cv2 from google.cloud import vision from PIL import Image, ImageDraw def detect_face(face_file, max_results=4): """Uses…
Beta
  • 1,638
  • 5
  • 33
  • 67
0
votes
0 answers

Google Cloud Vision API Testing

I'm using the following link, to start working on Google Cloud Vision platform. I tried the following steps: 1) Created the project 2) Created the bucket 3) I also ran the following code: 4) Ran each code given in the tutorial line-by-line When I'm…
Beta
  • 1,638
  • 5
  • 33
  • 67