Tesseract OCR Not Outputting Files
up vote
0
down vote
favorite
C:Program Files (x86)Tesseract-OCR>tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 279
That's my code. No file is made. I don't know what is happening with this code.
I'm in the directory as Tesseract-OCR (C:Program Files (x86)Tesseract-OCR), the location of the image to OCR is C:wamp64wwwtest.jpg, and the directory to output is C:wamp64wwwtest.
What am I doing wrong?
tesseract
add a comment |
up vote
0
down vote
favorite
C:Program Files (x86)Tesseract-OCR>tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 279
That's my code. No file is made. I don't know what is happening with this code.
I'm in the directory as Tesseract-OCR (C:Program Files (x86)Tesseract-OCR), the location of the image to OCR is C:wamp64wwwtest.jpg, and the directory to output is C:wamp64wwwtest.
What am I doing wrong?
tesseract
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
C:Program Files (x86)Tesseract-OCR>tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 279
That's my code. No file is made. I don't know what is happening with this code.
I'm in the directory as Tesseract-OCR (C:Program Files (x86)Tesseract-OCR), the location of the image to OCR is C:wamp64wwwtest.jpg, and the directory to output is C:wamp64wwwtest.
What am I doing wrong?
tesseract
C:Program Files (x86)Tesseract-OCR>tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 279
That's my code. No file is made. I don't know what is happening with this code.
I'm in the directory as Tesseract-OCR (C:Program Files (x86)Tesseract-OCR), the location of the image to OCR is C:wamp64wwwtest.jpg, and the directory to output is C:wamp64wwwtest.
What am I doing wrong?
tesseract
tesseract
asked Nov 10 at 23:22
Witold Kowelski
5761725
5761725
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
You need to give dpi along with the image. If you go to metadata of the image, you won't find dpi and that's the reason you are getting a warning.
Try using:
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 96
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 279
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You need to give dpi along with the image. If you go to metadata of the image, you won't find dpi and that's the reason you are getting a warning.
Try using:
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 96
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 279
add a comment |
up vote
0
down vote
You need to give dpi along with the image. If you go to metadata of the image, you won't find dpi and that's the reason you are getting a warning.
Try using:
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 96
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 279
add a comment |
up vote
0
down vote
up vote
0
down vote
You need to give dpi along with the image. If you go to metadata of the image, you won't find dpi and that's the reason you are getting a warning.
Try using:
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 96
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 279
You need to give dpi along with the image. If you go to metadata of the image, you won't find dpi and that's the reason you are getting a warning.
Try using:
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 96
- tesseract C:wamp64wwwtest.jpg C:wamp64wwwtest pdf --dpi 279
answered Nov 16 at 7:07
Rajat Paliwal
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244393%2ftesseract-ocr-not-outputting-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown