Questions tagged [tesseract-ocr]

Tesseract is an optical character recognition engine(OCR)

Filter by
Sorted by
Tagged with
0
votes
0answers
31 views

Choose tesseract language when doing batch OCR with SubtitleEdit

I'm using Subtitle Edit on Arch Linux to convert some VobSubs (.idx+.sub) to SubRips (.srt). To do batch conversion I can use this command line: subtitleedit /convert 01.eng.sub subrip This will ...
1
vote
1answer
1k views

How do I train Tesseract for a new ttf font?

I am trying to train Tesseract for some funny looking fonts, like Palace for example. I have tried a simple way - produced traindata with http://trainyourtesseract.com/ and then have made a call ...
0
votes
1answer
360 views

Tesseract.exe path on Ubuntu

I want to use pytesseract on Ubuntu computer with Python. On Windows computer I had to set path to tesseract.exe before I call image to string function. How can I set this path on ubuntu computer?I ...
0
votes
0answers
204 views

Installing Tesseract using Anaconda

I am trying to do : conda install -c conda-forge tesseract and got this below error : CondaError: ChunkedEncodingError(ProtocolError("Connection broken: ConnectionResetError(10054, 'An existing ...
0
votes
0answers
47 views

how to install Jtessboxeditor?

I can't install jTessBoxEditor on windows 7, I have Tesseract 3.02 .. a file is downloaded that doesn't have any .exe file to run, help...?
0
votes
1answer
64 views

How to incrementally rename files after processing in bash?

I have a set of files that need processing, so I tend to do this programmatically in bash in mac and linux. Since I like to keep the originals in case something gets screwed, I want the files to come ...
0
votes
0answers
40 views

OCR live dvb_subitltes and append it to mpeg-ts

I'm reciving a live stream via upd (mpeg-ts) with video (h264/mpeg2video), audio (aac/mp2) an subtitles(dvb_subtitle).I'm using ccextractor for extracting and tesseract for OCR subtitles due the fact ...
0
votes
0answers
100 views

Tesseract OCR works only locally

My Java Spring Boot project running with Gradle, i'm using: Ubuntu(locally and on server) compile'net.sourceforge.tess4j:tess4j:4.2.1' dependency, eng.traineddata - file to connect with Tesseract ...
2
votes
0answers
146 views

Tesseract: OCR hex and binary strings from old documents

I have some questions about Tesseract Context I am currently working on an old cryptographic algorithm from East Germany (GDR) which was developed in the 80s. I implemented the algorithm in C#. Now ...
1
vote
0answers
240 views

tesseract can not process *.bmp files

Tesseract can not process *.bmp files. It gives this error. Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica Error in pixReadMemBmp: size incommensurate with image data Error in ...
0
votes
0answers
2k views

How to install latest version of tesseract-ocr in debian

I am running into the issue below: pytesseract.pytesseract.TSVNotSupported: TSV output not supported. Tesseract >= 3.05 required at image_to_data (/usr/local/lib/python3.5/dist packages/...
0
votes
0answers
56 views

How do I install Clang 4.0 or above on Ubuntu 16.04 LTS?

I need to install Clang 3.4 and above on Ubuntu 16.04 LTS, as a prerequisite to this Package that I need to use. Not sure should if I go for the latest Clang version, and if yes, how can I do it for ...
3
votes
2answers
346 views

How to leave pdf image unchanged while adding OCR to a pdf with pdfsandwich?

I am trying to add OCR to PDFs and am using pdfsandwich to do so. The problem is that pdfsandwich processes the image when doing OCR which changes what the document looks like. Is there any way to ...
0
votes
0answers
198 views

Tesseract performance differences

I have a few machines that run tesseract-ocr 4.0 for different applications. The machines have similar configuration(4 cores, 16 GB memory), and all of them run Ubuntu 16.04.5 LTS. However, in the ...
2
votes
1answer
146 views

How to execute a third party utility on every file in a folder recursively?

I use a CLI utility called tesseract-ocr. The tesseract-ocr's usage in the cmd is this: tesseract.exe imagename outputbase [options...] [configfile...] In my case I type: tesseract photo0043.jpg ...
0
votes
1answer
458 views

How to host Tesseract OCR for a Chrome Extension?

Currently, I'm working on designing a Google Chrome Extension that takes an image. This image supposes to be passed to Tesseract OCR using the command (cmd) and get the output as a text. A text area ...
3
votes
0answers
467 views

Can dvdsub subtitles be converted to srt via command line?

Is there a way to convert dvdsub (image based) subtitles to srt? for example with mencoder or ffmpeg combined with tesseract? I'm looking for something command-line based, and I'm ok with having to ...
1
vote
1answer
388 views

How do I train tesseract to ignore the wavy lines added from spelling and grammar error detection?

I am using tesseract to detect text in a variety of image types, including screenshots, it's getting confused by the wavy red and blue underlines for spelling and grammar warnings, like the example ...
1
vote
2answers
2k views

Optimal font for Tesseract? (specifically the .NET wrapper)

I am using Tesseract as a means to convert printed text documents captured by my cell phone camera into text. The results are not great. The quality of the image is very good, far clearer than a fax,...
2
votes
0answers
204 views

Funny OCR-situation

I have a multipage scanned 300 dpi PDF-file on an Ubuntu 16.04 system. When I run the following command: pdfocr -t -l swe -i *.pdf -o newfile.pdf It results in a perfectly OCR-read file. Every ...
4
votes
0answers
1k views

How to compress Tesseract-encoded PDFs while maintaining embedded text from OCR?

I've been experimenting with using Tesseract to OCR my PDFs, and it has been mostly successful, particularly with German Fraktur texts (the old style gothic print), which tools like Adobe Acrobat can'...
3
votes
1answer
1k views

How to extract Unicode character from .png file?

I want to extract Unicode character from .jpg and .png files. I try to do it by using following command: tesseract 1.png output.txt That command works for English characters but when I try it for ...
1
vote
1answer
3k views

How to make OCR recognize this image

original image I think recognize the digits from this image would be really easy, but it just can't be recognized by tesseract and a lot of online OCR. Then I process it like this. process image ...
1
vote
1answer
1k views

In jTessBoxEditor for Tesseract how to combine multiple TIFF/boxfile into one traineddata file

I think this would be possible with command line, but how to do it with jTessBoxEditor as it would automatize a lot of workflow. Since jTessBox supports multi page TIFF I think that might be the way,...
1
vote
0answers
118 views

Tesseract on Windows: Outputs are always innacurate

So I'm trying to OCR this image: (This are actually usernames) using this command on the Windows command prompt: tesseract screenshot.png out However the out.txt always brings innacurate ...
1
vote
2answers
817 views

How to avoid skewed results with the OCR tool pdfsandwich?

Usually, scanned pages need to be deskewed before applying an OCR tool. Here, my input is a straight scanned page, and the OCR output is sometimes skewed, either clockwise or counter-clockwise. In my ...
1
vote
0answers
518 views

Turn Off Dictionary in Tess4J

The accuracy of character recognition in my tess4j OCR application is very low. I have heard that turning off the dictionary in tess4j will increase the accuracy by letting individual characters to be ...
3
votes
1answer
6k views

Use ffmpeg for JPEG to TIFF conversion

I would like to use Tesseract OCR with a video. With ffmpeg I can export some (.jpeg) images from a video. Can I convert a .jpeg into a valid .tiff or export directly .tiff images from the video with ...
1
vote
2answers
2k views

Tesseract on linux

How to solve the problem without having to install tesseract 3.03 when I get a warning: Warning: You are running an unsupported version of Tesseract. Expecting version 3.03, your version is: 3.02....
0
votes
0answers
4k views

Tesseract couldn't load any languages

Running tesseract makebox command produced me the following error Error opening data file /opt/local/share/tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to ...
5
votes
1answer
6k views

Tesseract OCR : Unsupported image type

I converted the PDF to TIF file using the following commands on terminal convert -density 300 -depth 4 lang.font-name.exp0.pdf lang.font-name.exp0.tif convert lang.font-name.exp0.tif -colorspace rgb ...
4
votes
2answers
6k views

Tesseract 3.03 english language data

Tesseract 3.03 have been released recently and I have just installed it. Nevertheless, English language data is not provided with the download (from https://launchpad.net/ubuntu/+source/tesseract/3.03....
4
votes
2answers
6k views

OCR with non-language text

I am interested in using OCR to recognize text from a document that doesn't contain words. Rather, it is a document with a long string of "random" printed characters. I have been trying to use ...
4
votes
1answer
2k views

Tesseract hocr and txt at the same time, or converting from Tesseracts hocr to txt

I've been playing around with Linux OCR software, and I really like Tesseract, especially in conjunction with gsan2pdf. Tesseract v3 or greater supports outputting in the hocr format, and gscan2pdf is ...
0
votes
2answers
2k views

Unable to process GIFs with Tesseract in OSX

Getting the following error: Tesseract Open Source OCR Engine v3.02.02 with Leptonica Error in pixReadStreamGif: function not present Error in pixReadStream: gif: no pix returned Error in pixRead: ...
1
vote
1answer
1k views

TesseractOCR custom training

I don't get it how am I supposed to tell Tesseract that this is actually a b c letters? Appending makebox in cli, produced this file: C 78 127 104 166 0 l 96 127 118 166 0 . 116 127 126 140 0 - 124 ...
7
votes
3answers
19k views

OCR Tesseract, Empty page error?

I compiled it from sources with leptonica. This is a png image with transparent background, which I edited adding a blue color and still this error: Tesseract Open Source OCR Engine v3.02.02 with ...
2
votes
0answers
264 views

Tesseract can't scan `Error:Only 1,2,4,5,6,8 bpp are supported:32`

Even though I did convert canvas.png -depth 8 canvas.tif I am still seeing this error message: Tesseract Open Source OCR Engine check_legal_image_size:Error:Only 1,2,4,5,6,8 bpp are supported:32 ...
0
votes
1answer
144 views

gImageReader Clipboard doesn't work on Windows

I'm using gImageReader to do some OCR on Windows 7, and though I can copy from within the application itself, I can't copy to the external Windows 7 clipboard. I believe the program is gtk based, and ...
0
votes
3answers
7k views

Install tesseract ocr 3 on OSX

I am trying to install Tesseract OCR on OSX 10.6... I have got as far as installing leptonic (by downloading src and installing with ./configure; make; sudo make install) seemingly without any ...
3
votes
1answer
3k views

Training Tesseract-OCR for english language fonts

I have about 3000 small images of single words that I am trying to convert to text. I have installed tesseract on my windows 7 machine using the installer and successfully managed to OCR images ...
2
votes
1answer
9k views

Why does Tesseract CLI show 'cannot create output file' on Windows 7?

I have installed (Or at least I think I ran an installer) tessearct-ocr on my my machine running 64-bit Windows 7. I am trying to interact with the program through cmd. to convert a .png image to text....