summaryrefslogtreecommitdiffstats
path: root/captcha/gigasize-com.py
diff options
context:
space:
mode:
Diffstat (limited to 'captcha/gigasize-com.py')
-rw-r--r--captcha/gigasize-com.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/captcha/gigasize-com.py b/captcha/gigasize-com.py
new file mode 100644
index 000000000..b48e20da4
--- /dev/null
+++ b/captcha/gigasize-com.py
@@ -0,0 +1,14 @@
+from captcha import Ocr
+
+class Gigasize(Ocr):
+ def __init__(self, image):
+ Ocr.__init__(self, image)
+
+ def get_captcha(self):
+ self.threshold(2.8)
+ self.run_gocr()
+ return self.result_captcha
+
+if __name__ == '__main__':
+ ocr = Gigasize('gigasize-com/7.jpg')
+ print ocr.get_captcha()