diff options
author | Rasmus Steinke <rasi@xssn.at> | 2012-08-11 02:40:34 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2012-08-11 02:40:34 +0200 |
commit | f140a1642ebfde198946ad6760c1003c1cb9a8c3 (patch) | |
tree | 7538aa90092f99c661ec3abb4a69944767315dc5 /bin/jdownloader/jd/captcha/methods/mg1280 | |
parent | e3fd45703267ce67d8b1e1fb53a4a1b4ccda551e (diff) | |
download | dotfiles-f140a1642ebfde198946ad6760c1003c1cb9a8c3.tar.gz dotfiles-f140a1642ebfde198946ad6760c1003c1cb9a8c3.tar.xz |
scripts
Diffstat (limited to 'bin/jdownloader/jd/captcha/methods/mg1280')
-rw-r--r-- | bin/jdownloader/jd/captcha/methods/mg1280/example.jpg | bin | 0 -> 2758 bytes | |||
-rw-r--r-- | bin/jdownloader/jd/captcha/methods/mg1280/jacinfo.xml | 4 | ||||
-rw-r--r-- | bin/jdownloader/jd/captcha/methods/mg1280/letters.mth | 33 | ||||
-rw-r--r-- | bin/jdownloader/jd/captcha/methods/mg1280/script.jas | 48 |
4 files changed, 85 insertions, 0 deletions
diff --git a/bin/jdownloader/jd/captcha/methods/mg1280/example.jpg b/bin/jdownloader/jd/captcha/methods/mg1280/example.jpg Binary files differnew file mode 100644 index 0000000..03d26a3 --- /dev/null +++ b/bin/jdownloader/jd/captcha/methods/mg1280/example.jpg diff --git a/bin/jdownloader/jd/captcha/methods/mg1280/jacinfo.xml b/bin/jdownloader/jd/captcha/methods/mg1280/jacinfo.xml new file mode 100644 index 0000000..8a10b0d --- /dev/null +++ b/bin/jdownloader/jd/captcha/methods/mg1280/jacinfo.xml @@ -0,0 +1,4 @@ +<jDownloader>
+ <method name="mega.1280.com" author="DwD" services="mega.1280.com"/>
+ <format type="jpg" letterNum="5"/>
+</jDownloader> diff --git a/bin/jdownloader/jd/captcha/methods/mg1280/letters.mth b/bin/jdownloader/jd/captcha/methods/mg1280/letters.mth new file mode 100644 index 0000000..5f6348a --- /dev/null +++ b/bin/jdownloader/jd/captcha/methods/mg1280/letters.mth @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<jDownloader> +<letter bad="0" captchaHash="38d8e402cbacde56fd7cc841c179526d" good="0" id="0" value="z">0000000000|0000000000|0000000001|0000000001|1111000011|1111000011|1110000011|1100000111|1100000111|1100001111|1000001110|1000000000|0000000000|0000000000|0000000000</letter> +<letter bad="0" captchaHash="1f18f6aa16b6d88348c7293e3ec93e78" good="1" id="1" value="y">10000111100001|00000111100001|11000011100001|11000011100000|11000011000011|11000011000011|11100001000011|11100001000011|11100000000111|11100000000111|11110000000101|11110000001011|11110000001111|11111000001111|11111000001111|11111000001111|11111000011111|11111000001111|11110000011111|11110000111111</letter> +<letter bad="0" captchaHash="ac21a5095ad8738a6f3d769be49d6024" good="4" id="2" value="x">111111111010|100001100000|100001100000|110000100001|110000000001|110000000011|111000000111|111000000111|111100000111|111000000111|111000000111|110000000011|110000100011|100001100001|100001100000|000001110000|111111111101</letter> +<letter bad="0" captchaHash="dde48647699ff8f49c9760e97c451f66" good="2" id="3" value="w">111110111111110|000001100100001|100001101100001|100001001100011|100001001000011|100001000000001|100001000000011|110000000000011|110000000000011|110000000000111|110000000000111|110000000000111|110000000000111|111000010000111|111000110000111|111000110001111|111111011111111</letter> +<letter bad="0" captchaHash="8b39fb92b5b1bf38023d25f4bc977f97" good="1" id="4" value="v">0000111100001|0000111100001|1000011100001|1000011000000|1000011000011|1000011000011|1100001000011|1100000000011|1100000000111|1100000000111|1110000000111|1110000000111|1110000001111|1110000001111|1111000001111|1111111101111</letter> +<letter bad="0" captchaHash="8b39fb92b5b1bf38023d25f4bc977f97" good="2" id="5" value="t">1100001111|1100001111|1100001111|1100001111|0000000111|0000000111|0000000111|0000000111|1100001111|1100001111|1100001111|1100001111|1100001111|1100001111|1100001111|1100000001|1100000000|1100000000|1100000000</letter> +<letter bad="0" captchaHash="ac21a5095ad8738a6f3d769be49d6024" good="2" id="6" value="s">11111011111|11000000111|01000000001|10000000001|10000110001|10000111111|10000011111|10000000111|11000000001|11010000001|11111100000|11111110000|10000110000|10000000001|10000000001|11100000111|11011111111</letter> +<letter bad="0" captchaHash="1421123dd92a9c3b32ea5445011b531a" good="6" id="7" value="r">00001100001|00001000000|00000000000|00000000000|00001110001|00001111110|00001111111|00001111111|00001111111|00001111111|00001111111|00001111111|00001111111|00001111111|00001111111</letter> +<letter bad="0" captchaHash="d98d670a0e35794d1886b2033b5541c8" good="6" id="8" value="q">11011101111111|11100001100001|11000000100001|10000000100001|00000000000000|00001111000001|00001111000001|00001111100001|00001111100001|00001111100001|00001111000001|00001111000001|00000000000001|10000000100001|11000000100001|11100001100001|11111111100001|11111111100001|11111111100001|11111111100001|11111111100001</letter> +<letter bad="0" captchaHash="959fc685aa3265df1c7284ae6f743eca" good="1" id="9" value="p">11101111111111|10000100000111|10000100000011|10000000000011|10000000000001|10000011100001|10000111100000|10000111100000|10000111110000|10000111100000|10000111100000|10000011100000|10000000000001|10000000000001|10000000000010|10000100000111|10000111111011|00000111111111|10000111111111|10000111111111|10000111111111</letter> +<letter bad="0" captchaHash="6d33ba836e7dcb7901e7708ad3e548e8" good="3" id="10" value="n">100001100001|100001000000|100000000000|100000100000|100001110000|100000110000|100001111000|100001110000|000001110000|100001110000|100001111000|100001110000|100001110000|100001110000|100001110000|111111111101</letter> +<letter bad="0" captchaHash="dde48647699ff8f49c9760e97c451f66" good="6" id="11" value="m">11101111111111|00000001000011|00000000000001|00000000000001|00000000000001|00000000100001|00001000100000|00001000100001|00001001100001|00001001100001|00001001100001|00001001100001|00001001100001|00001001000001|00001001100001|00001000100001</letter> +<letter bad="0" captchaHash="6d33ba836e7dcb7901e7708ad3e548e8" good="8" id="12" value="k">10000111111111|10000111111111|10000111111111|10000111111111|10000111111111|10000111111111|10000111000001|10000110000110|00000100000111|10000100001111|10000000011111|10000000011111|10000000111111|10000000111111|10000000011111|10000000011111|10000100001111|10000100001111|10000010000111|10000100000011|10000101000011</letter> +<letter bad="0" captchaHash="d98d670a0e35794d1886b2033b5541c8" good="2" id="13" value="j">11110001|11100000|11110000|11110000|11110001|11111101|00000000|10000000|10000000|10000000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11100000|00000000|00000001|00000001</letter> +<letter bad="0" captchaHash="8b39fb92b5b1bf38023d25f4bc977f97" good="2" id="14" value="j">10000000|10000000|00000000|11000000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11110000|11100000|00000000|00000001|00000001</letter> +<letter bad="0" captchaHash="d98d670a0e35794d1886b2033b5541c8" good="6" id="15" value="h">100001111111|100001111111|100001111111|100001111111|100001111111|100001111011|100001000011|100000000001|100000000001|100000000000|100001100000|100001110000|100001110000|100001110000|100001110000|000001110000|100001110000|100001110000|100001110000|100001110000|100001110000</letter> +<letter bad="0" captchaHash="a669ac446bdf72dca9098d29131f92ce" good="0" id="16" value="g">111111101111111|111111100111111|111100000100001|111100000000001|111000000000000|110000000000001|110000011000001|110000111100001|110000111100001|110000111100001|110000111100001|110000111100001|110000011000001|111000000000001|111000000000001|111000000000001|111100000100001|111111111100001|111011111000001|010000110000001|100000000000011|100000000000111</letter> +<letter bad="0" captchaHash="d98d670a0e35794d1886b2033b5541c8" good="3" id="17" value="f">11110000001|10100000000|11000000000|11000000001|11000011111|11000011111|00000001111|00000001111|00000001111|00000001111|11000011111|11000011111|11000011111|11000011111|11000011111|11000011111|11000011111|11000011111|11000011111|11000011111|11000011111</letter> +<letter bad="0" captchaHash="1421123dd92a9c3b32ea5445011b531a" good="1" id="18" value="d">1111111111000011|1111111111000001|1111111111000001|1111111111000001|1111111110000011|1111110111000001|1110000011000011|1100000001000011|1100000000000011|0000000000000011|1000001010000011|0000011110000011|1000011110000011|1000011111000011|1000011110000011|0000010110000010|1000001110000001|1000000000000011|1100000000000001|1100000001000011|1110000011000011</letter> +<letter bad="0" captchaHash="ac21a5095ad8738a6f3d769be49d6024" good="8" id="19" value="c">11100000011|11000000000|10000000000|10000000001|00000111111|00001111111|00001111111|00001111111|00001111111|00001111111|00000111011|10000000001|10000000000|11000000000|11100000011|11111101111</letter> +<letter bad="0" captchaHash="6d33ba836e7dcb7901e7708ad3e548e8" good="3" id="20" value="b">10000111111111|10000111111111|10000111111111|00000111111111|10000111111111|10000111111111|10000100000111|10000000000111|10000000000011|00000000000001|10000011000001|10000111000000|10000111100001|10000111100001|10000111100001|10000111100001|10000011000001|10000000000001|10000000000011|10000000000111|10000100000111|11101111111111</letter> +<letter bad="0" captchaHash="38d8e402cbacde56fd7cc841c179526d" good="3" id="21" value="9">111111111011|111000000111|100000000001|100000000001|000000000001|000000000000|000001000000|000001100000|000001100000|000001000000|000000000001|000000000001|110000000001|111000000011|110100000011|111110000111|111100000111|111100001111|101000001111|100000011111|110000011111|100000111111|011111111111</letter> +<letter bad="0" captchaHash="6d33ba836e7dcb7901e7708ad3e548e8" good="6" id="22" value="8">11100000001111|11000000000111|11000000000001|10000000000011|00000111000001|10000111100001|10000111100001|10000010000011|11000000000111|10100000000111|11000000000111|01000000000011|10000111000011|10000111100000|10000111100001|10000111100001|10000111000001|10000000000011|10000000000011|11000000000111|11110000001111|11111111101111</letter> +<letter bad="0" captchaHash="7ec38667e3c3b77167c9607c563d6f06" good="2" id="23" value="7">00000000000|00000000000|00000000001|00000000001|11111100001|11111000001|11111000011|11111000001|11110000111|11110000111|11110000111|11100000111|11100000111|11100001111|11000001111|11000011111|11000011111|10000011111|10000111111|10000111111|00000111111|10111111111</letter> +<letter bad="0" captchaHash="6e3298b2ee419d55d83fec03bac3d74f" good="1" id="24" value="6">1111110000011|1111110000111|1111010000111|1111100001111|1111100001111|1111000011111|1110000111111|1110000101111|1100000000011|1100000000001|1100000000001|1000001100001|1000010110000|1000001110000|1000011110000|1000011110000|1000011100001|1000001000001|0100000000011|1100000000011|1111000001101</letter> +<letter bad="0" captchaHash="d98d670a0e35794d1886b2033b5541c8" good="1" id="25" value="5">100000000001|100000000001|100000000001|100001000001|100001111111|000001111111|100001111111|100000000111|100000000001|100000000001|100000100001|100001100000|111001110001|111111110000|111111110000|111011100000|100001110001|000000000001|100000000001|110000000011|111000000111</letter> +<letter bad="0" captchaHash="959e2dcfae9bd9a66026b0042e182322" good="1" id="26" value="5">111111111101|111010101011|100000000001|100000000001|100000000001|100000000000|100001011111|100001111111|000000111111|100000000011|100000000001|100000000001|000000000000|100001000000|100010100000|111111110000|111111110000|111011100000|100000000000|000000000000|100000000000|100000000001|110000000111|111011111111|111011111111</letter> +<letter bad="0" captchaHash="a669ac446bdf72dca9098d29131f92ce" good="7" id="27" value="4">111111000001|111110000001|111110000001|111110000001|111100000001|111100100001|111000100001|111000110001|111000100001|110001100001|110001100001|100011000001|100010100001|100000000000|100000000000|000000000000|100000100000|111111100001|111111100001|111111100001|111111100000</letter> +<letter bad="0" captchaHash="6d33ba836e7dcb7901e7708ad3e548e8" good="6" id="28" value="3">1110000001111|1000000000111|0000000000011|0000000000001|1111111100001|1111111100000|1111111000001|1111110000011|1111110000111|1111110000111|1111110000011|1111111000011|1111111000011|1111111100001|0000111100000|0000111100000|0000111000001|0000000000011|1000000000011|1000000000111|1100000001111</letter> +<letter bad="0" captchaHash="8f603528906b90ad6d821976169758da" good="1" id="29" value="2">11110000001111|11100000000011|11000000000011|10000000000001|01000000000001|11000011100001|11000011100001|11111111100000|11111111000001|11111111000001|11111100000011|11111100000011|11111000000111|11111100001111|11111000000111|11111000001111|11110000011111|11100000000001|11100000000000|11000000000001|11000000000001</letter> +</jDownloader> diff --git a/bin/jdownloader/jd/captcha/methods/mg1280/script.jas b/bin/jdownloader/jd/captcha/methods/mg1280/script.jas new file mode 100644 index 0000000..050a59f --- /dev/null +++ b/bin/jdownloader/jd/captcha/methods/mg1280/script.jas @@ -0,0 +1,48 @@ +#####-------------------------------------JAC-Script------------------------------------##### +##### Dieses Script beinhaltet alle Parameter und Funktionen die fuer die Captcha- ##### +##### erkennung noetig sind ##### +#####################################---sealed.in---####################################### + + +##############Set parameter +param.simplifyFaktor = 1; +param.trainOnlyUnknown=true; +param.colorType = RGB; + + +param.borderVarianceX=3; +param.borderVarianceY=3; +param.scanVarianceX=5; +param.scanVarianceY=5; + +param.intersectionDimensionWeight=6.0; + +param.scanAngleLeft=14; +param.scanAngleRight=14; +param.scanAngleSteps=2; + +param.errorAWeight=4; +param.errorBWeight=4; + +param.coverageFaktorAWeight=1; +param.coverageFaktorBWeight=0.2; + +param.LetterSearchLimitPerfectPercent=5; +param.quickScanReliabilityLimit=3.0; +param.quickScanValityLimit=28.0; +param.preScanFilter=100; +param.preScanFaktor=3; + +param.useObjectDetection = true; +param.objectColorContrast = 0.7; +param.objectDetectionContrast = 0.44; +param.relativecontrast=0.95; +param.usepeakgapdetection=false; +param.useaveragegapdetection=false; +param.minimumObjectArea=30; +param.splitPixelObjectsOverlap=0; + + +##################Prepare captcha +captcha.prepare.crop(1,1,1,1); +captcha.prepare.toBlackAndWhite(0.9); |