summaryrefslogtreecommitdiffstats
path: root/captcha/gigasize-com.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-17 23:18:27 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-17 23:18:27 +0200
commitc5234a8b3d223f9860de161894ae8a4623e1ae05 (patch)
treed98aa17e3c0e738940e8957b390cd32e4b0955ee /captcha/gigasize-com.py
parentadded a error message if gui cant connect to server (diff)
downloadpyload-c5234a8b3d223f9860de161894ae8a4623e1ae05.tar.xz
plugins can import captcha method, see #6
Diffstat (limited to 'captcha/gigasize-com.py')
-rw-r--r--captcha/gigasize-com.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/captcha/gigasize-com.py b/captcha/gigasize-com.py
deleted file mode 100644
index b48e20da4..000000000
--- a/captcha/gigasize-com.py
+++ /dev/null
@@ -1,14 +0,0 @@
-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()