LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-12-2006, 01:51 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Rep: Reputation: 68
Xsane won't save


Fc5, latest xsane install.
After scanning a text doc, can't get xsane to save text doc,
it will make a file in /home/user/out.txt , but it won't save text in file, file is blank.
I had to download gocr-0.37-0.2.fc5.rf.i386.rpm and install before
it would even attempt to save anything.

Jim
 
Old 10-13-2006, 01:57 AM   #2
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Are you doing an OCR? If not it will be an image file not a text file. Is that your problem?
 
Old 10-13-2006, 08:35 AM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Original Poster
Rep: Reputation: 68
I guess I'am, how do you do a text scan?

Jim
 
Old 10-14-2006, 01:03 AM   #4
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Are you saying you want to OCR (optical character recognition) but can't
I'm sure there used to be an OCR plugin button on Xsane, that didn't conect to anything but that's on mine now.
I've just googled it and came up with this from the Xsane FAQ

11.11. Are there any OCR-packages availlable?

Both xsane and QuiteInsane are frontends that allow you to use an OCR package.

At Sourceforge, there is project jocr, also called gocr. http://jocr.sourceforge.net It seems to be quite usable, though my own experiences were not so good.

An other package is Clara http://www.claraocr.org I was impressed by the recognition, though there are still some problems to be resolved. At the moment, this is the package of my choice. It requires a lot of training effort!

There are many more packages, especially if you include the commercial ones.

The G(J)OCR project page also has links to five other free OCR packages: http://jocr.sourceforge.net/links.html , none of which I have tested.
 
Old 10-14-2006, 05:51 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Original Poster
Rep: Reputation: 68
Yes, well how do I save a regular text file, again I can scan it but
I can't save it to /home/user/file.txt as text.

Jim
 
Old 10-15-2006, 04:54 AM   #6
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Sorry I thought I'd made it clear.
A scanner can only make an image, it's like a camera, it takes a picture!

text isn't an image, each number letter is a seperately entity, whereas the image of text is one big picture.

The picture of text can be converted to text by a proccess know as optical character regognition (OCR)

That's why I posted the link to OCR software, without it you can't save as text.

The other option if you got software with your scanner, (mine had OCR program with it), you may get this to run in wine, (but that's a whole new ball game)
 
Old 10-15-2006, 08:46 AM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Original Poster
Rep: Reputation: 68
I do have gocr installed, what would I do to get read ,save text.

jim
 
Old 10-16-2006, 12:29 AM   #8
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Sorry Jim, I've no idea, I've never used it.
By the sounds of gocr it's a pugin for xsane, I assume you see no extra button has appeared in xsane?
And you don't have a start button gocr?
My approach from there would be to type gocr into run application or just on the comand line and see what happens, if nothing try "man gocr", if still nothing google it or see if there's a web site with any instructions.

The odd times I need to OCR I've done it with the windows software that came with the scanner.
With that you can open the image file from the software and tell it to OCR it.

It works best with a high contrast image, ie no shades of grey, just black and white. But be carefull if you try for too much contrast you can loose some information and that doesn't help either. Image size is another thing that affects it, from memory 300dpi for an A4 sheet works OK.
 
  


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
How to change the save to directory in xsane royeo Linux - Newbie 0 09-24-2006 06:40 PM
Xsane save-as postscript issue digitizer Linux - Software 0 01-12-2006 12:17 AM
xsane DaveyB Linux - Newbie 1 08-16-2004 10:03 AM
need help with xsane and sane jbzy3000 Linux - Software 11 08-09-2004 11:11 PM
xsane demmylls Linux - General 1 11-18-2003 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:02 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
Open Source Consulting | Domain Registration