[Pycodeocr-main] SF.net SVN: pycodeocr:[61] trunk
Status: Beta
Brought to you by:
drtrigon
From: <drt...@us...> - 2013-11-03 16:19:43
|
Revision: 61 http://sourceforge.net/p/pycodeocr/code/61 Author: drtrigon Date: 2013-11-03 16:19:40 +0000 (Sun, 03 Nov 2013) Log Message: ----------- * support for Pillow (PIL replacement) * add ')' -> '>' substitution for ocr Modified Paths: -------------- trunk/PyCodeOCR.py trunk/utils/ocr.py Modified: trunk/PyCodeOCR.py =================================================================== --- trunk/PyCodeOCR.py 2011-12-22 23:07:40 UTC (rev 60) +++ trunk/PyCodeOCR.py 2013-11-03 16:19:40 UTC (rev 61) @@ -68,8 +68,8 @@ from utils.checksum import modulo10 -# PIL image library and it's SANE bindings -import Image, ImageDraw +# PIL/Pillow image library and it's SANE bindings +from PIL import Image, ImageDraw #from PIL import Image from time import gmtime, strftime Modified: trunk/utils/ocr.py =================================================================== --- trunk/utils/ocr.py 2011-12-22 23:07:40 UTC (rev 60) +++ trunk/utils/ocr.py 2013-11-03 16:19:40 UTC (rev 61) @@ -72,6 +72,7 @@ ("'", ""), #('\xbb', 187)('\x99', 153)('\x98', 152) ("\+", "+ "), + ("\)", ">"), ("\x92", "1"), # post correction ] for item in corrections: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |