Questions tagged [google-vision]

The Google Mobile Vision API for Android provides a framework for finding objects in photos and video.

The Google Mobile Vision API for Android provides a framework for finding objects in photos and video.

Note that issues related to the Google Cloud Vision API should use the tag "google-cloud-vision" rather than this tag.

Learn more about the Google Mobile Vision API through the Google Mobile Vision documentation and Google Mobile Vision sample apps.

720 questions
0
votes
1 answer

Google vision api to detect a particular font

I am trying to collect the SYS and DIA values from bp monitors ( Ex. omron bp monitor ) using Google Vision API, but i am not able to get the calculator font digits in the response ( I just get the other texts ). Is there a way to detect particular…
0
votes
0 answers

Unable to get ocr text with google vision api

I use google vision api to detect the ocr. However, I got no ocr text. On the other hand, I uploaded the image to https://cloud.google.com/vision/ and got DBR Weddings\n. Is it normal? How should I correct my code? Thank you very much. Here is my…
Chan
  • 3,605
  • 9
  • 29
  • 60
0
votes
0 answers

How to enhance MSER for text detection in ocr

`private void sgmnt(Mat mImg) { Imgproc.cvtColor(msImg, m2, Imgproc.COLOR_RGB2GRAY); Mat mRgba = mImg; Mat mGray = m2; Scalar CONTOUR_COLOR = new Scalar(1, 255, 128, 0); //Scalar CONTOUR_COLOR = new Scalar(255); …
0
votes
0 answers

can I use same json file of google vision api for OCR conversion in two programs?

I am doing 2 different projects which needs OCR conversion. I have generated just one json file. can i use the same json file for my both the projects?
0
votes
1 answer

Empty description in Web Entities of Google Vision API

If you try Google Vision API with follwoing demo-image.jpg shown in QuickStart, you will get a record with empty description and score of 0.7024 in “Web Entities”. Why!?
user9738153
0
votes
1 answer

Google vision api request format

I'm pretty new to the google vision api and I am trying to make a TEXT_DETECTION request. Currently I am reading from an image file, encoding it to base64 and trying to pass it on to the request const endPoint…
abhiwan
  • 11
  • 3
0
votes
0 answers

text reading from fragment, camera not opening

I am creating a text reader in fragment which will use native camera and google play service vision. I have implemented it in activity and working fine. now i am trying in fragment. but not working. camera is not opening. below is my full code:…
0
votes
1 answer

Google cloud vision api request error

I'm trying to make a request to Google Cloud Vision lib using AFNetworking but I get a 400 error. I am not sure where the issue is. I make the request as suggested in the documentation…
Teja Nandamuri
  • 11,045
  • 6
  • 57
  • 109
0
votes
1 answer

How can I switch camera by onClick using Google Vision API

Can I change .setFacing(CameraSource.CAMERA_FACING_FRONT) by clicking button ? I used it for qr-, barcode scanning and want to change cameras.
vlasentiy
  • 342
  • 1
  • 6
  • 12
0
votes
2 answers

How to setLanguageHint in Google OCR SDK?

I am testing few sample code for OCR using Google Cloud Vision API. I observed the APIs can able to detect English language very easily from an Image but in other language like Hindi, the APIs are not able to detect. MyCode : public static void…
deeptimancode
  • 1,139
  • 4
  • 18
  • 40
0
votes
0 answers

Google vision api OCR not working for Hindi language

I am having an issue with detecting Hindi fonts using Google Vision API OCR service. The documentatio says that Hindi is supported. When I drag and drop an image on their demo page (https://cloud.google.com/vision/), it works flawlessly. However,…
hvs
  • 518
  • 1
  • 5
  • 21
0
votes
1 answer

Google vision unable to convert "image path" to an image

Google vision is throwing me the following error on ruby on rails which had me baffled. Unable to convert "image_path" to an Image However, I am able to display each image form it's respective path if I use the image_tag method for rails. Please…
0
votes
0 answers

Get multiple barcode strings from Google Vision

I'm using Google vision for a week now. but the problem is, when it sees multiple barcodes, it randomly chooses any barcodes & returns only one string. I'm trying to get all the barcodes it sees. Barcode In the picture above, there are multiple…
gabikefiv
  • 1
  • 1
0
votes
1 answer

Limit google vision api text detection to specific region

I am trying to use google vision API to detect text from camera preview. However, I want the detected text to be within a specific region/rectangle in the camera review.
Snake
  • 14,228
  • 27
  • 117
  • 250
0
votes
0 answers

In Android portrait mode google vision Camera Source preview has padding

I am Using Google vision API and developing BARcodes/QRcodes scanning APP. I am also trying to use Overlay to make the scanning square area. But when I am trying to execute I am getting some margin space at right side of the screen, though I…