744 questions
0
votes
0
answers
48
views
Version conflicts with System.ValueTuple in Google.Api.Gax/Grpc/CommonProtos v4.11.0 packages on .NET Framework 4.8
after updating from:
<package id="Google.Api.Gax" version="4.10.0" />
<package id="Google.Api.Gax.Grpc" version="4.10.0" />
<package id="...
0
votes
1
answer
128
views
The Application Default Credentials are not available using Docker
I'm integrating Google Cloud Vision API into my Spring Boot app, but I keep getting the error:
java.io.IOException: The Application Default Credentials are not available.
They are available if running ...
0
votes
0
answers
246
views
Inpainting insert with a custom image using Imagen 3 on Google Gemini
I have explored the Google Imagen 3 Multimodal model to replace an object with another object generated by a prompt using the API.
I am trying to explore the possibility of replacing an object with ...
1
vote
1
answer
58
views
Google Vision API TEXT_DETECTION textAnnotation is empty
I'm using Google Vision API TEXT_DETECTION (with Java)
I got response successful. It's successful only fullTextAnnotation.
and textAnnotation is empty.. I don't know why
I used Vision API REST with ...
0
votes
2
answers
307
views
BarcodeScanner.Mobile.Maui fails to build because of ArrayMapKt
I'm building a MAUI app in .NET8 which will scan barcodes. I'm trying to integrate the GoogleVision library - BarcodeScanner.Mobile.Maui (8.0.0.1) and I'm getting an error which I have no idea how to ...
0
votes
1
answer
404
views
How to use google vertex OCR
I was using google vision for OCR. but there is an offical announcement for Vision Deprecation so there is an vertex AI available. In that they mentioned a pre trained model for vetex OCR now to use ...
0
votes
0
answers
443
views
How can i resolve face spoofing to stop unauthorized access in face recognition system using android?
I am working on a face recognition based attendance system. I am using com.google.mlkit:face-detection library for face detection by camera image analysis. I am facing a problem with face spoofing i.e....
1
vote
0
answers
64
views
Unable to Find Option for Exporting Custom ML Model for Object Detection in Google Vision (GCP Vertex AI)
I am working on a project where I have trained a custom machine learning model for object detection using Google Vision. However, I am unable to locate the option for exporting the trained model ...
0
votes
1
answer
144
views
Google Cloud Vision Request no image error
I'm sure I'm missing something simple, but I can' get it to work:
const request = {
"requests": [
{
"image": {
...
1
vote
1
answer
223
views
Flutter: Where to locate auth file when connecting to google cloud api
I am trying to use google vision API from a Flutter app. I am using the google_vision package: https://pub.dev/packages/google_vision.
From the example in this page: https://pub.dev/packages/...
0
votes
1
answer
108
views
How to differentiate whether the image captured by vision api face detector is real time or from video frame
I'm using google vision api for face detection, and once the face is detected I'm capturing the image. But if suppose a video is shown instead of real face, that is also getting detected. How to ...
0
votes
1
answer
153
views
UsinGoogle Vision with unity and getting "404. /v1/images:annotate was not found on this server
So basically all I want is for Google vision to identify an Image of mine...
I send the following request:
to: https://vision.googleapis.com/v1/images:annotate?key=
With Data:
{"parent":&...
3
votes
1
answer
3k
views
Is Google Spring Cloud GCP compatible with spring boot 3.0.0?
I'm using Google Spring Cloud GCP and getting errors since trying to upgrade spring boot 2.x.x to 3.x.x
Description:
Parameter 2 of constructor in x.MyService required a bean of type
'com.google....
0
votes
2
answers
93
views
Parsing strange JSON-like format
I got some strange JSON-like format from Google Cloud OCR. It doesn't have quoted keys, colons, or commas.
text_annotations {
description: ","
bounding_poly {
vertices {
x: 485
...
0
votes
0
answers
679
views
Can you define the read direction in which Google Vision detects text?
I basically wanna tell Google Vision to read from top to bottom, left to right.
In this example you can see the part on top being recognized as last instead of first. I guess, i could painfully ...
2
votes
1
answer
1k
views
What are advanced_ocr_options[] for Google Cloud Vision?
I'm trying to find any information on the advanced_ocr_options[] under textdetectionparams of ImageContext.
https://cloud.google.com/vision/docs/reference/rpc/google.cloud.vision.v1#...
0
votes
0
answers
277
views
TypeError: cannot concatenate object of type '<class 'str'>'; only Series and DataFrame objs are valid. It was supposed to work with df.append
df = pd.DataFrame(columns=['locale', 'description'])
for text in texts:
df = pd.concat(
dict(
locale=text.locale,
description=text.description
),
...
1
vote
2
answers
2k
views
MLKit giving less accurate results than Google Vision
Been testing MLKit and have noticed less accurate results when compared with Google Vision. One thing I do have enabled is languageHints for Google Vision e.g.
image: {
...
1
vote
1
answer
2k
views
ModuleNotFoundError: No module named 'google' while using google-cloud-vision api
i ran the following code
import io
import os
# Imports the Google Cloud client library
from google.cloud import vision
# Instantiates a client
client = vision.ImageAnnotatorClient()
# The name of ...
0
votes
2
answers
2k
views
How to Crop Image Based on Google Vision API Bounding Poly Normalized Vertices using OpenCV for Python
I'm working on implementing the Google Vision Detect Multiple Objects API in Python (https://cloud.google.com/vision/docs/object-localizer)
The problem I'm having is that I don't know how to use the ...
1
vote
1
answer
3k
views
Google API reason: "ACCESS_TOKEN_EXPIRED" Error
I am using google vision api. The key given to has been returning the same error over and over again [reason: "ACCESS_TOKEN_EXPIRED"]. I had my friend use the same key and run the same code ...
1
vote
1
answer
540
views
How to call google vision legacy models?
I want to use the legacy text_detection and document_text_detection model. (refer: https://cloud.google.com/vision/docs/service-announcements)
Im trying it this way using features:
import io
from ...
0
votes
1
answer
201
views
Weird python syntax errors
So I have some code that gives three syntax errors but IT RUNS FINE, it almost like the syntax error are cosmetic or something. Its in a very large project that used googles cloud vision API, I might ...
1
vote
1
answer
3k
views
Poor selfie segmentation with Google ML Kit
I am using Google ML Kit to do selfie segmentation (https://developers.google.com/ml-kit/vision/selfie-segmentation). However, the output am getting is exteremely poor -
Initial image:
Segmented ...
5
votes
2
answers
7k
views
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 ...