ocr

How to sort an array of rectangles by position?

那年仲夏 提交于 2019-12-13 12:09:31
问题 I've just realized that if I perform OCR process only on the regions that contain text, it would be a lot faster. So what I did were detecting the text regions in the image and then perform OCR process on each one of them. This is the result of "detecting text regions" step using OpenCV (I used it to draw the rectangles on the image): The only problem remains is I couldn't arrange the text result in the order that they appear on the original image. In this case, it should be: circle oval

OCR of low-resolution text from screenshots

五迷三道 提交于 2019-12-13 11:42:30
问题 I'm writing an OCR application to read characters from a screenshot image. Currently, I'm focusing only on digits. I'm partially basing my approach on this blog post: http://blog.damiles.com/2008/11/basic-ocr-in-opencv/. I can successfully extract each individual character using some clever thresholding. Where things get a bit tricky is matching the characters. Even with fixed font face and size, there are some variables such as background color and kerning that cause the same digit to appear

Read text from colored image using tess4j [closed]

旧巷老猫 提交于 2019-12-13 11:13:20
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am able to read text from monochrome image but I am unable to read text from colored image. I will appreciate any help... 回答1: You can use Thresholding to preprocess the bitmap/image, before feeding the library

open source code to remove Non Text regions in image?

二次信任 提交于 2019-12-13 10:00:22
问题 i want to remove any Non Text regions from an captured image as a preprocessing step for OCR Engine, any idea , demo , source code about doing that will be helpful,thanks. 回答1: I guess this question could be seen as a possible duplicate of your other question: How to detect Text Area from image? if it wasn't asked in reverse! Anyway, I rather the other way of thinking about this problem, which is: anything that is not a text region should be ignored . At this point I need to refer to my other

Matlab - OCR Languages Support Package Installation [closed]

寵の児 提交于 2019-12-13 09:31:55
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Today I wanted to install OCR Languages Support Package on Matlab (using visionSupportPackages function) and I encountered a following a problem: by which I can't coplete installation. On this site: tesseract-ocr.googlecode.com I learned that this project was moved. What should I download now to complete

How to make a REST API for OCR

坚强是说给别人听的谎言 提交于 2019-12-13 09:04:23
问题 I am doing a task in which I have an image and have to extract dates from it. The dates are extracted with Google Cloud Platform Vision API. How can I make API with flask that accepts image and returns date? The format would look something like below: Request:POST /extract_date Payload: {“base_64_image_content”: } Response: If date is present: {“date”: “YYYY-MM-DD”} If date is not present: {“date”: null} Can you please help me? 回答1: Flask is among the most popular web frameworks for Python.

how to create cutomized dataset for google tensorflow attention ocr?

不想你离开。 提交于 2019-12-13 08:18:10
问题 I am able to create TFRecord file according to this question. But I don't know whether I should write all images into a single TFRecord file or create multiple TFRecord files. Also, I don't quite understand the config file for datesets. What content should be in "charset_filename" file? Should it be a collection of all posible chracters in the dataset? When generating TFRecord file, we converted charcters to integer ids, should this file include characters or their ids? 回答1: whether I should

Saving Converted OCRed File using ABBYY in commandLine

感情迁移 提交于 2019-12-13 07:57:24
问题 Hi want to integrate ABBYY Fine reader to my custom application i use the commandline FineCMD.exe MyDocument /lang french /send MsWord It does the OCR process by converting my document and pass it to Msword. I want the FineCMD to Save the converted OCRed word document to a folder How To handle that using commandline argument? Iam USING ABBYY Fine Reader 12 on Windows 10 回答1: ABBYY FineReader does not provide command line interface for saving the result from scripting or for batch processing.

Tesseract implementing a web service to trigger OCR actions

无人久伴 提交于 2019-12-13 05:09:19
问题 I am trying to implement a web service which triggers OCR actions of the server side. Client code: ... sy = belgeArsivle(testServisIstegi, ab); ... private static ServisYaniti belgeArsivle(com.ocr.ws.ServiceRequest serviceRequest,com.ocr.ws.Document document) { com.ocr.ws.ServiceRequest service = new com.ocr.ws.OCRArsivWSService(); com.ocr.ws.OCRArsivWS port = service.getOCRArsivWSPort(); return port.docArchive(serviceRequest, document); } When I run the code on the server side there is no

OCR why not find only character

扶醉桌前 提交于 2019-12-13 04:49:03
问题 I use OCR puma.net and I have a result. But the result not only contains ( a b c d ), the result also contains ( ; / , " ). I want to output only these characters. How can I use it? Here is my code: var puma = new PumaPage(img.ToBitmap()); using (puma) { puma.FileFormat = PumaFileFormat.RtfAnsi; puma.EnableSpeller = false; puma.Language = PumaLanguage.English; try{ string t=pumaPage.RecognizeToString(); return t; } catch(Exception e) { // return e.ToString(); return "i think ! this isnt Plate