summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/ocr/ShareonlineBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 22:48:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:02:00 +0200
commit5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363 (patch)
treed5fbe979c043f5aa684272c97c0305d3124b1901 /pyload/plugin/ocr/ShareonlineBiz.py
parentPEP-8, Python Zen, refactor and reduce code (part 12 in master module/remote/... (diff)
downloadpyload-5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363.tar.xz
Spare code cosmetics (8)
Diffstat (limited to 'pyload/plugin/ocr/ShareonlineBiz.py')
-rw-r--r--pyload/plugin/ocr/ShareonlineBiz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugin/ocr/ShareonlineBiz.py b/pyload/plugin/ocr/ShareonlineBiz.py
index b07653279..8efbdee35 100644
--- a/pyload/plugin/ocr/ShareonlineBiz.py
+++ b/pyload/plugin/ocr/ShareonlineBiz.py
@@ -23,8 +23,8 @@ class ShareonlineBiz(OCR):
self.image = self.image.resize((160, 50))
self.pixels = self.image.load()
self.threshold(1.85)
- #self.eval_black_white(240)
- #self.derotate_by_average()
+ # self.eval_black_white(240)
+ # self.derotate_by_average()
letters = self.split_captcha_letters()
@@ -36,4 +36,4 @@ class ShareonlineBiz(OCR):
return final
- #tesseract at 60%
+ # tesseract at 60%