Skip to content

Commit 3edf063

Browse files
committed
Linux with py2.7 support.
1 parent 4f8fc8b commit 3edf063

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Dependencies:
2323
=============
2424
- PIL is required to work with images in memory.
2525
>https://pypi.python.org/pypi/Pillow/
26-
- This version of PyTesser has been tested with Python 3.4 in Windows 10 and Ubuntu 14.04 LTS.
26+
- This version of PyTesser has been tested with Python 3.4 in Windows 10 and Python 2.7 in Ubuntu 14.04 LTS.
2727
- For Linux:
2828
+ Add executable permission to all .exe file `chmod +x dlltest.exe tesseract.exe`
2929
+ Install wine `sudo apt-get install wine`

pytesser.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: ascii -*-
12
from PIL import Image
23
import subprocess
34
import os

util.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: ascii -*-
2+
13
"""Utility functions for processing images for delivery to Tesseract"""
24

35
import os

0 commit comments

Comments
 (0)