From 8e93024334396774a83f1a6fdcd443935de6b1f4 Mon Sep 17 00:00:00 2001 From: luyishisi <543429245@qq.com> Date: Thu, 12 Jan 2017 16:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E9=80=BB=E8=BE=91=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E7=A0=81=E7=9A=84=E7=A0=B4=E8=A7=A3=E8=AF=86?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 12292 -> 10244 bytes .../PIL_EXAMPLES/30.png" | Bin .../PIL_EXAMPLES/31.png" | Bin 0 -> 1462 bytes .../PIL_EXAMPLES/6_L.png" | Bin 891 -> 0 bytes .../PIL_EXAMPLES/rotate.py" | 39 +++-- .../fuhao.png" | Bin 0 -> 157 bytes .../num/3.png" | Bin 0 -> 1462 bytes .../num/recognise.py" | 11 +- .../num\345\211\257\346\234\254/L.png" | Bin 0 -> 91 bytes .../num\345\211\257\346\234\254/README.md" | 12 ++ .../cat/1484061493.png" | Bin 0 -> 89 bytes .../cat/1484061517.png" | Bin 0 -> 89 bytes .../cat/1484061602.png" | Bin 0 -> 89 bytes .../cat/1484061618.png" | Bin 0 -> 89 bytes .../cat/1484061689.png" | Bin 0 -> 89 bytes .../cat/1484061759.png" | Bin 0 -> 89 bytes .../cat/1484061798.png" | Bin 0 -> 89 bytes .../cat/1484061803.png" | Bin 0 -> 89 bytes .../cat/1484061815.png" | Bin 0 -> 89 bytes .../cat/1484061821.png" | Bin 0 -> 89 bytes .../cat/1484061833.png" | Bin 0 -> 89 bytes .../cat/1484062418.png" | Bin 0 -> 89 bytes .../cat/1484062521.png" | Bin 0 -> 89 bytes .../cat/1484062530.png" | Bin 0 -> 89 bytes .../cat/1484062547.png" | Bin 0 -> 89 bytes .../cat/1484062555.png" | Bin 0 -> 89 bytes .../cat/1484062628.png" | Bin 0 -> 89 bytes .../cat/1484062646.png" | Bin 0 -> 89 bytes .../cat/1484127810.png" | Bin 0 -> 89 bytes .../cat/1484128107.png" | Bin 0 -> 89 bytes .../cat/1484128325.png" | Bin 0 -> 89 bytes .../cat/1484128363.png" | Bin 0 -> 89 bytes .../cat/1484128401.png" | Bin 0 -> 89 bytes .../cat/1484128417.png" | Bin 0 -> 89 bytes .../cat/1484128519.png" | Bin 0 -> 89 bytes .../cat/1484128649.png" | Bin 0 -> 89 bytes .../cat/1484128765.png" | Bin 0 -> 89 bytes .../cat/1484128777.png" | Bin 0 -> 100 bytes .../cat/1484128843.png" | Bin 0 -> 89 bytes .../cat/1484128879.png" | Bin 0 -> 89 bytes .../cat/1484128904.png" | Bin 0 -> 89 bytes .../cat/1484128984.png" | Bin 0 -> 89 bytes .../num\345\211\257\346\234\254/login.py" | 49 ++++++ .../num\345\211\257\346\234\254/recognise.py" | 144 ++++++++++++++++++ .../num\345\211\257\346\234\254/temp/1.png" | Bin 0 -> 107 bytes .../num\345\211\257\346\234\254/temp/2.png" | Bin 0 -> 118 bytes .../num\345\211\257\346\234\254/temp/21.png" | Bin 0 -> 114 bytes .../num\345\211\257\346\234\254/temp/3.png" | Bin 0 -> 117 bytes .../num\345\211\257\346\234\254/temp/31.png" | Bin 0 -> 116 bytes .../num\345\211\257\346\234\254/temp/32.png" | Bin 0 -> 117 bytes .../num\345\211\257\346\234\254/temp/4.png" | Bin 0 -> 109 bytes .../num\345\211\257\346\234\254/temp/41.png" | Bin 0 -> 109 bytes .../num\345\211\257\346\234\254/temp/42.png" | Bin 0 -> 111 bytes .../num\345\211\257\346\234\254/temp/5.png" | Bin 0 -> 115 bytes .../num\345\211\257\346\234\254/temp/6.png" | Bin 0 -> 119 bytes .../num\345\211\257\346\234\254/temp/61.png" | Bin 0 -> 119 bytes .../num\345\211\257\346\234\254/temp/7.png" | Bin 0 -> 116 bytes .../num\345\211\257\346\234\254/temp/71.png" | Bin 0 -> 116 bytes .../num\345\211\257\346\234\254/temp/8.png" | Bin 0 -> 104 bytes .../num\345\211\257\346\234\254/temp/81.png" | Bin 0 -> 104 bytes .../num\345\211\257\346\234\254/temp/9.png" | Bin 0 -> 121 bytes .../num\345\211\257\346\234\254/temp/91.png" | Bin 0 -> 117 bytes .../num\345\211\257\346\234\254/temp/92.png" | Bin 0 -> 121 bytes .../temp.py" | 121 +++++++++++++++ .../temp1/1.png" | Bin 0 -> 107 bytes .../temp1/2.png" | Bin 0 -> 118 bytes .../temp1/21.png" | Bin 0 -> 114 bytes .../temp1/3.png" | Bin 0 -> 117 bytes .../temp1/31.png" | Bin 0 -> 116 bytes .../temp1/32.png" | Bin 0 -> 117 bytes .../temp1/4.png" | Bin 0 -> 109 bytes .../temp1/41.png" | Bin 0 -> 109 bytes .../temp1/42.png" | Bin 0 -> 111 bytes .../temp1/5.png" | Bin 0 -> 115 bytes .../temp1/6.png" | Bin 0 -> 119 bytes .../temp1/61.png" | Bin 0 -> 119 bytes .../temp1/7.png" | Bin 0 -> 116 bytes .../temp1/71.png" | Bin 0 -> 116 bytes .../temp1/8.png" | Bin 0 -> 104 bytes .../temp1/81.png" | Bin 0 -> 104 bytes .../temp1/9.png" | Bin 0 -> 121 bytes .../temp1/91.png" | Bin 0 -> 117 bytes .../temp1/92.png" | Bin 0 -> 121 bytes .../trins/11.png" | Bin 0 -> 351 bytes .../trins/12.png" | Bin 0 -> 359 bytes .../trins/13.png" | Bin 0 -> 366 bytes .../trins/14.png" | Bin 0 -> 357 bytes .../trins/15.png" | Bin 0 -> 355 bytes "2.\344\273\243\347\220\206/xicidaili.py" | 2 +- 89 files changed, 353 insertions(+), 25 deletions(-) rename "1.\351\252\214\350\257\201\347\240\201/num/3.jpeg" => "1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/30.png" (100%) create mode 100644 "1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/31.png" delete mode 100644 "1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/6_L.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/fuhao.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num/3.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/L.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/README.md" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061493.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061517.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061602.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061618.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061689.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061759.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061798.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061803.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061815.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061821.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061833.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062418.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062521.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062530.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062547.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062555.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062628.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062646.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484127810.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128107.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128325.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128363.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128401.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128417.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128519.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128649.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128765.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128777.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128843.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128879.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128904.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128984.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/login.py" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/recognise.py" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/1.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/2.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/21.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/3.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/31.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/32.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/4.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/41.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/42.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/5.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/6.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/61.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/7.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/71.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/8.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/81.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/9.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/91.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/92.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp.py" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/1.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/2.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/21.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/3.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/31.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/32.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/4.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/41.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/42.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/5.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/6.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/61.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/7.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/71.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/8.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/81.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/9.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/91.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/temp1/92.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/trins/11.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/trins/12.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/trins/13.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/trins/14.png" create mode 100644 "1.\351\252\214\350\257\201\347\240\201/trins/15.png" diff --git a/.DS_Store b/.DS_Store index e8dba5d65d6269d7db7c2270a13b9c34b97e4c2f..da5f0bd55f98aaa16106b57371aa1c2832d13634 100644 GIT binary patch delta 676 zcmZokXbF&DU|?W$DortDU{C-uIe-{M3-C-V6q~3gIoUvlMHI+qum@sBpg2QLx?yl~ zer~~LLyhI^o7p*7I2i3G^C(Q>_zwmQ43l>#R!{z_EWSBK$)8!Ao57SpFTHVA&#a#A zgB6UuE_oAj+!L%PUyzl@CAXPJj+3z-henw7AU82Ew7&)tI8^55ySSv3mLxMUT&W9T z11ra=G6h4W4|aDKWI%imHjd!~h{9oLS#VKaPJUiGPzB>;0Va{jLK^a$g_*>_oXrXX z&)Fw7NDDGU3{v0*(ypLj-z>=Soq009jN@c?9sv#}NQ`JqPLP>7IgqJy@*%n4;Ttl- Xz(C+&Fk{dw(rL?{QCapbZ$bqCy-LQ6 delta 883 zcmZn(Xh~3DU|?W$DortDV2}VZIe-{M3ve?qFmW<4DDX^FP?uo_DFR|gAO^Ap7>ab- zvS(D5y~~?WG5Mmr*~WrA#>oaMEUX|!ER#Qqi)?-)#>zNZQQk$|$iz%X!NR0gN1@u> z0?0Hox2&xdSTIS}eDX>G&y9)9ESuRmSU4DEHh&cV%`V9bGyw=Cfc7)EBD-T_;(O-F z{3?zDAZegIEKr(ba)!#x$!CRk$?`FnGUze5Gk7rgGXyh)RG4%=PH&vmGpncjUN9H!~!D#&=l%U diff --git "a/1.\351\252\214\350\257\201\347\240\201/num/3.jpeg" "b/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/30.png" similarity index 100% rename from "1.\351\252\214\350\257\201\347\240\201/num/3.jpeg" rename to "1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/30.png" diff --git "a/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/31.png" "b/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/31.png" new file mode 100644 index 0000000000000000000000000000000000000000..02cfab26c01b8400839a842f32c9d465d708e86b GIT binary patch literal 1462 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!`JGcdAVUZ??OV2h4~&uH%T)vxvw)Q@GHJ- z^LKlf>CF5$iaRd_saDosJ6W`(z~K1PIJ@tcr~avuzA5)8Wy>s!pqj}dr!^U)H=Mh- zqV&){vd_Dc<-PZ2+liu-fx_j)@KcAv@?N1G!DvYl`_3^!1 z5@xnOKjEL{mf7LjV!hvl^V%MM=Jt}9yLNZ$ss2aI&z$>b7Abt#_GR1btoF^qC;!gM zb2E>A_mlsOk()W=?l~ndv?}MD_NMx3)!e^+V$(dWy|a(;F7!>cUDHcTeo|Ss@ciDq?C)V8GL77>O*)xf`gHBdL-X~NJS!QPdBS`5 zqzKMy=(_kK`O3AeA9emS+`618KJDY-6)eV@;kq1-t>@k@-1X!^Px6md+I#CNO(Wl$ zypG6M-_)BjFR&=lO?_(r!jsDCleZ+Rd=;JfaAoeAb?eu>QSshu;4aMlv+HN$p$4UU zODboJv`PHlU%taM>|gk$uimHk$~}>FPboZ~5`IqS@l!W@0}T-YZu#kRlG$g>ndPc` zuIqH{<*#oI^IZy?!q3DTI@oL1o~zfh{c+6rk~UkwDaRlqju+Y8m$u9(Im>j2&u1oq?ZT3e}8{%NXn(%cc#5LdthJP_R737 z2YD(Vd_L7`fBrM`r3IV2q*woEP<`kUC@}qdW$zRN`1& z;=H*PudjbuvG20p{91#~?IO7i`_&m9@Sg^{CE%c|qR1BCpEP)V-ZeI7rr?b{3nDmNjA6B6iLZG8}?@h;4 znB7=L>mD7TX`Jd64_`hQ3nPe<+3wG;zPeM)mTuh4T1er=?;rbpY^U(`ed7TrpUjKe zVBWiTg*`;Z$QsY>hB`PAC^{Y5Yc67_Dj2Sqn70~e?Z==oHt~l{haM@~w@!H%jp5LC z7XhG~0YDo&3Y^w;OOv7QC?9OUOY-I@SENJJzqJ-}jf6sqP-~6a$n?pwd-l9cdstUl zwY{EtG$O{5LG}zJr^jgZ(nyn}|8Ugwhg@-Nl@5WpO13Uj>tSJirOQBqgZku?^v&4?i%BIS@x=@mbtS2^5ipGI zZDY-3b$6hmNjLz+sstV8(;{dfH_C?ZPzSTaE8F%m?eD2Bkd(I!y2{{i8e-UYe| R2K)d3002ovPDHLkV1gPNsXYJy diff --git "a/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/rotate.py" "b/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/rotate.py" index d2691571..443960b5 100644 --- "a/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/rotate.py" +++ "b/1.\351\252\214\350\257\201\347\240\201/PIL_EXAMPLES/rotate.py" @@ -1,29 +1,31 @@ # coding:utf-8 from __future__ import print_function -from PIL import Image -import glob, os +#from PIL import Image +import Image +#import glob, os -size = 128,128 +#size = 128,128 # 打开图片 -im = Image.open("1.png") +#im = Image.open("11.png") # 旋转45度 并且 显示 # im.rotate(45).show() # 遍历该目录下的所有PNG文件,打开并且创建略缩图 -for infile in glob.glob("*.png"): - file,ext = os.path.splitext(infile) -# print file,ext - im = Image.open(infile) - im.thumbnail(size,Image.ANTIALIAS) - #im.save(file+".thumbnail","JPEG") +# for infile in glob.glob("*.png"): +# file,ext = os.path.splitext(infile) +# # print file,ext +# im = Image.open(infile) +# im.thumbnail(size,Image.ANTIALIAS) +# #im.save(file+".thumbnail","JPEG") # 创建新图片,并保存 -new_img = Image.new("RGB",(512,512),"white") +# 101 31 +#new_img = Image.new("RGB",(101,31),"white") #new_img.save("NEW.png") -im_2 = Image.open("1.1.png") +# im_2 = Image.open("1.1.png") #im_3 = Image.composite(im.copy(),im_2.copy(),'L') # 将im与im_2 根据透明度进行合并 @@ -37,17 +39,14 @@ #输出im的最大最小rgb #print im_2.getextrema() -im = Image.open('6.png') -im = im.convert('L') -im = im.resize((32,32),Image.ANTIALIAS) -im.save('6_L.png') - -#print im.getpixel((0,0))#灰度图没有rgb直接是统一值 -#print im.size +im = Image.open('11.png') +#im = im.convert('L') +#im = im.resize((32,32),Image.ANTIALIAS) +#im.save('11_l.png') for i in xrange(im.size[0]): for j in xrange(im.size[1]): - #print im.getpixel((i,j)) + print im.getpixel((i,j)) l = im.getpixel((j,i)) if( l > 220): print ('0',end='') diff --git "a/1.\351\252\214\350\257\201\347\240\201/fuhao.png" "b/1.\351\252\214\350\257\201\347\240\201/fuhao.png" new file mode 100644 index 0000000000000000000000000000000000000000..2ab13ee5019229f7808499ad6b19cd612929ae36 GIT binary patch literal 157 zcmeAS@N?(olHy`uVBq!ia0vp^d_XL~!2~2%e!H0qq*6Rx978JRB>(7Vj8Q8!GB8N! zGBy<8jd-AQ{bcM3p`M-|fyd>~r#ZU*`~Sax+3blE1s^e(6zcFbNVH{&GH!o&PPaLt z=`Q0A22MqXDM20GnQs}kXdGY>v0zwzQ>D7Qb%F3h28IY9w;ygfUax@mF?hQAxvX^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!`JGcdAVUZ??OV2h4~&uH%T)vxvw)Q@GHJ- z^LKlf>CF5$iaRd_saDosJ6W`(z~K1PIJ@tcr~avuzA5)8Wy>s!pqj}dr!^U)H=Mh- zqV&){vd_Dc<-PZ2+liu-fx_j)@KcAv@?N1G!DvYl`_3^!1 z5@xnOKjEL{mf7LjV!hvl^V%MM=Jt}9yLNZ$ss2aI&z$>b7Abt#_GR1btoF^qC;!gM zb2E>A_mlsOk()W=?l~ndv?}MD_NMx3)!e^+V$(dWy|a(;F7!>cUDHcTeo|Ss@ciDq?C)V8GL77>O*)xf`gHBdL-X~NJS!QPdBS`5 zqzKMy=(_kK`O3AeA9emS+`618KJDY-6)eV@;kq1-t>@k@-1X!^Px6md+I#CNO(Wl$ zypG6M-_)BjFR&=lO?_(r!jsDCleZ+Rd=;JfaAoeAb?eu>QSshu;4aMlv+HN$p$4UU zODboJv`PHlU%taM>|gk$uimHk$~}>FPboZ~5`IqS@l!W@0}T-YZu#kRlG$g>ndPc` zuIqH{<*#oI^IZy?!q3DTI@oL1o~zfh{c+6rk~UkwDaRlqju+Y8m$u9(Im>j2&u1oq?ZT3e}8{%NXn(%cc#5LdthJP_R737 z2YD(Vd_L7`fBrM`r3IV2q*woEP<`kUC@}qdW$zRN`1& z;=H*PudjbuvG20p{91#~?IO7i`_&m9@Sg^{CE%c|qRbP0l+XkKpEei( literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/README.md" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/README.md" new file mode 100644 index 00000000..d3735a7c --- /dev/null +++ "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/README.md" @@ -0,0 +1,12 @@ +本部分测试了简单的图像验证码的处理 + +主要代码为:recognise.py + +在main中可以替换为你需要解析的图片路径与名称, + +产生L.png是进行了灰度以及二值转换之后的图片在本目录下 + +还会产生字符切割的效果 + +用户可以将切割出来的字符人工标记后加入到icon中成为新字符集合. + diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061493.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061493.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061517.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061517.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061602.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061602.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061618.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061618.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061689.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061689.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061759.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061759.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061798.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061798.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061803.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061803.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061815.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061815.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061821.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061821.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061833.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484061833.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062418.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062418.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062521.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062521.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062530.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062530.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062547.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062547.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062555.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062555.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062628.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062628.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062646.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484062646.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484127810.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484127810.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128107.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128107.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128325.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128325.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128363.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128363.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128401.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128401.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128417.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128417.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128519.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128519.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128649.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128649.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128765.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128765.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128777.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128777.png" new file mode 100644 index 0000000000000000000000000000000000000000..d725a44c24797b18c6eb86942099396dd857301a GIT binary patch literal 100 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)L0VEh=mrGv+Qrey_jv*CuLeDsIF&OYL9rS$h ye}4`?XDipcqppo96NRRHn-sXr-QoK7TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128879.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128879.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128904.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128904.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128984.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/cat/1484128984.png" new file mode 100644 index 0000000000000000000000000000000000000000..dcdb50b83fb6ab6198afa5c5479e55816b062478 GIT binary patch literal 89 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ#0VEhUr53ygQVO0fjv*CuT8}PdWH8`i+Hl~% meX#NV87WCx7aH;c>TKDcA7c?rRIN@2>G5>+b6Mw<&;$UNgcwr* literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/login.py" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/login.py" new file mode 100644 index 00000000..0b34c51a --- /dev/null +++ "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/login.py" @@ -0,0 +1,49 @@ +#coding:utf-8 + +import requests +from recognise import * +from PIL import Image +import base64 +import getpass + + +def login(username,passwd): + session=requests.session() + session.get('http://wsxk.hust.edu.cn/login.jsp').text + img=session.get('http://wsxk.hust.edu.cn/randomImage.action').content + with open('captcha.jpeg','wb') as imgfile: + imgfile.write(img) + imageRecognize=CaptchaRecognize() + image=Image.open('captcha.jpeg') + result=imageRecognize.recognise(image) + string='' + for item in result: + string+=item[1] + print(string) + data={ + 'usertype':"xs", + 'username':username, + 'password':passwd, + 'rand':string, + 'sm1':"", + 'ln':"app610.dc.hust.edu.cn" + } + headers = { + 'Host':"wsxk.hust.edu.cn", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", + "Accept-Encoding": "gzip, deflate", + "Accept-Language": "en-US,en;q=0.5", + "Connection": "keep-alive", + 'Referer':"http://wsxk.hust.edu.cn/login.jsp", + "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0"} + session.post('http://wsxk.hust.edu.cn/hublogin.action',data=data,headers=headers) + html=session.get('http://wsxk.hust.edu.cn/select.jsp',headers=headers).text + print(html) + return session + +def main(): + username=input('username:') + passwd=base64.b64encode(getpass.getpass('Passwd:').encode()).decode() + login(username,passwd) + +main() diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/recognise.py" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/recognise.py" new file mode 100644 index 00000000..cee1d8ed --- /dev/null +++ "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/recognise.py" @@ -0,0 +1,144 @@ +#coding:utf-8 + +import os +import requests +from PIL import Image +import math,time + +def convert_image(image): + image=image.convert('L')#灰度 + image2=Image.new('L',image.size,255) + for x in range(image.size[0]): + for y in range(image.size[1]): + pix=image.getpixel((x,y)) + if pix<120:#灰度低于120 设置为 0 + image2.putpixel((x,y),0) + image2.save('L.png')#将灰度图存储下来看效果 + return image2 + +def cut_image(image): + ''' 字符切割,根据黑色的连续性,当某一列出现黑色为标志,当黑色消失为结束点''' + inletter=False + foundletter=False + letters=[] + start=0 + end=0 + for x in range(image.size[0]): + for y in range(image.size[1]): + pix=image.getpixel((x,y)) + if(pix==0): + inletter=True + if foundletter==False and inletter ==True: + foundletter=True + start=x + if foundletter==True and inletter==False: + end=x + letters.append((start,end)) + foundletter=False + inletter=False + images=[] + for letter in letters: + img=image.crop((letter[0],0,letter[1],image.size[1])) + #img.save(str(letter[0])+'.png')#展示切割效果 + img.save("./cat/"+str(int(time.time()))+'.png')#展示切割效果 + images.append(img) + return images + +def buildvector(image): + ''' 图片转换成矢量,将二维的图片转为一维''' + result={} + count=0 + for i in image.getdata(): + result[count]=i + count+=1 + #print result + return result + + +class CaptchaRecognize: + def __init__(self): + self.letters=['0','1','2','3','4','5','6','7','8','9'] + self.loadSet() + + def loadSet(self): + self.imgset=[] + for letter in self.letters: + temp=[] + for img in os.listdir('./icon/%s'%(letter)): + temp.append(buildvector(Image.open('./icon/%s/%s'%(letter,img)))) + self.imgset.append({letter:temp}) + + #计算矢量大小 + def magnitude(self,concordance): + total = 0 + for word,count in concordance.items(): + try: + if(type(count) == type(())): + total += count[0] ** 2 + #print type(total),total,type(count),count ** 2 + else: + total += count ** 2 + except Exception,e: + print type(total),total,type(count),count + print e + return math.sqrt(total) + + #计算矢量之间的 cos 值 + def relation(self,concordance1, concordance2): + relevance = 0 + topvalue = 0 + for word, count in concordance1.items(): + if word in concordance2: + print type(topvalue),topvalue,count,concordance2[word] + time.sleep(1) + topvalue += count * concordance2[word][0] + #time.sleep(10) + return topvalue / (self.magnitude(concordance1) * self.magnitude(concordance2)) + + def recognise(self,image): + image=convert_image(image)#二值化 + images=cut_image(image)#字符单独切割出来 + vectors=[] + for img in images: + vectors.append(buildvector(img)) + result=[] + for vector in vectors: + guess=[] + for image in self.imgset: + for letter,temp in image.items(): + relevance=0 + num=0 + for img in temp: + relevance+=self.relation(vector,img) + num+=1 + relevance=relevance/num + guess.append((relevance,letter)) + guess.sort(reverse=True) + result.append(guess[0]) + return result + +if __name__=='__main__': + import os + dir="./temp" + name_list = [] + for root,dirs,files in os.walk(dir): + for file in files: + #name_list.append(file) + name = os.path.join(root,file) + name_list.append(name) + + print name_list + for i in name_list: + #name = '11' + name = i + print name + + imageRecognize=CaptchaRecognize() + # 设置图片路径 + image=Image.open(name) + #image=Image.open('./temp/2.png') + print image.mode + result=imageRecognize.recognise(image) + string=[''.join(item[1]) for item in result] + print(string) + break diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/1.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/1.png" new file mode 100644 index 0000000000000000000000000000000000000000..701cec1ebb96d22a628a5d4160df81a7df44dd9a GIT binary patch literal 107 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQbwLGjv*Cu_Vzh)F&JGi8lS`vO^U8{S~O@Tl4d_FHP3vm|ZJ+KGrX7F_Nb6Mw< G&;$VbrXmXf literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/2.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/2.png" new file mode 100644 index 0000000000000000000000000000000000000000..4a4d2d1e4bce67db924e0b7dc50468a31a325d69 GIT binary patch literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQnsEhjv*CuYP(MgGAQsc9o+bT z+Vys~$A+IgBMvmE+~z73a%cMVey!@+(z6*vwSPw1?;?PP OFnGH9xvXqk+sAh2B+~Z+%<@JVb`*b!)Pu=*m;JL)qC~>VyEAwUS{C(#7UoU>z R90xRq!PC{xWt~$(69BXVCz1dF literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/31.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/31.png" new file mode 100644 index 0000000000000000000000000000000000000000..38626132fc9fd998b0600d11160304dff982b0ab GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQr4a>jv*CuN_!3Y7z{X=xL^L? zpTjQfGRcbbRO9C5tEvtPNqFwu^vmaY#iLzMBfPBD1Ml<6Ye_%taGz>_Xn_jHkFE<# QfyOX+y85}Sb4q9e00TKCbN~PV literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/32.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/32.png" new file mode 100644 index 0000000000000000000000000000000000000000..6f7c8a3ce0af23b3cb1da008623282ac093c8003 GIT binary patch literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQZ}A0jv*CuO8XD;F(`02E&cj` z{~xOjFE@QrF>qk+sAh2B+~Z+%<@JVb`*b!)Pu=*m;JL)qC~>VyEAwUS{C(#7UoU>z R90xRq!PC{xWt~$(69BXVCz1dF literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/4.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/4.png" new file mode 100644 index 0000000000000000000000000000000000000000..2bf5698478ba3912e7e45547ac1d1acd75a2a30b GIT binary patch literal 109 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQYM}*jv*Cudiy-N7!(8!U;6of z{%gmAh0QaPxl}iuZB#i>wsdYt_V*2P>lAeZ*48due`lGNwsdYt_V*2P>lAeZ*48due`lGNpl`2!?*mnf|K00~A7Ok7iydkVVwy9g?wY=R_{x$z`%ch$S2i3mGZqB|0 PG=;&_)z4*}Q$iB}ID98} literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/6.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/6.png" new file mode 100644 index 0000000000000000000000000000000000000000..37780df57831f098d30851d4b57c0630c03a1d1d GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQg)s$jv*CuruG~1F(~jb**^Zi zzlVA2N?)0jMV3sOlNt(DPPSE9C)#Ig`8KRd(Uw}+IG^|NzQW$;4r?EMeZclOROg?P SmECWkNerH@elF{r5}E*9E+&ou literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/61.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/61.png" new file mode 100644 index 0000000000000000000000000000000000000000..37780df57831f098d30851d4b57c0630c03a1d1d GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQg)s$jv*CuruG~1F(~jb**^Zi zzlVA2N?)0jMV3sOlNt(DPPSE9C)#Ig`8KRd(Uw}+IG^|NzQW$;4r?EMeZclOROg?P SmECWkNerH@elF{r5}E*9E+&ou literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/7.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/7.png" new file mode 100644 index 0000000000000000000000000000000000000000..cf882209513b694755191283324f539598a827d5 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQr4a>jv*Cuk`oTF{rms_{HOo_ z>r)in+}t>tIal+QaCQ`RNcu#$3JPT`3gGk!WMgA<+wprtM4x8Y`JD`5f)d;x{+Y`G PjbZR~^>bP0l+XkKJz*o8 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/71.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/71.png" new file mode 100644 index 0000000000000000000000000000000000000000..cf882209513b694755191283324f539598a827d5 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQr4a>jv*Cuk`oTF{rms_{HOo_ z>r)in+}t>tIal+QaCQ`RNcu#$3JPT`3gGk!WMgA<+wprtM4x8Y`JD`5f)d;x{+Y`G PjbZR~^>bP0l+XkKJz*o8 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/8.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/8.png" new file mode 100644 index 0000000000000000000000000000000000000000..aedeef0510b7f93ff2457dffaeb50e4c124ff411 GIT binary patch literal 104 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQu>}Qjv*CulK=ewZ?CMZ%*+F1 z$RA2@dFCAAaKq=sstHSHKF~3d?YXj*SzF<55yMOt1ID~tuS|ei89ZJ6T-G@yGywq6 C<{?r5 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/81.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/81.png" new file mode 100644 index 0000000000000000000000000000000000000000..aedeef0510b7f93ff2457dffaeb50e4c124ff411 GIT binary patch literal 104 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQu>}Qjv*CulK=ewZ?CMZ%*+F1 z$RA2@dFCAAaKq=sstHSHKF~3d?YXj*SzF<55yMOt1ID~tuS|ei89ZJ6T-G@yGywq6 C<{?r5 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/9.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/9.png" new file mode 100644 index 0000000000000000000000000000000000000000..9f36fad377b642cd48c1dfccdbd02b344cc2256f GIT binary patch literal 121 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQVyOjjv*CuO8Y&97!)~}t*`z0 zfBJ3XrAvXuiUNm(L_H2Ugt{@5KE1gsVVAUijC<^-llzO^7yiw=+Y+k1=-Jl<_TG6$ VZ+m{OItw(5!PC{xWt~$(6983_D?b1L literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/91.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/91.png" new file mode 100644 index 0000000000000000000000000000000000000000..d36666c1288b70f2939efacf72940236755b41ae GIT binary patch literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQZ}A0jv*CuYW*Gg7!){!uK(Zf z!@l;yS&N4b0TWmf*j1Vxo)@r`m#%zcc3{1$XJ+=y)tUOM*8I2rwC&|V-b>rn*_g}J R=K#%N@O1TaS?83{1OPy<$ literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/92.png" "b/1.\351\252\214\350\257\201\347\240\201/num\345\211\257\346\234\254/temp/92.png" new file mode 100644 index 0000000000000000000000000000000000000000..9f36fad377b642cd48c1dfccdbd02b344cc2256f GIT binary patch literal 121 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQVyOjjv*CuO8Y&97!)~}t*`z0 zfBJ3XrAvXuiUNm(L_H2Ugt{@5KE1gsVVAUijC<^-llzO^7yiw=+Y+k1=-Jl<_TG6$ VZ+m{OItw(5!PC{xWt~$(6983_D?b1L literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp.py" "b/1.\351\252\214\350\257\201\347\240\201/temp.py" new file mode 100644 index 00000000..fc3356e1 --- /dev/null +++ "b/1.\351\252\214\350\257\201\347\240\201/temp.py" @@ -0,0 +1,121 @@ +#coding:utf-8 +import Image + +def Noise(img,i,j): + #导入图像和ij,测试该点是否是噪点 + num = 0 + + for temp_i in [-1,0,1]: + for temp_j in [-1,0,1]: + try: + if img.getpixel((i+temp_j,j+temp_j)) != img.getpixel((i,j)): + num += 1 + # print img.getpixel((i,j)) + except: + #print '11' + pass + if num == 6: + return 1 #如果周围8个点均与该点不同则该点为噪点 + else : + return 0 + +def cat_img(im,name): + + box = (0,0,101,31) + im = im.crop(box)#切割 + #im.show() + box = (0,0,26,30) + im1 = im.crop(box)#.convert('L')#切割 + #im1.show() #第一个数字 + box = (26,0,41,30) + im2 = im.crop(box)#.convert('L')#切割 + #im2.show()# 运算符号 + box = (41,0,65,30) + im3 = im.crop(box)#.convert('L')#切割 + #im3.show()# 第二个数字 + #region.show() + #(101, 31) {'0-0-255': 16, '0-255-0': 58, '255-0-0': 95, '68-146-137': 2899, '255-255-255': 63}                                       + print im.size +# rgb_dic = {} + + # 二值化第一个数字 + min_j_1 = 30 + max_j_1 = 0 + for i in range(im1.size[0]): + for j in range(im1.size[1]): + r,g,b = im1.getpixel((i,j)) + if r == 255 and b != 255: + if min_j_1 > j: + min_j_1 = j + max_j_1 = j + im1.putpixel((i,j), (0,0,0)) + else: + im1.putpixel((i,j),(255,255,255)) + cat_num_box_1 = (0,min_j_1,26,min_j_1+10)# 未知错误用固定字高10替代 + im1 = im1.crop(cat_num_box_1) + print min_j_1,max_j_1,cat_num_box_1 + #im1.show() + im1_1 = im1.crop((5,0,13,10)) + im1_1.save("./temp/"+name+'_1_1.png') + im1_2 = im1.crop((14,0,22,10)) + im1_2.save("./temp/"+name+'_1_2.png') + + # 二值化运算符号 + min_j_2 = 30 + max_j_2 = 0 + #im2.show() + try: + for i in range(im2.size[0]): + for j in range(im2.size[1]-4): + r,g,b = im2.getpixel((i,j)) + if(Noise(im2,i,j)): + continue + + if r == 255 and b == 255: + if min_j_2 > j: + min_j_2 = j + max_j_2 = j + im2.putpixel((i,j), (0,0,0)) + else: + im2.putpixel((i,j),(255,255,255)) + #im2.show() + print min_j_2,max_j_2 + cat_num_box_2 = (0,min_j_2,14,min_j_2+10)#固定高度 + im2 = im2.crop(cat_num_box_2) + #im2.show() + im2.save("./temp/"+name+'_fuhao.png') + except Exception,e: + print e + + # # 二值化第二个数字 + min_j_3 = 30 + max_j_3 = 0 + #im3.show() + for i in range(im3.size[0]): + for j in range(im3.size[1]): + r,g,b = im3.getpixel((i,j)) + if g == 255 and b != 255: + if min_j_3 > j: + min_j_3 = j + max_j_3 = j + im3.putpixel((i,j), (0,0,0)) + else: + im3.putpixel((i,j),(255,255,255)) + cat_num_box_3 = (0,min_j_3,24,min_j_3+10)#固定高度 + im3 = im3.crop(cat_num_box_3) + #im3.show() + #im3.show() + print min_j_3,max_j_3,cat_num_box_3 + im3.save("./temp/"+name+'_2.png') + # im3_1 = im3.crop((5,0,13,10)) + # im3_1.save("./temp/"+name+'_3_1.png') + # im3_2 = im3.crop((14,0,22,10)) + # im3_2.save("./temp/"+name+'_3_2.png') + + +if __name__ == '__main__': + for i in ['11','12','13','14','15']: + #name = '11' + name = i + im = Image.open("./trins/"+name+'.png').convert('RGB')#重点要切换图片模式 + cat_img(im,name) diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/1.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/1.png" new file mode 100644 index 0000000000000000000000000000000000000000..701cec1ebb96d22a628a5d4160df81a7df44dd9a GIT binary patch literal 107 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQbwLGjv*Cu_Vzh)F&JGi8lS`vO^U8{S~O@Tl4d_FHP3vm|ZJ+KGrX7F_Nb6Mw< G&;$VbrXmXf literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/2.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/2.png" new file mode 100644 index 0000000000000000000000000000000000000000..4a4d2d1e4bce67db924e0b7dc50468a31a325d69 GIT binary patch literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQnsEhjv*CuYP(MgGAQsc9o+bT z+Vys~$A+IgBMvmE+~z73a%cMVey!@+(z6*vwSPw1?;?PP OFnGH9xvXqk+sAh2B+~Z+%<@JVb`*b!)Pu=*m;JL)qC~>VyEAwUS{C(#7UoU>z R90xRq!PC{xWt~$(69BXVCz1dF literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/31.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/31.png" new file mode 100644 index 0000000000000000000000000000000000000000..38626132fc9fd998b0600d11160304dff982b0ab GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQr4a>jv*CuN_!3Y7z{X=xL^L? zpTjQfGRcbbRO9C5tEvtPNqFwu^vmaY#iLzMBfPBD1Ml<6Ye_%taGz>_Xn_jHkFE<# QfyOX+y85}Sb4q9e00TKCbN~PV literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/32.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/32.png" new file mode 100644 index 0000000000000000000000000000000000000000..6f7c8a3ce0af23b3cb1da008623282ac093c8003 GIT binary patch literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQZ}A0jv*CuO8XD;F(`02E&cj` z{~xOjFE@QrF>qk+sAh2B+~Z+%<@JVb`*b!)Pu=*m;JL)qC~>VyEAwUS{C(#7UoU>z R90xRq!PC{xWt~$(69BXVCz1dF literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/4.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/4.png" new file mode 100644 index 0000000000000000000000000000000000000000..2bf5698478ba3912e7e45547ac1d1acd75a2a30b GIT binary patch literal 109 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQYM}*jv*Cudiy-N7!(8!U;6of z{%gmAh0QaPxl}iuZB#i>wsdYt_V*2P>lAeZ*48due`lGNwsdYt_V*2P>lAeZ*48due`lGNpl`2!?*mnf|K00~A7Ok7iydkVVwy9g?wY=R_{x$z`%ch$S2i3mGZqB|0 PG=;&_)z4*}Q$iB}ID98} literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/6.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/6.png" new file mode 100644 index 0000000000000000000000000000000000000000..37780df57831f098d30851d4b57c0630c03a1d1d GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQg)s$jv*CuruG~1F(~jb**^Zi zzlVA2N?)0jMV3sOlNt(DPPSE9C)#Ig`8KRd(Uw}+IG^|NzQW$;4r?EMeZclOROg?P SmECWkNerH@elF{r5}E*9E+&ou literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/61.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/61.png" new file mode 100644 index 0000000000000000000000000000000000000000..37780df57831f098d30851d4b57c0630c03a1d1d GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQg)s$jv*CuruG~1F(~jb**^Zi zzlVA2N?)0jMV3sOlNt(DPPSE9C)#Ig`8KRd(Uw}+IG^|NzQW$;4r?EMeZclOROg?P SmECWkNerH@elF{r5}E*9E+&ou literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/7.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/7.png" new file mode 100644 index 0000000000000000000000000000000000000000..cf882209513b694755191283324f539598a827d5 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQr4a>jv*Cuk`oTF{rms_{HOo_ z>r)in+}t>tIal+QaCQ`RNcu#$3JPT`3gGk!WMgA<+wprtM4x8Y`JD`5f)d;x{+Y`G PjbZR~^>bP0l+XkKJz*o8 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/71.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/71.png" new file mode 100644 index 0000000000000000000000000000000000000000..cf882209513b694755191283324f539598a827d5 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQr4a>jv*Cuk`oTF{rms_{HOo_ z>r)in+}t>tIal+QaCQ`RNcu#$3JPT`3gGk!WMgA<+wprtM4x8Y`JD`5f)d;x{+Y`G PjbZR~^>bP0l+XkKJz*o8 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/8.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/8.png" new file mode 100644 index 0000000000000000000000000000000000000000..aedeef0510b7f93ff2457dffaeb50e4c124ff411 GIT binary patch literal 104 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQu>}Qjv*CulK=ewZ?CMZ%*+F1 z$RA2@dFCAAaKq=sstHSHKF~3d?YXj*SzF<55yMOt1ID~tuS|ei89ZJ6T-G@yGywq6 C<{?r5 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/81.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/81.png" new file mode 100644 index 0000000000000000000000000000000000000000..aedeef0510b7f93ff2457dffaeb50e4c124ff411 GIT binary patch literal 104 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQu>}Qjv*CulK=ewZ?CMZ%*+F1 z$RA2@dFCAAaKq=sstHSHKF~3d?YXj*SzF<55yMOt1ID~tuS|ei89ZJ6T-G@yGywq6 C<{?r5 literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/9.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/9.png" new file mode 100644 index 0000000000000000000000000000000000000000..9f36fad377b642cd48c1dfccdbd02b344cc2256f GIT binary patch literal 121 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQVyOjjv*CuO8Y&97!)~}t*`z0 zfBJ3XrAvXuiUNm(L_H2Ugt{@5KE1gsVVAUijC<^-llzO^7yiw=+Y+k1=-Jl<_TG6$ VZ+m{OItw(5!PC{xWt~$(6983_D?b1L literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/91.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/91.png" new file mode 100644 index 0000000000000000000000000000000000000000..d36666c1288b70f2939efacf72940236755b41ae GIT binary patch literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQZ}A0jv*CuYW*Gg7!){!uK(Zf z!@l;yS&N4b0TWmf*j1Vxo)@r`m#%zcc3{1$XJ+=y)tUOM*8I2rwC&|V-b>rn*_g}J R=K#%N@O1TaS?83{1OPy<$ literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/temp1/92.png" "b/1.\351\252\214\350\257\201\347\240\201/temp1/92.png" new file mode 100644 index 0000000000000000000000000000000000000000..9f36fad377b642cd48c1dfccdbd02b344cc2256f GIT binary patch literal 121 zcmeAS@N?(olHy`uVBq!ia0vp^96-#)!2~4PmUdhRQVyOjjv*CuO8Y&97!)~}t*`z0 zfBJ3XrAvXuiUNm(L_H2Ugt{@5KE1gsVVAUijC<^-llzO^7yiw=+Y+k1=-Jl<_TG6$ VZ+m{OItw(5!PC{xWt~$(6983_D?b1L literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/trins/11.png" "b/1.\351\252\214\350\257\201\347\240\201/trins/11.png" new file mode 100644 index 0000000000000000000000000000000000000000..8174e0d238ae7f598724ec7985141bc7786f1d0b GIT binary patch literal 351 zcmV-l0igbgP)#ALQM9sp2Nv7T69P^1&VnSIIs*m9B@o=iouu!_W`t^4 zYx?lOGfpWZ?Z_G9+B+$|{|?MxEFUiIw8LYoaGz{SYGS{=7ky_n2oAp6ZDd57VR8cZ2hZSoprx}E&&@-B5l9DA1 zu8bsY=U8Q)+sYd7SNa(}JJ6e!s1)e7*EL2H?f3s}LA`i;xOj$32_*@}8ZdEKRz1iqw6eW36FI zfELE685N}QF5qk|VN&Gd1hX+K+>YaTWMi%DG>t{T>`4<3?-eX7d4`ej0z)#+5>?A8 z9G4+I1Yc8@vXS=>z6K)Ux?)h^q?yic@+D|sls%O!jTA7@BE>!5!d}#@!M&_rxar;= z3Vr?oG{R1`hH~#)XXUNxrs+3+>Di6o=@v7?)<1^Xzy3}B;~$fF0zvq57K_S;%K!iX M07*qoM6N<$f{R9>%>V!Z literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/trins/14.png" "b/1.\351\252\214\350\257\201\347\240\201/trins/14.png" new file mode 100644 index 0000000000000000000000000000000000000000..d63dee5a9ca4178de7ebe677f1d2f04ca0cb7308 GIT binary patch literal 357 zcmV-r0h<1aP)Sn+|n2njyLRGw!r6sv$er7aO{v+N@o ztMS*cLBw#Y*7Fc>?S;ZNP8eIP8=Z5rc8+-q&Ngpc1UAm$V#Wd-b0p3Y_P&L+p9c+hM!)^nDl&5HpYtv=JXE3 zIc#v^A4#mYD=iZgi?pO+1}j6bD)1#W)c#e(71t$w`$Yg2P)ed?2?00000NkvXXu0mjf DQqGx) literal 0 HcmV?d00001 diff --git "a/1.\351\252\214\350\257\201\347\240\201/trins/15.png" "b/1.\351\252\214\350\257\201\347\240\201/trins/15.png" new file mode 100644 index 0000000000000000000000000000000000000000..ebbc04a34ef0a6584eabce56ea775932fe25096a GIT binary patch literal 355 zcmV-p0i6DcP)eva?9OG+3LJW-5F66i?y3ztXFO9& z6>$Degq|s#R|U=$N!7SxC-DPQjWK_>Gx-VmfiZL84VTVvaXuQmdoyTDez1e^U(SL} zU`T_76LnNcv18g;mil84E*13rF8Z9i;9Iv^`T}oLbCB|HP8|RM002ovPDHLkV1his Bm6-ql literal 0 HcmV?d00001 diff --git "a/2.\344\273\243\347\220\206/xicidaili.py" "b/2.\344\273\243\347\220\206/xicidaili.py" index b9faf30f..2a09ed2b 100644 --- "a/2.\344\273\243\347\220\206/xicidaili.py" +++ "b/2.\344\273\243\347\220\206/xicidaili.py" @@ -94,7 +94,7 @@ def re_html_code(html_code,proxy_list_json): Remarks = 'ly' # `id`, `proxy_ip`, `proxy_port`, `proxy_country`, `proxy_type`, `addtime`, `Last_test_time`, `proxy_status`, `Remarks` list_i = [PROXY_IP,PROXY_PORT,PROXY_COUNTRY,PROXY_TYPE,addtime,Last_test_time,proxy_status,Remarks] - + #print list_i proxy_list_json.append(list_i) print proxy_list_json