google-cloud-vision

Google Cloud Vision TEXT_DETECTION only on digits

橙三吉。 提交于 2019-12-02 03:28:38
问题 Is there any way to constrain google cloud vision, especially for type TEXT_DETECTION to only recognize digits? I think it will greatly improve my result. I cannot find any result or hint on the internet at all. Any help is appreciated. 回答1: Currently we are unable to constrain by numbers alone. HAve you tried the updated response stream with granular polyboxes to see if this is still an issue? 来源: https://stackoverflow.com/questions/36125830/google-cloud-vision-text-detection-only-on-digits

Google Cloud Vision - Numbers and Numerals OCR

吃可爱长大的小学妹 提交于 2019-12-01 13:55:47
问题 I've been trying to implement an OCR program with Python that reads numbers with a specific format, XXX-XXX. I used Google's Cloud Vision API Text Recognition, but the results were unreliable. Out of 30 high-contrast 1280 x 1024 bmp images, only a handful resulted in the correct output, or at least included the correct output in the results. The program tends to omit some numbers, output in non-English languages or sneak in a few special characters. The goal is to at least output the correct

Does google cloud vision OCR support bar code reading?

邮差的信 提交于 2019-12-01 08:42:31
I'm building an application which utilizes google cloud platform's OCR service. I'm still in progress with it and just wanted to know if this service also detects the bar codes and decode them? Thanks. No--requiring users to have a network connection just to read a barcode would be excessive, and too slow. Check out the Google Mobile Vision API instead, which runs on the device. 来源: https://stackoverflow.com/questions/36309709/does-google-cloud-vision-ocr-support-bar-code-reading

Does google cloud vision OCR support bar code reading?

我的未来我决定 提交于 2019-12-01 05:29:21
问题 I'm building an application which utilizes google cloud platform's OCR service. I'm still in progress with it and just wanted to know if this service also detects the bar codes and decode them? Thanks. 回答1: No--requiring users to have a network connection just to read a barcode would be excessive, and too slow. Check out the Google Mobile Vision API instead, which runs on the device. 来源: https://stackoverflow.com/questions/36309709/does-google-cloud-vision-ocr-support-bar-code-reading

Google cloud vision not accepting base64 encoded images python

扶醉桌前 提交于 2019-11-30 21:17:36
I'm having a problem with base64 encoded images sent to Google Cloud Vision. Funny thing is that if I send the image via URI, it works fine, so I suspect there is something wrong the way I'm encoding. Here's the deal: from google.cloud import vision import base64 client = vision.ImageAnnotatorClient() image_path ='8720911950_91828a2aeb_b.jpg' with open(image_path, 'rb') as image: image_content = image.read() content = base64.b64encode(image_content) response = client.annotate_image({'image': {'content': content}, 'features': [{'type': vision.enums.Feature.Type.LABEL_DETECTION}],}) print

Cloud Vision API - PDF OCR

為{幸葍}努か 提交于 2019-11-27 02:55:34
问题 I just tested the Google Cloud Vision API to read the text, if exist, in a image. Until now I installed the Maven Server and the Redis Server. I just follow the instructions in this page. https://github.com/GoogleCloudPlatform/cloud-vision/tree/master/java/text Until now I was able to tested with .jpg files, is it possible to do it with tiff files or pdf?? I am using the following command: java -cp target/text-1.0-SNAPSHOT-jar-with-dependencies.jar com.google.cloud.vision.samples.text.TextApp