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.
866
questions
0
votes
1
answer
22
views
Face Authentication with Google Cloud Vision API in Spring Boot
1- I am using Google Cloud Vision API for face authentication in spring boot.
2- I have created an Account on Google Cloud Console and download a Json key file.
3- I use this Json file in my project ...
-1
votes
0
answers
8
views
i am getting (AttributeError: 'NoneType' object has no attribute 'group') [duplicate]
i am getting (AttributeError: 'NoneType' object has no attribute 'group') while executing
`storage_client = storage.Client()
try:`your text`
match = re.match(r'gs://([^/]+)/(.+)', ...
0
votes
0
answers
7
views
Send data from Object Localiser to Web Detection API on Google Cloud Vision
Sometimes the Web Detection API is not able to detect multiple objects in an image, hence I'm considering using Object Localiser. But Object Localiser essentially returns the bounding box co-ordinates ...
0
votes
1
answer
40
views
How to analyze multiple images in a folder using a loop?
I am using google cloud vision api in python.
I am a Python beginner. So, I am struggling to implement the content I want to analyze in Python code.
It's a simple thing, but if you can help me, I'd ...
0
votes
0
answers
24
views
Display only cropped part of Image defined by polygon vertices after capture by camera in Flutter
I am creating Flutter app which send an Image to Google Cloud Vision API for text detection.
The flow is as follows:
Take image from camera in Flutter app.
Send image to Google Vision API for OCR ...
0
votes
0
answers
17
views
Vertex AI project on Android Studio
I am developing an app on Android Studio using the Cloud Vision APIs from Google, and I have already made the label detection from a picture taken with the smartphone, but I would like to make a ...
0
votes
0
answers
17
views
The Application Default Credentials are not available. They are available if running in Google Compute Engine in spring boot
@SpringBootApplication
public class GooglecloudApplication {
public static void main(String[] args) throws IOException {
SpringApplication.run(GooglecloudApplication.class, args);
...
0
votes
0
answers
24
views
Android studio compiles code but highlights error imported library class
I try to add google cloud dependency "com.google.cloud:libraries-bom".
implementation platform ("com.google.cloud:libraries-bom:$googleCloudVer")
implementation ('com.google.cloud:...
0
votes
0
answers
40
views
Google Cloud Vision DOCUMENT_TEXT_DETECTION - always one page?
I have been trying a variety of images (mainly via https://cloud.google.com/vision/docs/drag-and-drop, but also via the API), from pictures of several hand written pages laid out on a table, to an ...
1
vote
0
answers
38
views
How achieve similar preciseness in Cloud Vision API detection as Google Lens?
I would like to detect different plants via Cloud Vision API. I have previously admired the preciseness of Google Lens when detecting plants, but when I try the same thing via Cloud Vision API, I do ...
0
votes
1
answer
45
views
Why Cloud Vision API returns not exact matches?
I am trying to use the Cloud Vision API to identify similar images in a webpage using example from https://cloud.google.com/vision/docs/detecting-web#web_detection_requests. I enabled the ...
0
votes
0
answers
19
views
Google vision api Detect Capital Letter wrong sometime
I found some problem about ocr of google vision cloud.
I sent the image below
img_for_ocr
and google return h5dwhs (all lower letter) but it h5dWhS
the questions is it has a ways to correct it or any ...
0
votes
1
answer
147
views
I want connect Google Cloud Vision to my flutter app
i want connect google cloud Vision to my flutter app
this is my code
import 'package:dio/dio.dart';
const _apiPREFIX = "https://vision.googleapis.com";
class Server {
Future<void> ...
0
votes
1
answer
101
views
How to get the highest dominant color from google cloud vision api in python?
I have a list of .jpg images and i am trying to extract the dominant color from google cloud vision API -
https://cloud.google.com/vision/docs/drag-and-drop
The below piece of function sometimes ...
0
votes
0
answers
66
views
Google Vision API not detecting any languages
Summary
We are processing a document through Google Vision API to generate OCR from the document. However, the Cloud Vision API's text recognition feature is intermittently not recognizing any ...
0
votes
1
answer
28
views
Eligibility criteria for a model when using it with vertex ai studio GCP
I'm trying to use stream with automl model so I've tried to import custom automl model in vertex studio but it shows "0 eligible models in this project ()" (Vertex AI Vision -> Studio -&...
0
votes
0
answers
10
views
Converting TIFF files to base64 using Java
I have two instances where I'm converting a TIFF file before sending the data to google vision AI. Using CLI, the base64 string works fine. I get the expected response
When I use Java I'm getting a ...
0
votes
0
answers
43
views
How to make Google's Custom Document Extractor OCR parse text in the right order when the text isn't perfectly straight?
I am working on a project where I need to parse information from a reference book. To do this, I am using Google's Custom Document Extractor. I have been annotating my first few scanned documents, but ...
0
votes
0
answers
13
views
Google vision not returning 'Max Results'
When using vision to scan photos for objects, no matter what I do, I can't get it to return more than 98 labels. I'm training the algorithm to identify and count all the identifiable objects on the ...
0
votes
0
answers
23
views
Google Cloud Vision Text Detection splitting words based on delimiters. Are there any parameters/properties available to combine?
Google Cloud OCR is splitting the words if any symbol occurs like ' or " or x or - etc.
Is there any way to only split if there is a space encountered? In the symbol level in FullTextAnntoations ...
0
votes
1
answer
151
views
AttributeError: module 'google.cloud.vision_v1' has no attribute 'Feature'
the title. I have copied the code as is from google's website but it is not working:
import io
from google.cloud import vision_v1
def sample_batch_annotate_files(file_path="path/to/your/document....
0
votes
0
answers
110
views
"languageHints" does not work in Google Vision API (TEXT_DETECTION)?
I'm trying to get a response in a specific language.
I found an example of how to do it in the documentation from Google (imageContext.languageHints)
As a test, I made a request through Postman.
The ...
0
votes
0
answers
50
views
Text Recognisation oprational issue
Google vision latest dependency returning an operational error in some devices (!txtRecognizer.isOperational().
As per our observation when we update Play Services Info (Update) it's working can ...
0
votes
0
answers
50
views
Can I use Amazon Textract or Amazon Rekognition for commercial use?
I would like to use Amazon Textract or Amazon Rekognition API's for a SAAS I am developing.
But I could not find any clear description about whether it is permitted to use those services for ...
0
votes
0
answers
21
views
Japanese content mismatch while extracting text from Google cloud vision api
Is anybody faced this issue while using the Google cloud vision api ?
I have uploaded a image with Japanese content to the Google cloud vision api after execution the extracted text return as json ...
0
votes
1
answer
145
views
Line by Line Text Detection in Google Cloud Vision using python
This is the code I used:
from http import client
import os, io
from google.cloud import vision
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = r'ServiceAccountToken.json'
client = vision....
0
votes
0
answers
36
views
C# Google Vision API - calling DetectText via proxy service
I want to be able to call the API via a proxy service, but not sure which setting/settings need to be set. Is it a parameter in the ImageAnnotatorClientBuilder? Or in the ImageAnnotatorClient?
Here is ...
0
votes
0
answers
61
views
Getting "Bad image data." for .webp image extensions when using Batch image annotation offline
I'm getting "Bad image data." when using the Batch image annotation offline feature for Image Properties Detection on Google Cloud Vision when the image extension is .webp.
Now according to ...
0
votes
0
answers
222
views
google.auth.exceptions.TransportError when trying to run google cloud vision quickstart guide
I'm trying to run the google cloud vision quickstart guide but when calling response = client.label_detection(image=image) I'm getting the following error:
ERROR:grpc._plugin_wrapping:...
0
votes
0
answers
33
views
Is there a way to pass annotated image to cloud vision API for reading text from images?
For my project to read text data from image, I am using the Google Cloud Vision API. It reads everything accurately but there is an issue. The API reads text displayed on the product as well. I don't ...
0
votes
1
answer
183
views
extract text from documents like PAN and Aadhaar
I am using cloud google vision API to extract text from Aadhaar and PAN. How can I get exact user details like name, father's name, and address?
Raw Data
ଭାରତ ସରକାର
Government of India
ଜିତ୍ୟାନନ୍ଦ ଖେ...
0
votes
2
answers
244
views
Nodejs Post request is not working in Postman?
I made a Post API of google cloud vision for detecting image text, Now I am trying to test this post API in postman, but it is not working. not getting any kind of response
app.post("/images"...
1
vote
0
answers
69
views
Curve shape text and its coordinate issue - GCP python
I am facing issue with google cloud vision api response. there is no issue with proper text image. the problem is with curved shape text written image. i attached for reference.
when i try to detect ...
0
votes
0
answers
117
views
Symbol BoundingBox for gcloud document_text_detection
I'm using gcloud's async document text detection feature within Vision.
I would like symbol bounding boxes but the API doesn't output them for files over 1 page.
Below is the python implementation ...
0
votes
0
answers
30
views
Google cloud vision crashes on Image Annotator Client creation
I'm using google cloud vision to detect and extract text from images.
It was working fine but suddenly started to crash without any exceptions caught.
I could not reproduce this locally, only occurs ...
0
votes
0
answers
205
views
Google Cloud Vision' s OCR with numbers
I'm using a simple PHP script to recognize handwritings in death certificates. With words it works quite well, but with numbers no.
The result I get with my simple PHP code with ...
0
votes
2
answers
153
views
How do I define my Google Cloud Platform service account's key in a python program?
I'm trying to use Google Cloud Vision's OCR as a substitute for Pytesseract. Part of this is defining the account key. The way google suggests doing this is by setting the ...
0
votes
0
answers
33
views
Bilingual Text Encoding is not Working for Kannada-English Output Hocr File
I am facing issues with hocr pdf conversion for English Kannada encoded into the text layer of the PDF File
I have a image below in kannada language
https://drive.google.com/file/d/...
0
votes
0
answers
82
views
When making a request to the Vision API Product Search an error occurs "message": "requests.exceptions.ConnectionError:"
I want to use the Vision API Product Search to search and detect products. Using the following code to make a request.
I response for 100 times. And to measure the average response time, I response ...
-1
votes
1
answer
24
views
Using Google cloud vison to recognize Japanese is different twice
On June 13 and June 30, the same image and character were recognized twice, but the results were different. Has there been any change in the mechanism of Google cloud vision recently?enter image ...
0
votes
0
answers
78
views
Google Vision API - Problems with spaces and table lines in OCR
I would like to know if there is a way to fix these two types of read errors:
Sometimes two numbers apparently very distant from each other are joined.
"description": "723"
union ...
0
votes
1
answer
432
views
Google Cloud Vision API batch Image Annotater
I have a directory with almost 200 images from which I want to get the image properties using the google-cloud-vision API.
I have a problem making a batch request for those images.
The code posted is ...
0
votes
1
answer
124
views
How to Set Region when using Cloud Vision API Web Entities Detection
Is there a way of setting a region when using Cloud Vision API, more specifically when detecting web entries and pages?
I consider it an important feature as Google search always considers the geo-...
0
votes
0
answers
53
views
Usage overview Google Cloud API
Is it possible to get a clear overview of how many units I used in the Google Cloud API's for a certain period and project (especially for Cloud Vision)? I can now only find the number of sent ...
1
vote
2
answers
317
views
Rotating coordinates (face landmarks) with origin at top left using canvas
I'm using Google's Cloud Vision API to detect faces and landmarks within them (like eyes, nose and so on).
If the face is rotated, I'd like to correct the rotation so the face and its landmarks are ...
0
votes
0
answers
48
views
Determine the project used by Vision Api
I'm working on a project on gcp using the OCR service from Google Vision.
My code is simple, I've declared a vision ImageAnnotatorClient like this:
client = vision.ImageAnnotatorClient()
and then ...
0
votes
0
answers
65
views
I extracted the Form data Using google Cloud vision API but I have following Problem?
Google Cloud Vision makes randomly boxes/section as in figure below before extract and detect document_text_detection
due to this I did not get same pattern to extract required information for my ...
1
vote
1
answer
152
views
How can I use base64 encoded image to scan for explicit content in Cloud Function?
According to their documentation, safeSearchDetection accepts base64 encoded images but when I do that it throws an error:
No document found with that ID: Error: ENAMETOOLONG: name too long
const ...
0
votes
1
answer
123
views
Google cloud vision updates afftects my prediction
i have non code question about google vision release related issue i am sorry for this but other forms of support are not allowed in my gmail that's why i am asking this question here my apologies for ...
0
votes
0
answers
264
views
In Google Cloud Vision API, how to detect if an image is the recaptured image from LCD/LED display?
Is there any way in Google OCR to detect if the captured image is not the original one and recaptured from a digital display (mobile screen, laptop screen)?
Below is a sample image which is not the ...