You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already multiples module called pytesser, but this one is slightly different on the following point:
10
+
There is already multiples tesseract python modules, but none of them satisfied me. This one is different on the following point:
11
11
12
-
* It implement all the features of tesseract engine it includes the choise of the language and the page segmentation mode.
13
-
* All the module is contained in one file (the others modules I have tried are quite messy.
14
-
* It support OpenCV, so you can directly provide an IplImage to the module.
12
+
* All the classes are put in the same file and all inessential class are removed
13
+
* Use OpenCV instead of PIL (to really an advantage because PIL as far more widespread, but better fit my needs ;))
14
+
* Use subprocess.communicate instead of subprocess.wait to avoid any output in the shell or in the programs that use the module.
15
+
* Management of the differents languages via the option '-l' because the original pytesser use the default language which is english. By this way the detection of french for instance is totally inacurrate.
16
+
* Management of of the pagesegmode, which allow to modify the behavior of tesseract if we want for instance to detect only one character, a word or a line.
17
+
* The code is far more straightforward (my opinion)
15
18
16
19
How to use it ?
17
20
---------------
@@ -28,4 +31,4 @@ There is to ways to use it. Either you give it a filename, either directly an Ip
28
31
Or you can directly give it an IplImage like this:
0 commit comments