error in Tesseract-OCR

127 views
Skip to first unread message

Bhagesh Sr

unread,
Sep 15, 2014, 4:08:23 AM9/15/14
to tesser...@googlegroups.com
hi,

While i am trying to run the OCR from command line, it takes the input but it is showing an error as "can not create the out.txt file".

Why it is showing this ?

Dovhani Foneworx

unread,
Sep 16, 2014, 7:35:55 AM9/16/14
to tesser...@googlegroups.com
what command are you running?

Bhagesh Sr

unread,
Sep 17, 2014, 2:40:57 AM9/17/14
to tesser...@googlegroups.com
Hi,
Mr. Dovhani

I am running the command as "tesseract  input_file_name_with_extension  Output_file_name_with_out_extension".

This is what mentioned in the read me file of Tesseract. Is there any problem regarding this command ?

Dovhani Foneworx

unread,
Sep 17, 2014, 3:57:53 AM9/17/14
to tesser...@googlegroups.com
it seem that you have permission issues with your working directory, check if you have permission where you are running tesseract.

--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/48LiQT2Wuso/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/2afdd4c8-2d59-490e-877a-323ac66ef47f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Bhagesh Sr

unread,
Sep 17, 2014, 5:28:39 AM9/17/14
to tesser...@googlegroups.com
Hello friend,

Yes that could have been a problem but i am running it as an admin. So i hope permission related issue isn't there.

Is there any way to see where the code has been written to create the out file ?


On Monday, September 15, 2014 1:38:23 PM UTC+5:30, Bhagesh Sr wrote:

Dovhani Foneworx

unread,
Sep 17, 2014, 6:54:43 AM9/17/14
to tesser...@googlegroups.com
what OS are you using? I know in linux you will get that error if you don't have permission on your working directory

--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/48LiQT2Wuso/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.

Bhagesh Sr

unread,
Sep 17, 2014, 7:25:56 AM9/17/14
to tesser...@googlegroups.com
I am using windows 7 operating system.


On Monday, September 15, 2014 1:38:23 PM UTC+5:30, Bhagesh Sr wrote:

Bhagesh Sr

unread,
Sep 17, 2014, 7:26:59 AM9/17/14
to tesser...@googlegroups.com
In windows 8 also i have tried it. But the same error is showing up there as well.


On Monday, September 15, 2014 1:38:23 PM UTC+5:30, Bhagesh Sr wrote:

Dovhani Foneworx

unread,
Sep 17, 2014, 10:30:08 AM9/17/14
to tesser...@googlegroups.com
I don;t have any understanding of tesseract in windows.

"can not create the out.txt file". is permission issues in linux.

--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/48LiQT2Wuso/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.

Sriranga(80yrs)

unread,
Sep 17, 2014, 12:48:53 PM9/17/14
to tesser...@googlegroups.com
actually commandline used by you may please be furnished.


--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.

To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.

Bhagesh Sr

unread,
Sep 18, 2014, 2:31:44 AM9/18/14
to tesser...@googlegroups.com
Hello sir sriranga,

I didn't get your point. It will be very helpful to me if you can please state it more clearly.

On Monday, September 15, 2014 1:38:23 PM UTC+5:30, Bhagesh Sr wrote:

Sriranga(80yrsold)

unread,
Sep 18, 2014, 2:38:17 AM9/18/14
to Michael Reimer
commandline = "tesseract phototest.tif testing -l eng"  you will get output test as "testing.txt"


--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.

Bhagesh Sr

unread,
Sep 18, 2014, 9:28:28 AM9/18/14
to tesser...@googlegroups.com
Sir,

I have tried this as well. But still the same error is showing as "can not create the output file test.txt".

On Monday, September 15, 2014 1:38:23 PM UTC+5:30, Bhagesh Sr wrote:
Reply all
Reply to author
Forward
0 new messages