LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2018, 10:20 AM   #1
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 291

Rep: Reputation: Disabled
Easy to use OCR for Linux?


I have Linux Mint 17.3.

I am looking for an optical character recognition program to use. So far I have not found one:

OCRFeeder - the characters in the output text are about 75% wrong.

XSane - gives me an error message saying 'no such folder exists'.

The two below are command line:

Cuneiform - when I move to the appropriate directory and type in "cuneiform myscan.jpg" it says that "Majick" is unable to open the file.

Tesseract - when I move to the appropriate directory and type in "tesseract myscan.jpg" I just get many lines of "help" which is too complicated to understand.

Thanks.

Edit: since writing the above I have found that the online service https://www.onlineocr.net/ works perfectly. So problem solved.

Last edited by grumpyskeptic; 01-23-2018 at 10:25 AM. Reason: more info
 
Old 01-23-2018, 10:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
OCR https://www.google.com/webhp?hl=all&...en&q=ocr+linux
Code:
$ sudo apt install tesseract-ocr
Language specific packages https://packages.ubuntu.com/search?k...searchon=names
 
Old 01-23-2018, 03:56 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,409

Rep: Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996
Thanks for the update and solution.
 
Old 01-25-2018, 06:58 AM   #4
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 291

Original Poster
Rep: Reputation: Disabled
If you read my posting above, you can see I've already got Tesseract installed.

The Google search link provided by knudfl does however pull out a webpage that does give useful suggestions for programs and also gives some essential details about Tesseract - it only works with tiff files.

https://askubuntu.com/questions/1626...t-ocr-solution

"To run tesseract goto terminal and type the following

tesseract imagefile.tif outputfile.txt

Tesseract can only read a TIFF file - if you've got a JPEG or PDF or whatever, you'll have to convert it. Also, the filename extension must be .tif, not .tiff, otherwise tesseract errors out."

I have already solved my OCR problem but other might find this useful. There appear to be many other OCR programs apart from Tesseract - no idea which one is best.
 
Old 01-25-2018, 07:49 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,994
Blog Entries: 1

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
I think I used ocrodjvu when I last did OCR. It seems to be a wrapper for all the main ones like Cuneiform, Gocr, Ocrad, OCRopus, and Tesseract.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OCR in Linux, unsatisfactory results yermandu Linux - Hardware 2 01-27-2010 02:38 PM
OCR Application for Linux-Suggestions? BobNutfield Linux - Software 5 05-10-2008 04:17 PM
OCR and Scanner prog for Linux Durham Linux - Software 1 12-09-2005 07:16 AM
OCR Program for Linux RGummi Linux - Software 3 11-11-2005 06:18 PM
OCR initialization failed accessing OCR device: PROC-26 cheeku Linux - Software 0 09-19-2004 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration