5
votes
What exactly is "tesseract"?
tesseract is an open source OCR program which is able to be freely integrated into other programs.
Searching the muPDF site gives some indication of what the package is:
api: Optional use of ...
- 87.5k
5
votes
Accepted
How to extract Unicode character from .png file?
Is there any option to extract Unicode script?
When I try it for Unicode like Hindi, Marathi, or Devanagari Script it produces the wrong output.
It appears that only Hindi is supported out of the ...
- 150k
5
votes
How to leave pdf image unchanged while adding OCR to a pdf with pdfsandwich?
I contacted Tobial Elze, the creator of pdfsandwich, with my question. Here is their response:
I'm fully aware of what you mean and I agree that this would be a
useful feature. It is currently ...
- 111
4
votes
Accepted
ffprobe OCR of a subtitle stream
Image-based subtitles are a hybrid media type, they contain video data but are designated as subtitles. Almost all ffmpeg code expects actual stream data to be of the type they are indicated as. So, ...
- 33.2k
3
votes
Accepted
How to make OCR recognize this image
The images are too small for it to properly work. I took your images and simply scaled them up to a height of 50px (constant resolution) and ran
tesseract input output -psm 7
My output resulted in
...
- 20.9k
3
votes
ffprobe OCR of a subtitle stream
Yes, there is a new way.
If you like, you can try out an upcoming addition to ffmpeg which provides the capability for processing subtitles in filter graphs. Currently available here:
https://github....
- 31
3
votes
Optimal font for Tesseract? (specifically the .NET wrapper)
I've done an experiment to answer this question.
Generate a document with random 6000 characters from the base 64 character sets (basically all letters upper and lower case + digits).
For each font ...
- 2,693
2
votes
What exactly is "tesseract"?
According to Wikipedia MuPDF is a software framework with a rudimentary viewer. It is no surprise that the documentation is rudimentary as well.
I have dug out some information about the new OCR ...
- 43
1
vote
Accepted
ImageMagick display WxH+x+y window
If you are using X11, the text written in the box is done using graphics commands that are sent over the socket connection to the X11 server. These commands can be inspected by interposing the utility ...
- 5,980
1
vote
Accepted
How do you rip the text from multiple images to one text file?
It depends on how the PDF was put together. If it incorporates a text layer harrymc's answer is your best bet, but if the PDF contains only image files, then extracting the images and using an OCR app ...
- 738
1
vote
Accepted
How to execute a third party utility on every file in a folder recursively?
Use a .bat file with the
FOR /R command to loop through files and
recurse on subfolders.
Something like:
@echo off
Setlocal enabledelayedexpansion
For /R C:\path\to\folder %%a in (*.jpg) Do (
Set ...
- 437k
1
vote
How to incrementally rename files after processing in bash?
You can have more control over the resulting filenames by stripping prefix and suffix from the matched filenames.
This is one possible way to achieve that:
for matched_filename in bulletinlois*.pdf ;...
- 412
1
vote
How to leave pdf image unchanged while adding OCR to a pdf with pdfsandwich?
I had the same desire because pdfsandwich badly recompressed tiny PDF images, ballooning the PDF filesize. Here's a complicated way I handled it with a one page PDF that had already been cleaned up ...
- 138
1
vote
In jTessBoxEditor for Tesseract how to combine multiple TIFF/boxfile into one traineddata file
You will need to update the page number (6th column) in each box file and then concatenate the files into one. The page number is zero-based and needs to match the order of the individual pages in the ...
- 166
1
vote
Tesseract on linux
Check if package is installed
dpkg -l | grep tesseract
Install teseract using packages
sudo apt install tesseract-ocr
Search/install for available related packages
apt search tesseract | grep -B1 ...
- 688
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tesseract-ocr × 45ocr × 18
pdf × 7
macos × 4
linux × 3
windows × 3
ffmpeg × 3
ubuntu-16.04 × 3
ubuntu × 2
bash × 2
debian × 2
python × 2
homebrew × 2
imagemagick × 2
scanning × 2
ghostscript × 2
tiff × 2
windows-7 × 1
command-line × 1
mac × 1
installation × 1
terminal × 1
performance × 1
batch × 1
cmd.exe × 1