summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/GigasizeCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/captcha/GigasizeCom.py')
-rw-r--r--module/plugins/captcha/GigasizeCom.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/module/plugins/captcha/GigasizeCom.py b/module/plugins/captcha/GigasizeCom.py
index 52c41729b..12f123c41 100644
--- a/module/plugins/captcha/GigasizeCom.py
+++ b/module/plugins/captcha/GigasizeCom.py
@@ -1,23 +1,20 @@
# -*- coding: utf-8 -*-
-from module.plugins.captcha.OCR import OCR
+from module.plugins.internal.OCR import OCR
class GigasizeCom(OCR):
__name__ = "GigasizeCom"
__type__ = "ocr"
- __version__ = "0.11"
+ __version__ = "0.14"
+ __status__ = "testing"
__description__ = """Gigasize.com ocr plugin"""
__license__ = "GPLv3"
__authors__ = [("pyLoad Team", "admin@pyload.org")]
- def __init__(self):
- OCR.__init__(self)
-
-
- def get_captcha(self, image):
+ def recognize(self, image):
self.load_image(image)
self.threshold(2.8)
self.run_tesser(True, False, False, True)