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 vision API label detection

in google vision api label detection, can't know where object located ? any options or idea ?? I have tried in sample, and then response json is does not include object position!
Yeon JunHo
  • 11
  • 2
0
votes
1 answer

Google API throwing 400 error yet display URL OK

The program is throwing this 2 errors: POST https://vision.googleapis.com/v1/images:annotate?key=APIKEY EXCEPTION: Response with status: 400 OK for URL: I did some research regarding this error is that if the enum return is OK for URL means that the…
GX-X
  • 115
  • 1
  • 4
  • 14
0
votes
0 answers

Google Cloud Vision API - send base64 encoded image in POST request

I'm making a little project using the Google Vision API. I want to detect the face of a base64 encoded image that a send to the API in a POST request. My code is based on this tutorial of Google:…
0
votes
2 answers

Authentication to Google Cloud Python API Library stopped working

I have problems with the authentication in the Python Library of Google Cloud API. At first it worked for some days without problem, but suddenly the API calls are not showing up in the API Overview of the Google CloudPlatform. I created a service…
0
votes
1 answer

how to use the google cloud vision OCR on iOS (swift)

How to adapt the swift google sample code of (FACE_DETECTION) and (LABEL_DETECTION) to use the OCR API (TEXT_DETECTION) so far I did not find any sample code or explanation how to use the google OCR on iOS, I have changed the type of the API request…
0
votes
2 answers

Google Cloud Vision - Could not load the default credentials

I am using PHP library for using Google Cloud Vision. The docs tells about 2 ways of authentication - 1) API and 2) Service Account. How do I use API based auth with my VisionClient? There is no document on using it. Please let me know if I am…
Purus
  • 5,701
  • 9
  • 50
  • 89
0
votes
1 answer

List of all tags in Google Landmark API

I want to use Google's Cloud Vision API for my Android Application. My application needs to know the list of all tags present in this API (all landmark tags out of which response tags will come) Can anybody please help me out. Thanks so much.
Sachin Aggarwal
  • 1,095
  • 8
  • 17
0
votes
1 answer

Google vision API rest integrartion

I am using trail version of google vision API ,using the rest API i am trying to get the face_detection values from postman tool but i am facing an issue showed below.can anyone help me on this. "message": "Requests from referer…
mahesh
  • 1
  • 1
0
votes
3 answers

Google Vision API

I'm trying to post data to Google Vision API. Butt i always get 400 response code - bad request. I have no ideas already. I have read and tried to use those…
0
votes
2 answers

get java.net.SocketTimeoutException: connect timed out when running vision sample code

My project has a OCR requirement and I want to use the google cloud Vision API. I download the sample code via GIT, but it report follow errors: Exception in thread "main" java.net.SocketTimeoutException: connect timed out at…
claire mao
  • 1
  • 1
  • 1
0
votes
2 answers

Can I use the Google Cloud Vision API without activating the free trial?

Is there a way to test the Google Vision API in an application without activating my free trial? I am trying to use the API in a sample test application, but I can't enable the Vision API without having a valid billing method added. Error Message:…
0
votes
1 answer

OCR doesn't work well on large images (with much text) - Google Cloud Vision API

We noticed that Google Vision API doesn't work well if an image has a lot of text. It returns 'strange' results. Here is an exapmle: https://www.dropbox.com/s/vhqxxwgj4stvfc9/screenwithproblem.jpg?dl=0 - Will return something like this: …
0
votes
1 answer

Dataflow pipeline reading csv from GCS and writing to BigBuery with calls to Vision and NL API

I want to write a Dataflow program(Java and maven Implementation). Here are the steps I want to perform: Dataflow should read a csv file from google cloud storage. The csv file is in following format: Product Name, Image URL, Category,…
0
votes
1 answer

Google cloud vision API UnKnonHostException

Can anyone help me why i am getting this issue.... But not always only some time.... java.net.UnknownHostException: Unable to resolve host "vision.googleapis.com": No address associated with hostname --------- Stack trace ---------…
Villonava Anand
  • 65
  • 1
  • 10
0
votes
0 answers

Google Vision Rest API in Xamarin

I'm trying to call the Google Vision REST API from a Xamarin.Forms app. I have the following code:- private async void SendToGoogle(MediaFile file) { using (HttpClient client = new HttpClient()) { string uri =…