Will This code work in cmd. It doesn't gives me a output "G:\Visual Studio 2008\Akshara Sinhala OCR\Akshara Sinhala OCR\bin\Debug\tesseract.exe" "C:\Documents and Settings\CR-PC-01\My Documents\My Pictures\untitled.JPG" "TEmp" -l sinhala
On 1/2/12, Lahiru Himash Madusanka <[email protected]> wrote: > OK. I'll check them and give feedback to you. > > On 12/31/11, zdenko podobny <[email protected]> wrote: >> On Sat, Dec 31, 2011 at 11:21 AM, Lahiru Himash Madusanka < >> [email protected]> wrote: >> >>> Yes. My program was Written in Visual Basic. Also uses Tesseract.exe >>> So my program is using Shell() function in vb to call this >>> tesseract.exe >>> >>> This is reason why I asked you to show more lines of code because there >> could be several issues: >> >> - you could call shell wrong way (I do not have experience with VB, >> but >> it take me time to call tesseract from python correctly ;-) ) >> - there could be problem with image - please always make test >> with eurotext.tif or phototest.tif that are included in tesseract >> source >> - make sure that your command works in command line (as I already >> pointed: your command can not work because of missing quote(s) >> >> >> >>> On Dec 31, 3:15 pm, zdenko podobny <[email protected]> wrote: >>> > On Sat, Dec 31, 2011 at 11:00 AM, Lahiru Himash Madusanka < >>> > >>> > [email protected]> wrote: >>> > > No that code is i'm using at command line. >>> > You wrote: "I'm using tesseract in my own written Program"... now you >>> wrote >>> > >>> > you use tesseract in command line. Please clarify. >>> > >>> > > It doesn't gives me a >>> > > output. The Language is Sinhala. >>> > >>> > I asked about programming language because of you mentioned that you >>> wrote >>> > Program. Anyway you try to use English (-l eng) >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > > This is my command line code >>> > >>> > > C:\Documents and Settings\CR-PC-01\Desktop\New Folder >>> > > (2)\tesseract.exe "C:\Documents and Settings\CR-PC-01\My >>> > > Documents\My >>> > > Pictures\VidBlasterWS.jpg" output.txt -l eng -psm 3" >>> > >>> > > As I already mentioned - it can not work because of missing >>> > > quotes... >>> > > On 12/30/11, zdenko podobny <[email protected]> wrote: >>> > > > On Fri, Dec 30, 2011 at 5:14 AM, Lahiru Himash Madusanka < >>> > > > [email protected]> wrote: >>> > >>> > > >> I'm using tesseract in my own written Program. It uses >>> > > >> Tesseract.exe >>> > > >> as it's engine. >>> > >>> > > >> Here is my code >>> > > >> {C:\Documents and Settings\CR-PC-01\Desktop\New Folder >>> > > >> (2)\tesseract.exe "C:\Documents and Settings\CR-PC-01\My >>> Documents\My >>> > > >> Pictures\VidBlasterWS.jpg" output.txt -l eng -psm 3"} >>> > >>> > > >> well it does not look like code to me ;-) Also number of quotes >>> > > >> is >>> odd >>> > > and >>> > > > I think it should be even (at least in languages I am familiar). >>> Please >>> > > > provide more lines of your code... >>> > >>> > > >> But this doesn't output a text file. But I can use it by Windows >>> > > >> Command line. >>> > >>> > > >> Does it mean it creates output when you run that command in cmd >>> (command >>> > > > line)? >>> > > > Please provide more details (e.g. what programming language you >>> > > > use). >>> > >>> > > >> -- >>> > > >> You received this message because you are subscribed to the >>> > > >> Google >>> > > >> Groups "tesseract-ocr" group. >>> > > >> To post to this group, send email to >>> > > >> [email protected] >>> > > >> To unsubscribe from this group, send email to >>> > > >> [email protected] >>> > > >> 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 post to this group, send email to >>> > > > [email protected] >>> > > > To unsubscribe from this group, send email to >>> > > > [email protected] >>> > > > For more options, visit this group at >>> > > >http://groups.google.com/group/tesseract-ocr?hl=en >>> > >>> > > -- >>> > > Lahiru Himash Madusanka >>> > >http://119sinhala.blogspot.com >>> > >>> > > -- >>> > > You received this message because you are subscribed to the Google >>> > > Groups "tesseract-ocr" group. >>> > > To post to this group, send email to [email protected] >>> > > To unsubscribe from this group, send email to >>> > > [email protected] >>> > > 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 post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en >> > > > -- > Lahiru Himash Madusanka > http://119sinhala.blogspot.com > -- Lahiru Himash Madusanka http://119sinhala.blogspot.com -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

