Can I test tesseract ocr in windows command line? -


I am new to test the OCR, I changed an image to TIF and to run it to see it Tried to try what is the output from Tescract using CMD in Windows, but I could not. Can you help me What will be the command to use it?

Here's my sample image:

Enter image details here

The simplest tesseract.exe syntax is tesseract.exe's input image output -text file . This assumption is here, that tesseract.exe is added to the PATH environment variable

I think regular syntax (without any -psm ), You can add the -psm N argument. Switch) works well with the image you attach, as long as the level of accuracy is not sufficient.

Note that non-English characters (such as symbols next to prescriptions) are not recognized; My default installation includes only English training data.

Here is the tesseract syntax description:

  c: \ user \ vish \ desktop & gt; Tesseract.exe Usage: tesseract.exe Outputbase in the name of the imagery [-l lang] [-psm pagesegmode] [configfile ...] pagesegmode values ​​are: 0 = orientation and script detection (OSD) only with 1 = OSD Automatic Page Partition 2 = Automatic page segmentation, but no OSD, or OCR3 = fully automatic page partition, but not OSD (default) 4 = Assume a column of text of variable sizes 5 = Stacked aligned text Assume a uniform block. 6 = Accept a single uniform block text. 7 = Explain the image as a text line 8 = Treat the image as a word 9 = Treat the image as a word in a circle. 10 = Treat the image as a single character -L Lang and / or -PMSPGMOD should be before any configured file. Single option: -V - Description: Version information - List-lang: List of available languages ​​for TessAreact engine   

And here is the output for your image (Note: When I Downloaded, then converted to a PNG image):

  C: \ user \ vish \ Desktop & gt; Tesseract.exe ECL8R.png out.txt TapeActact Open Source OCR Engine v3.02 with Leponica C: \ Users \ Vish \ Desktop & gt; Type Out.txt.txt 1 Project Background A doctor or physician physician has a written order in the form of a prescription for a doctor for a physician for a patient. You can not get medicines medicines unless someone guides them with the authority. Usually, this means that your doctor has a written slip. Dentists, opticalists, midwives, and nurses practitioners can also be authorized to write medicines for you. It can also be defined as an order to take certain medicines; a prescription has a legal effect; This means that the doctor should respect his patient's clinical care responsibilities. Recently, "prescriptions" ?? One ¥ ¥ has used a widespread use for clinical assessment,    

Comments

Popular posts from this blog

Member with no value in F# -

sqlite3 - UPDATE a table from the SELECT of another one -

java - Joda Time Interval Not returning what I expect -