Hi,
I'd like to use the database feature but how to create an empty db.lst so that i can use the -m 130 parameter ?
If i don't create any db.lst file, and if i use use gocr with -m 130, it says "could not access /usr/share/gocr-0.40/db.lst"
If i "touch db.lst" and if i use use gocr with -m 130, it says "ERROR pnm.c L350: open"
What did i miss ?
regards,
Ok, i answer to myself :
stupid fabrice! you should be more careful with files rights ! *blush*
Actually, i need to be root to execute gocr but i's ok.
f.
mkdir ./db gocr -p ./db/ -m 130 yourimg.pnm
is your friend.
Log in to post a comment.
Hi,
I'd like to use the database feature but how to create an empty db.lst so that i can use the -m 130 parameter ?
If i don't create any db.lst file, and if i use use gocr with -m 130, it says "could not access /usr/share/gocr-0.40/db.lst"
If i "touch db.lst" and if i use use gocr with -m 130, it says "ERROR pnm.c L350: open"
What did i miss ?
regards,
Ok, i answer to myself :
stupid fabrice! you should be more careful with files rights !
*blush*
Actually, i need to be root to execute gocr but i's ok.
regards,
f.
mkdir ./db
gocr -p ./db/ -m 130 yourimg.pnm
is your friend.