summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/captcha')
-rw-r--r--module/plugins/captcha/CircleCaptcha.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/plugins/captcha/CircleCaptcha.py b/module/plugins/captcha/CircleCaptcha.py
index a79198314..8b59c6703 100644
--- a/module/plugins/captcha/CircleCaptcha.py
+++ b/module/plugins/captcha/CircleCaptcha.py
@@ -241,7 +241,6 @@ class CircleCaptcha(OCR):
-1 -> Not found circle
-2 -> Found black position then leave position
"""
-
imageheight = range(int(c[1]-c[2]),int(c[1]+c[2]))
imagewidth = range(int(c[0]-c[2]),int(c[0]+c[2]))
@@ -323,7 +322,6 @@ class CircleCaptcha(OCR):
-1 -> Not found circle
-2 -> Found black position then leave position
"""
-
imageheight = range(int(c[1]-c[2]),int(c[1]+c[2]))
imagewidth = range(int(c[0]-c[2]),int(c[0]+c[2]))
@@ -485,7 +483,6 @@ class CircleCaptcha(OCR):
if maxX - minX < c[2] * 2 * 0.10 and maxY - minY < c[2] * 2 * 0.10:
return -1;
"""
-
if missing / howmany > 0.25 or \
missingconsecutive >= (howmany / 4) * 2 or \
howmany < 80: