ocr

Tess-two OCR not working

女生的网名这么多〃 提交于 2019-12-20 04:47:56
问题 im trying to get text from an image using tess-two on android. But its giving me a really bad result 01-16 12:00:25.339: I/Tesseract(native)(29038): Initialized Tesseract API with language=spa and like 30 seconds later it shows this as result string: {ga ., r¿ y“: A r M í :3 ' ‘Ev’.-:.. -: A 7 » w- ?" _ Á.» ¿"A ¿rw-V r mjÏfn 'n’n . Y ' "\'ZA".‘.¡ A‘ :‘ïvAv- « ‘ :"Éf‘Ï'" -Ï«l :‘,.v:...»- . ' RFI' .. ’ g)" 3;:- 1-;4', = * ¿,arifgggk mw; .1. , ' "53» "J 't‘ ‘ ¿Las ;.‘».L',-‘» ' ' 'N‘“ "“=: - '.

Base 64 Image to ocr.space API Ionic 2

北慕城南 提交于 2019-12-20 04:40:31
问题 I am trying to send a base 64 Jpeg to an API for OCR analysis. The API docs can be found here https://ocr.space/ocrapi The code to save the Image is here: takePicture() { Camera.getPicture({ destinationType: Camera.DestinationType.DATA_URL, targetWidth: 1000, targetHeight: 1000, encodingType: Camera.EncodingType.JPEG, sourceType: Camera.PictureSourceType.CAMERA, allowEdit:true }).then((imageData)=>{ this.base64Image = "data:image/jpeg;base64," + imageData; }); } However I'm sure this is all

Tessnet2 Init-Method crashes with certain tessdata path

ε祈祈猫儿з 提交于 2019-12-20 04:22:31
问题 I'm using the Tessnet2 assembly (which uses Tesseract) to do OCR. Unfortunately the programm crashes without any exception after I call the init method: tessnet2.Tesseract ocr = new tessnet2.Tesseract(); ocr.Init(@"D:\Test\Tessdata\german", "deu", false); The german folder contains the following tesseract 2 word data: deu.DangAmgigs deu.freq-dawg deu.inttemp deu.normproto deu.pffmtable deu.unicharset deu.user-words deu.word-dawg If I use null for the path it works fine because I installed

Is it normal that tesseract does not recognize this word in this image?

独自空忆成欢 提交于 2019-12-20 04:21:11
问题 I need to extract words from small images like this: I am using tesseract from the command line with spanish language option, like this: tesseract category.png -l spa -psm 7 category.txt I think that this text must be easy to parse by the OCR but the word is not recognized. I am using -l spa for spanish language and -psm 7 because the image has got only line (anyway if I don't use -psm parameter the result is the same). This is the result: s…"… I am using this build with the lang package:

Software to Improve OCR Results Based on Output from Multiple OCR Software Packages

旧巷老猫 提交于 2019-12-19 11:38:20
问题 Is there an already-existing piece of commercial or academic software that can overlay results from multiple OCR packages (Abbyy FineReader, Adobe Acrobat Professional, ReadIris, etc.) provide fully automated improvements based on accumulated knowledge from multiple sources allow for use of additional external tools setup at runtime (dictionieres, batch web / local corpus look-ups etc.) ? Note : I already have in-house solutions to visualize results from single sources, so in case there is no

Damerau-Levenshtein distance Implementation

旧巷老猫 提交于 2019-12-19 10:13:07
问题 I'm trying to create a damerau-levenshtein distance function in JS. I've found a description off the algorithm on WIkipedia, but they is no implementation off it. It says: To devise a proper algorithm to calculate unrestricted Damerau–Levenshtein distance note that there always exists an optimal sequence of edit operations, where once-transposed letters are never modified afterwards. Thus, we need to consider only two symmetric ways of modifying a substring more than once: (1) transpose

Image Processing Library for C++

冷暖自知 提交于 2019-12-19 09:47:48
问题 I need a library that can detect objects in an image (uses edge detection). This is NOT related to captchas. I am working on an MTGO bot that uses OCR and that works in any screen resolution. In order for it to port to any screen resolution my idea is to scan down narrow range on a results page (the cards that a player has can be listed in rows of text) and to find each object in that range. Then to take the lowest and highest pixel coordinates of each object to find where the row starts and

ios GPUImage,bad result of image processing with small-size images?

折月煮酒 提交于 2019-12-19 04:22:10
问题 I'm trying prepare image for OCR,I use GPUImage to do it,code work fine till i crop image!!After cropping i got bad result... Crop area: https://www.dropbox.com/s/e3mlp25sl6m55yk/IMG_0709.PNG Bad Result=( https://www.dropbox.com/s/wtxw7li6paltx21/IMG_0710.PNG + (UIImage *) doBinarize:(UIImage *)sourceImage { //first off, try to grayscale the image using iOS core Image routine UIImage * grayScaledImg = [self grayImage:sourceImage]; GPUImagePicture *imageSource = [[GPUImagePicture alloc]

Java OpenCV + Tesseract OCR “code” regocnition

喜你入骨 提交于 2019-12-19 04:05:26
问题 I'm trying to automate a process where someone manually converts a code to a digital one. Then I started reading about OCR. So I installed tesseract OCR and tried it on some images. It doesn't even detect something close to the code. I figured after reading some questions on stackoverflow, that the images need some preprocessing like skewing the image to a horizontal one, which can been done by openCV for example. Now my questions are: What kind of preprocessing or other methods should be

Build error while trying to build ABBYY Mobile OCR SDK sample code

江枫思渺然 提交于 2019-12-19 03:45:10
问题 I have obtained the trial license from ABBYY and obtained the trial SDK for iPhone. But I can not build and debug the project on my device. It gives an error : "_OBJC_CLASS_$_CMocrManager", referenced from: The application works fine in simulator (with one image provided in the sample). Please help, i have attached the screenshot. 回答1: I have contacted the Tech support of abbyy mobile sdk and following was the response regarding build number: "I found out that there is no way to see the build