text-recognition

Google Mobile Vision library not downloading

南楼画角 提交于 2019-12-10 03:29:10
问题 I am trying to implement the Google Mobile Vision TextRecogniser API into my app, to read text off a given Image. When I try to use the feature, I get this error: W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801 I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite,

Which library to use to extract text from images?

荒凉一梦 提交于 2019-12-09 12:00:03
问题 I am writing a program that when given an image of a low level math problem (e.g. 98*13) should be able to output the answer. The numbers would be black, and the background white. Not a captcha, just an image of a math problem. The math problems would only have two numbers and one operator, and that operator would only be +, -, *, or /. Obviously, I know how to do the calculating ;) I'm just not sure how to go about getting the text from the image. A free library would be ideal... although If

Google vision ocr : vertical and horizontal lines text recognition

我们两清 提交于 2019-12-07 12:41:23
问题 we are using google vision ocr for gathering text from receipts. In some cases the receipt have some text written in vertical , like vat information and some other. The question is that google vision read efficiently only the text in the main orientation (horizontal by example) and discards all the text written in the same receipt in vertical orientation instead in horizontal. Is there a parameter to set up for tell google vision to acquire also the text in vertical orientation? I have put

android - recognized text from tess-two library is wrong

…衆ロ難τιáo~ 提交于 2019-12-06 15:18:41
I am trying to use the tess-two library to recognize text from imagae. Here is my code: load.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // recognize text Bitmap temp = loadJustTakenImage(); //loads taken image from sdcard Bitmap rotatedImage = rotateIfNeeded(temp); // rotate method i found in some tutorial String text1 = recognizeText(rotatedImage); } }); Recognize text method: (tessdata folder is in Download with the eng.traineddata and other files) private String recognizeText(Bitmap bitmap) { // TODO Auto-generated method stub TessBaseAPI baseApi

Looking for a little python machine learning advice

大城市里の小女人 提交于 2019-12-06 06:48:15
问题 I'm interested in having a dabble with Python and machine learning/automatic data entry. However as my research has progressed I realise there are so many different techniques each with there own strengths. I've decided i might get further if i learn in the opposite direction. I.e. pick a problem/task and learn by solving/completing it. I occasionally have to data process invoices that are faxed, I'm hoping to make a program that can enter these for me once I've scanned then in. The faxes

Google vision ocr : vertical and horizontal lines text recognition

蹲街弑〆低调 提交于 2019-12-06 01:27:11
we are using google vision ocr for gathering text from receipts. In some cases the receipt have some text written in vertical , like vat information and some other. The question is that google vision read efficiently only the text in the main orientation (horizontal by example) and discards all the text written in the same receipt in vertical orientation instead in horizontal. Is there a parameter to set up for tell google vision to acquire also the text in vertical orientation? I have put online an example with an image with text in two orientations . https://drive.google.com/file/d/0B8kZz

Looking for a little python machine learning advice

倖福魔咒の 提交于 2019-12-04 13:33:13
I'm interested in having a dabble with Python and machine learning/automatic data entry. However as my research has progressed I realise there are so many different techniques each with there own strengths. I've decided i might get further if i learn in the opposite direction. I.e. pick a problem/task and learn by solving/completing it. I occasionally have to data process invoices that are faxed, I'm hoping to make a program that can enter these for me once I've scanned then in. The faxes basically consist of 2 identical tables. Each row denotes a seperate worker. The 1st column is for a

Recognizing text from a picture in delphi

时光总嘲笑我的痴心妄想 提交于 2019-12-04 11:40:04
问题 i need an advice on how to approach this problem. I have some picture data: *.jpg, *.bmp ... and i need to extract the data from it. The data is alphanumeric text. I work in delphi. 回答1: You will have to head for a OCR (Optical Character Recognition) library. This is a pretty complex procedure, I believe you wouldn't be asking this question if you knew any way to implement this by yourself. A quick Google yielded this result, maybe it's of help for you: http://www.planet-source-code.com/vb

Which library to use to extract text from images?

戏子无情 提交于 2019-12-03 14:55:30
I am writing a program that when given an image of a low level math problem (e.g. 98*13) should be able to output the answer. The numbers would be black, and the background white. Not a captcha, just an image of a math problem. The math problems would only have two numbers and one operator, and that operator would only be +, -, *, or /. Obviously, I know how to do the calculating ;) I'm just not sure how to go about getting the text from the image. A free library would be ideal... although If I have to write the code myself I could probably manage. Taylor Bird Try this post regarding using the

MLKit Text detection on iOS working for photos taken from Assets.xcassets, but not the same photo taken on camera/uploaded from camera roll

强颜欢笑 提交于 2019-12-02 01:11:35
I'm using Google's Text detection API from MLKit to detect text from images. It seems to work perfectly on screenshots but when I try to use it on images taken in the app (using AVFoundation) or on photos uploaded from camera roll it spits out a small number of seemingly random characters. This is my code for running the actual text detection: func runTextRecognition(with image: UIImage) { let visionImage = VisionImage(image: image) textRecognizer.process(visionImage) { features, error in self.processResult(from: features, error: error) } } func processResult(from text: VisionText?, error: