Nrp8247 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Error:"Cannot create output file output.txt" in Windows7 and 8.1 #1447

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install tesseract
2.Write commands in command line
3.Try to create a text file from English image

What is the expected output? What do you see instead?

A text file containing the letter of tif image.I see the error 
"Cannot create output file output.txt" 
My command line codes:
cd C:\
cd Program Files
cd Tesseract-OCR
tesseract C:\Input.tif output -l eng

I tried tiff instead of tif in the command, could not open the input file then.
What version of the product are you using? On what operating system?

Windows7 and Windows8.1 tried but failed,works fine in Windows XP but my laptop 
does not support XP.
Please provide any additional information below.

I downloaded the installer from here 
https://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setu
p-3.02.02.exe&

Original issue reported on code.google.com by m.tawfi...@gmail.com on 8 Apr 2015 at 2:19

GoogleCodeExporter commented 9 years ago
This is error message from you system (Windows7 and 8.1) that does not allow 
tesseract to create output.
So you need to find reason why your system does not allow it.

Original comment by zde...@gmail.com on 9 Apr 2015 at 8:26

GoogleCodeExporter commented 9 years ago
Yes, but when the Operating System works fine for everything else, how come I 
fix the problem?

Original comment by m.tawfi...@gmail.com on 9 Apr 2015 at 1:13

GoogleCodeExporter commented 9 years ago
please help ...same issue is with me 

Original comment by jagpreet...@gmail.com on 16 Aug 2015 at 3:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I had the same issue and read this comment and thought about the fix! 
Basically, you need to make sure tesseract is running as admin. In windows 7, 
right click on "tesseract.exe" and select properties. In the compatibility tab, 
at the bottom, check the "Run this program as an administrator" box. This 
should fix it.

I have attached a screen shot.Hope this helps

Original comment by JeanRodneyLarrieux@gmail.com on 19 Aug 2015 at 1:54

Attachments: