Questions tagged [vision-api]
131 questions
3
votes
0 answers
VisionAPI's DOCUMENT_TEXT_DETECTION's Symbol has not confidence
Implementation content:OCR (get word from image)
API:VisionAPI(Google)
Language:Python3.x
Q.
All response(block/paragraph/word/symbol) should has confidence(param).Surely block/paragraph/word has confidence but symbol rarely dosen't has…

user7196197
- 31
- 2
3
votes
3 answers
Google Vision API Text Recognizer is not working
I have used Google vision API to read text from any object like newspaper or text in wall. I have tried same sample from Google developer website but my Text Recognizer always return false on IsOperational function. am tested on Blackberry keyone…

venkatesh kumar
- 167
- 2
- 10
3
votes
2 answers
Vision api not supporting camera autofocus
I am using google vision api for scanning QR code and barcode. It is not supporting camera autofocus and remains blurred when detecting a barcode. Although my device supports autofocus. I am using autofocus feature provided by vision api but its not…

Saify
- 469
- 1
- 5
- 20
3
votes
1 answer
Google Vision API authentication on heroku
What is a best, simple way to authenticate Vision API on heroku?
In development I just use:
@vision = Google::Cloud::Vision.new( project: "instacult",
keyfile: "path/to/keyfile.json" )
Where keyfile is a json…

k4ju
- 81
- 5
2
votes
0 answers
google vision API in python using for loop for uploading images in different folders
`client = vision.ImageAnnotatorClient()
img = files.upload()
path = "01 happy faces.jpg"
with io.open(path, 'rb') as image_file:
content = image_file.read()
image = vision.Image(content=content)
response =…

user3407369
- 41
- 3
2
votes
1 answer
Google Cloud AutoML Vision API - Service account custom-vision@appspot.gserviceaccount.com does not exist
I am currently working on a tutorial about the Google Cloud AutoML Vision API.
When I try to execute this command (step 8):
gcloud projects add-iam-policy-binding…

NilsB
- 21
- 3
2
votes
0 answers
Struggling to connect to Google-Cloud-Platform on windows
I live in Kenya. I struggle to connect to google cloud services most times failing but want to bypass this issue when using the vision api on windows. Most times I that I run, I get
google.api_core.exceptions.ServiceUnavailable: 503 failed to…

Tndevl
- 21
- 3
2
votes
0 answers
TypeError: 'DetectedFace' object is not subscriptable AZURE COGNITIVE FACE
ERROR:
File "identify.py", line 57, in
faceIds.append(face['faceId'])
TypeError: 'DetectedFace' object is not subscriptable
CODE (Below is the code block)
from msrest.authentication import CognitiveServicesCredentials
from…

Arun Soorya
- 447
- 2
- 9
2
votes
1 answer
How does one return the pixel coordinates (or position) of a label in Google Vision API's label detection in Java?
I can run label detection on an image using the Vision API. However, I want to know the coordinates of where that label was detected. For example, if a circle is detected somewhere in the image, how do I return the center of that circle in the…

Quinn Ganstern
- 23
- 5
2
votes
2 answers
Google Vision API Text Detection with Node.js set Language hint
I'm using @google-cloud/vision with Node.js
I use the sample code as below
async function quickstart() {
try {
// Imports the Google Cloud client library
const vision = require('@google-cloud/vision');
// Creates a client
const…

user2473015
- 1,392
- 3
- 22
- 47
2
votes
0 answers
How TO Crop Region Of Detected Number (OCR) Using Google Vision?
I write a code to knowing the value of money. I'm using OCR from Mobile Vision to get the number and words then if match (i put some condition) the App will play a voice of the value.
Now i want to make some experiment. I want this app cropping the…

otniel
- 293
- 3
- 4
- 17
2
votes
1 answer
How to determine authentication method while using Google Cloud Platform client libraries locally
I'm currently able to run a local python script that calls the Google vision API using the python client library (specifically, I'm using the google-cloud-vision package). However, I'm curious about how it's authenticating. In the python script…

Ryan Chase
- 2,384
- 4
- 24
- 33
2
votes
0 answers
Mobile vision face detector slow in other function than onCreate
I am facing an issue with mobile vision, the face detector is very slow, this is when I run the code in a function that is not the onCreate. The detect is done after 14 seconds. But when I first run the detect code in onCreate it loads within a…

JelleO
- 23
- 3
2
votes
0 answers
Android Google Vision API TextRecognizer isOperational always returns false on some devices
I want to try one of google vision api on android. I added this line in gradle file
compile 'com.google.android.gms:play-services-vision:11.0.4'
also in manifest file I added this

David
- 3,055
- 4
- 30
- 73
2
votes
1 answer
mobile vision API takes too long to detect face
I am using mobile vision API to detect face in android app.
I have used SparseArray of Face to store the references to faces, but the detector.detect(frame) method takes too long (15 seconds) to detect face.
Note: I am passing the bitmap of the…

Environer Inc
- 155
- 1
- 2
- 9