As I understand tessdata-prefix as well as the tessdata-dir option that you are proposing now specify where tesseract-ocr should look for its data (languages and configs) - does it also - without explicitly mentioning it - specify where the 'tesseract.exe' resides?
The reason I ask is this, I had initially downloaded the 3.02 windows package and installed it. Then I downlaoded the latest svn thru VS2008 and compiled it. They are in two different locations. So, is setting the tessdata-prefix or this new option enough enough for making sure that the correct tesseract executable is used? Thanks, Shree Shree Devi Kumar ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Mon, Jul 15, 2013 at 2:26 AM, zdenko podobny <zde...@gmail.com> wrote: > I play a little bit with Dmitry Katsubo patch. Based on it I suggest to > implement option "--tessdata-dir" for tesseract-ocr executable. It allows > user to specify where tesseract-ocr should look for its data (languages and > configs). For example something like this should work after applying my > patch from issue 938[1] : > tesseract --tessdata-dir /usr/src/tesseract-ocr/tessdata eurotext.tif > stdout > > Feel free to test and comment it. > > [1] http://code.google.com/p/tesseract-ocr/issues/detail?id=938#c4 > > Zdenko > > > On Fri, Jun 7, 2013 at 12:54 PM, Dmitry Katsubo > <dmitry.kats...@gmail.com>wrote: > >> On 07.06.2013 11:35, Sriranga(79yrs) wrote: >> >> I would suggest better to post under issues with your patch also. >> Presumed that it will work for windows platform also apart from Linux? >> >> >> I have submitted >> issue#938<http://code.google.com/p/tesseract-ocr/issues/detail?id=938> >> . >> I can't 100% guarantee that it works for WIndows, as I don't have means >> to compile Tesseract under Windows. However I didn't add something new, I >> have just reshuffled the order the values are checked, so it should work OK. >> >> -- >> With best regards, >> Dmitry >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "tesseract-ocr" group. >> To post to this group, send email to tesseract-ocr@googlegroups.com >> To unsubscribe from this group, send email to >> tesseract-ocr+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en >> >> --- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > -- > You received this message because you are subscribed to the Google > Groups "tesseract-ocr" group. > To post to this group, send email to tesseract-ocr@googlegroups.com > To unsubscribe from this group, send email to > tesseract-ocr+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/tesseract-ocr?hl=en > > --- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to tesseract-ocr@googlegroups.com To unsubscribe from this group, send email to tesseract-ocr+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- 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. For more options, visit https://groups.google.com/groups/opt_out.