Re: [tesseract-ocr] Re: Error opening traineddata files on Mac High Sierra

2018-04-11 Thread Firlefanz

Thank you again. I think I'll stay with plain txt -- pdf looks too 
difficult to achieve.

Now, next problem: Everything worked fine with my 1-page test pdf. I now 
tried to do the same with a 30 MB 500 pages pdf. After running convert 
-density 300 test.pdf -depth 8 -strip -background white -alpha off 
test.tiff it took 2 hours and then suddenly everything went black and I 
could not do anything. I guess my Mac is too weak to handle this. I guess 
splitting the pdf in many parts is the only option left? 
With pdftk I used the command "pdftk test.pdf burst" to split the pdf in 
single pages. I then put around 50 pages in a new folder and used "pdftk 
*.pdf cat output test.pdf" to combine them. Is there a faster way to do 
this? I do not know with which command I could split the 500 automatically 
in bundles of 50.

-- 
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-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/02a36337-bc70-46c0-8844-5e114e77db55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Re: Error opening traineddata files on Mac High Sierra

2018-04-11 Thread ShreeDevi Kumar
https://github.com/tesseract-ocr/tesseract/issues/660

Regarding pdf

On Wed 11 Apr, 2018, 1:28 PM ShreeDevi Kumar,  wrote:

> 1. Check the output tif and adjust convert command if needed
>
> 2. Depending on your tesseract version you could try -l frk also.
>
> 3. Yes, you can get a pdf as output.
>
> Search Github issues, there is a long discussion thread regarding best
> ways to create a pdf output.
>
> Look for pdf and invisible pdf.
>
> On Wed 11 Apr, 2018, 1:03 PM Firlefanz,  wrote:
>
>>
>> It works! I am so relieved. Thank you all for the help.
>>
>> Still I have a couple of questions since I've read a couple of tutorials,
>> each using other commands:
>>
>> 1. Converting my Fraktur pdf files in tiff I use imagemagick. Is this the
>> right command? convert -density 300 test.pdf -depth 8 -strip -background
>> white -alpha off test.tiff
>>
>> 2. For tesseract then the command: tesseract test.tiff outtest -l deu_frak
>> With this I get a txt version of the tiff.
>>
>> 3. Not that it matters too much (I'm over the moon that it works like
>> this), can I get as an output instead of a txt the original pdf just with a
>> search-and-copy-function?
>>
>>
>> --
>> 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-ocr+unsubscr...@googlegroups.com.
>> To post to this group, send email to tesseract-ocr@googlegroups.com.
>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tesseract-ocr/433f3fad-e316-49aa-9a93-367ee596a7e6%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduW4ehEG7gyPS79fkLXbrvZkm5H7E7oWXFfukyUcYM__HQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Re: Error opening traineddata files on Mac High Sierra

2018-04-11 Thread ShreeDevi Kumar
1. Check the output tif and adjust convert command if needed

2. Depending on your tesseract version you could try -l frk also.

3. Yes, you can get a pdf as output.

Search Github issues, there is a long discussion thread regarding best ways
to create a pdf output.

Look for pdf and invisible pdf.

On Wed 11 Apr, 2018, 1:03 PM Firlefanz,  wrote:

>
> It works! I am so relieved. Thank you all for the help.
>
> Still I have a couple of questions since I've read a couple of tutorials,
> each using other commands:
>
> 1. Converting my Fraktur pdf files in tiff I use imagemagick. Is this the
> right command? convert -density 300 test.pdf -depth 8 -strip -background
> white -alpha off test.tiff
>
> 2. For tesseract then the command: tesseract test.tiff outtest -l deu_frak
> With this I get a txt version of the tiff.
>
> 3. Not that it matters too much (I'm over the moon that it works like
> this), can I get as an output instead of a txt the original pdf just with a
> search-and-copy-function?
>
>
> --
> 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-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@googlegroups.com.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/433f3fad-e316-49aa-9a93-367ee596a7e6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduUtJfypH_zDxKTkjowxCF0mYc5V8t5_abs2E2z4y_q4Xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.