diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-09 19:33:40 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-09 19:33:40 +0200 |
commit | d050a96342627db76dc5ac9af951c948de2fc075 (patch) | |
tree | 7ab189620a2cdcdf0b989266d75b9d6a124350b1 /module/plugins/captcha/captcha.py | |
parent | account save function, DELETE OLD accounts.conf !!! (diff) | |
download | pyload-d050a96342627db76dc5ac9af951c948de2fc075.tar.xz |
removed gocr dependency
Diffstat (limited to 'module/plugins/captcha/captcha.py')
-rw-r--r-- | module/plugins/captcha/captcha.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/module/plugins/captcha/captcha.py b/module/plugins/captcha/captcha.py index 8b3b4ccbc..12486fbc5 100644 --- a/module/plugins/captcha/captcha.py +++ b/module/plugins/captcha/captcha.py @@ -77,11 +77,6 @@ class OCR(object): result = thread.e(command, inputdata) return result - def run_gocr(self): - tmp = tempfile.NamedTemporaryFile(suffix=".jpg") - self.image.save(tmp) - self.result_captcha = self.run(['gocr', tmp.name]).replace("\n", "") - def run_tesser(self, subset=False, digits=True, lowercase=True, uppercase=True): #self.logger.debug("create tmp tif") tmp = tempfile.NamedTemporaryFile(suffix=".tif") |