Questions tagged [vision-api]
131 questions
0
votes
1 answer
GCP Vision async_batch_annotate_files timeout
I have been using the gcp vision api pdf extraction for a month, but recently I am getting timeout errors.
type=vision.enums.Feature.Type.DOCUMENT_TEXT_DETECTION)
The error is 'Operation did not complete within the designated timeout.'
Perhaps it…

Amarjeet Sihota
- 1
- 2
0
votes
1 answer
Google Vision API - Can we have custom preprocessing logic included with detect document text and use that directly as a Vision API
I am using Google Vision API to get all the text scraped out of my Image. However I want to extract text only in a specific area on the image and not the entire text by resizing the image. However for all images the area is not defined as a fixed…

Pavan
- 1
0
votes
3 answers
Cloud Vision API Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument
I followed all the steps in https://cloud.google.com/vision/docs/ocr and when executing the code I get the following Exception.
Full Stacktrace:
Exception in thread "main" java.lang.NoSuchMethodError:…
0
votes
1 answer
How to extract DATE from handwritten images in python
Extract the "Date" only from the handwritten text images without bounding the coordinates for the data in python.
The date format can be of any form e.g:
20-april-2019
12-02-2020
12-02-20
Feb-12-19
Feb-12-20
12Feb-2020
and so on
As explained…
0
votes
1 answer
Cloud vision API to extract or parse data from PDF
How can i use Google Cloud vision API to extract or parse data from PDF(my Input) and I need to save of the PDF content to Database and write some of the data to my HTML page , how can we do it?

Anuj Kumar Singh
- 29
- 4
0
votes
0 answers
Google Vision API for django based website
I've developed a website for uploading and downloading images using Django. I've also written a python code using the Google Vision API and executed the file successfully on the command line. Now, where should I place that python code in my Django…

Kunal Karnik
- 51
- 1
- 3
0
votes
0 answers
Vision Text Recogniser giving nil result
I hope you are doing well, I am stuck with an strange problem. I have implemented Vision Text Recogniser and after successfully extract the image and assign that image to visionImage but I am getting error = nil and also the result = nil. There is…

azeem usmani
- 517
- 4
- 9
0
votes
1 answer
Google Vision API 'TypeError: invalid file'
The following piece of code comes from Google's Vision API Documentation, the only modification I've made is adding the argument parser for the function at the bottom.
import argparse
import os
from google.cloud import vision
import io
def…

AlToy
- 1
0
votes
2 answers
Google Cloud Vision API get key of the extracted text
I am using Google Cloud Vision API for scanning the business card using React-Native and the OCR part is working well. This is the my current archivement.
As you can see in the second image, the app is recognizing the text as well and I want to…

Shing Ho Tan
- 931
- 11
- 30
0
votes
0 answers
How to match my categories with tags detected in image using Google vision api?
I tag pictures using vision api. How do I categorize images using these tags?

melih sahin
- 741
- 9
- 12
0
votes
1 answer
Azure Read API for Vector PDFs
I am working on the solution for OCR using Azure Read API, and it provides out of box solution for raster PDFs
https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-recognizing-text#read-api
but I don't see if it can…

Nenad Bulatović
- 7,238
- 14
- 83
- 113
0
votes
1 answer
How to "Iterate" on Computer Vision machine learning model?
I've created a model using google clouds vision api. I spent countless hours labeling data, and trained a model. At the end of almost 20 hours of "training" the model, it's still hit and miss.
How can I iterate on this model? I don't want to lose…

thisguy123
- 939
- 1
- 9
- 31
0
votes
1 answer
Is there a provision to extract the caption for the given picture
I am trying to use Vision API to extract the caption for an image
Looks like the Vision API does not provide the caption about the image. It provides the list of objects in the Image.
Looks like IBM Caption Generator provides the Caption for the…

user1969193
- 119
- 1
- 1
- 8
0
votes
1 answer
Outputting other languages to Cloud Pub/Sub topics
I'm using Google Cloud Functions in conjunction with their Vision API and Translate API to extract text from images and then translate the extracted text into various languages. The output is passed to a Pub/Sub topic and then stored in a Cloud…

Joe Lowery
- 562
- 11
- 26
0
votes
1 answer
Google vision API not printing a return
I'm playing around with some scripts in python and trying to find if these image returns results. However when running python doesn't print anything. I don't get an error but can't seem to figure it out.
import io
import os
# Imports the Google…

Ben Cowley
- 49
- 10