Google Cloud Vision API Permission Denied

I was trying to run the sample app, found here Github Sample, I have created a certificate and created a API Key and applied as instructed. But when I upload the Image I am getting this Exception....

Does google-cloud-vision stores uploaded images ? what is privacy policy for that?

I want to implement google-cloud-vision API for OCR on my Project. But due to compliance issues, I need to know does google-cloud-vision stores the uploaded image? if yes what is the privacy...

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...

Get correct image orientation by Google Cloud Vision api (TEXT_DETECTION)

I tried Google Cloud Vision api (TEXT_DETECTION) on 90 degrees rotated image. It still can return recognized text correctly. (see image below) That means the engine can recognize text even the...

GoogleCloud DataFlow Failed to write a file to temp location

I am building a beam pipeline on Google cloud dataflow. I am getting an error that cloud dataflow does not have permissions to write to a temp directory. This is confusing since clearly dataflow...

Google Vision API specify JSON file

I'm trying to authenticate to Google Vision API using a JSON file. Normally, I do it using the GOOGLE_APPLICATION_CREDENTIALS environmental variable which specifies the path to the JSON file...

Google Vision API detects labels for only public images on GCP

I am storing images on Google Cloud Storage and using Google Vision APIs to detect labels of those images. I use the same account and credentials for both purposes. I am using the sample program...

Google Cloud Vision Document OCR - keep layout in the resulted text

I use Google Cloud Vision Document OCR API. The resulted text that is returned by com.google.cloud.vision.v1.AnnotateImageResponse.getFullTextAnnotation().getText() is a little bit messy and lose...

Android Proguard - Build fails when shrinkResources is true

I am trying to build a project with proguard enabled. It works fine if I use shrinkResources false but build fails when shrinkResources is true with error Error:The string "--" is not permitted...

google-cloud-vision how to read pdf file

I am using Google OCR API and I am reading both images and PDF files, I am able to read and process images file, however, for PDF files, as per Google OCR API documentation, they have mentioned...

Vision API: How to get JSON-output

I'm having trouble saving the output given by the Google Vision API. I'm using Python and testing with a demo image. I get the following error: TypeError: [mid:...] + is not JSON...

Can I use Google Cloud data labeling service to do text classification?

I have a large dataset with lots of news articles, stored in Google Cloud Storage. I want to train a sentiment classifier (positive, negative, neutral). Does Google has a data labeling service...

Docker - Problem with java netty_tcnative

I am trying to dockerize 4 services and I have a problem with one of the services. Particularly, this service is implemented is spring boot service and uses google vision API. When building the...

Firebase functions fails to deploy with same error in all functions

I'm trying to deploy my firebase functions but all the functions return me error, I had already deployed before without any error. I did not install anything new since the last time that a deploy...

How to use google cloud vision along with unity for recognising text using mobile camera?

I am testing on a project on how to read text from objects and pictures using google cloud vision.Using mobile camera(iphone,ipad preferably or android phones)I would like to get the required...

Can't start training in Google Cloud Vision Object Detection, Train Test Validation not splitting

I am having problem in start training Object Detection model on Google Cloud Vision. I have uploaded 342 images of 4 classes, and labelled 102 of them. There are 38,24,20,20 labelled images for...

Google Cloud Vision - PHP Error occurred during parsing

Im using Vision API Client Library for PHP. This is my code: use Google\Cloud\Vision\V1\ImageAnnotatorClient; putenv("GOOGLE_APPLICATION_CREDENTIALS=/json.json"); $imageAnnotator = new...

More than one file was found with OS independent path 'META-INF/INDEX.LIST' (Android / Gradle)

I am trying to build my app and get the following error: More than one file was found with OS independent path 'META-INF/INDEX.LIST' I am pretty sure it is a conflict between these two Gradle...

Flutter OCR - Google Cloud Vision API

I have a problem implementing Google Cloud Vision API into my flutter code. I need to have an OCR functionality and the language I’m targeting is only available through this API. Any help?

OCR confidence score from Google Vision API

I am using Google Vision OCR for extracting text from images in python. Using the following code snippet. However, the confidence score always shows 0.0 which is definitely incorrect. How to...

Android - TFLite OD - Cannot copy to a TensorFlowLite tensor (normalized_input_image_tensor) with 307200 bytes from a Java Buffer with 4320000 bytes

I'm trying to run my own custom model for object detection. I created my dataset from Google cloud - Vision (https://console.cloud.google.com/vision/) (I boxed and labeled the images) and it...

Local scraper and cloud scraper returns different results

I tried to scrape instagram and getting different results. Function was deploing by command below. When I tried very simillar function from this video:...

Attribute error DESCRIPTOR while trying to convert google vision response to dictionary with python

I am on Windows, using Python 3.8.6rc1, protobuf version 3.13.0 and google-cloud-vision version 2.0.0. My Code is : from google.protobuf.json_format import MessageToDict from google.cloud import...

Authenticate Google Cloud vision without using environment variables (set credentials by code)

I am trying to connect to Google Cloud Vision from an AWS lambda function, the only way to authenticate seems to be by setting a certain environment variable, is there a way to authenticate using...

Google Vision OCR, rotate words coordinates to 0 degrees from 90, 180, 270 documents

The Problem Given that we have following guide, taken from Google Vision OCR documentation...

How can I use Google Vision OCR On-Premise?

I need to use Vision API to OCR sensitive documents (passeports/IDs...). But Google Cloud doesn't seem to meet GDPR requirements and I'd prefer hosting the models on our servers. Vision OCR...

Using apache-airflow-providers-snowflake on airflow (no module named Snowflake)

I have installed package apache-airflow-providers-snowflake on airflow on docker and i am getting error No module named Snowflake Please refer attachment (check the error mentioned for the...

Firebase iOS annotateImage Function returning 'Unexpected token o in JSON at position 1'

I'm writing an ImageRecognizer using Firebase Cloud Functions API in Xcode 12.4 with Swift as follows: import Firebase import UIKit import Foundation class ImageRecognizer { let imageName:...

Cannot install google-api-core package in our python app (Google Cloud Platform) due to conflicting dependencies (Python 3)

When I tried to install the Google Core API package, it always gets errors for every different version of this package. The app is run in Python 3, and I got the following logs: The user requested...

Error importing pyarrow in jupyter notebook after pip installation of pyarrow

I am having an issue importing pyarrow into my jupyter notebook. To give some context, I created a virtual environment named rc_env. I've uninstalled and reinstalled pyarrow quite a few times but...