-
大小: 9.58M文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2021-01-30
- 語言: Python
- 標(biāo)簽: 驗(yàn)證碼??圖片??驗(yàn)證??學(xué)習(xí)??源碼??
資源簡介
代碼片段和文件信息
#?驗(yàn)證碼中的字符?就不用漢字了
from?os.path?import?join
number?=?[‘0‘?‘1‘?‘2‘?‘3‘?‘4‘?‘5‘?‘6‘?‘7‘?‘8‘?‘9‘]
ALPHABET?=?[‘A‘?‘B‘?‘C‘?‘D‘?‘E‘?‘F‘?‘G‘?‘H‘?‘I‘?‘J‘?‘K‘?‘L‘?‘M‘?‘N‘?‘O‘?‘P‘?‘Q‘?‘R‘?‘S‘?‘T‘?‘U‘
????????????‘V‘?‘W‘?‘X‘?‘Y‘?‘Z‘]
alphabet?=?[‘a(chǎn)‘?‘b‘?‘c‘?‘d‘?‘e‘?‘f‘?‘g‘?‘h‘?‘i‘?‘j‘?‘k‘?‘l‘?‘m‘?‘n‘?‘o‘?‘p‘?‘q‘?‘r‘?‘s‘?‘t‘?‘u‘
????????????‘v‘?‘w‘?‘x‘?‘y‘?‘z‘]
gen_char_set?=?number?+?ALPHABET??#?用于生成驗(yàn)證碼的數(shù)據(jù)集
#?有先后的順序的
#?圖像大小
IMAGE_HEIGHT?=?60
IMAGE_WIDTH?=?160
MAX_CAPTCHA?=?4??#?一共是4位
print(“驗(yàn)證碼文本最長字符數(shù)“?MAX_CAPTCHA)??#?驗(yàn)證碼最長4字符;?我全部固定為4可以不固定.?如果驗(yàn)證碼長度小于4,用‘_‘補(bǔ)齊
#?文本轉(zhuǎn)向量
#?char_set?=?number?+?alphabet?+?ALPHABET?+?[‘_‘]??#?如果驗(yàn)證碼長度小于4?‘_‘用來補(bǔ)齊
#?char_set?=?number?+?alphabet
CHAR_SET_LEN?=?len(gen_char_set)
print(‘CHAR_SET_LEN:‘?CHAR_SET_LE
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1229873??2018-04-07?16:38??驗(yàn)證碼識別技術(shù)\Python驗(yàn)證碼識別?-?老板丶魚丸粗面?-?博客園.png
?????文件????1587749??2018-04-07?16:39??驗(yàn)證碼識別技術(shù)\[驗(yàn)證碼識別技術(shù)]字符驗(yàn)證碼殺手--CNN?-?一點(diǎn)一滴的Beer?-?博客園.png
?????文件?????794358??2018-04-07?16:42??驗(yàn)證碼識別技術(shù)\為什么有些驗(yàn)證碼看起來很容易但是沒人做自動識別的??-?知乎.png
?????文件?????696610??2018-04-07?17:11??驗(yàn)證碼識別技術(shù)\基于Python使用SVM識別簡單的字符驗(yàn)證碼的完整代碼開源分享?-?一點(diǎn)一滴的Beer?-?博客園.png
?????文件?????????78??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\.gitignore
?????文件??????15477??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\blogs.html
?????文件???????1412??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\cfg.py
?????文件???????2756??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\cnn_sys.py
?????文件????????755??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\data_iter.py
?????文件???????2306??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\gen_captcha.py
?????文件???????1997??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\predict.py
?????文件???????2773??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\train.py
?????文件???????2290??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\utils.py
?????文件??????????0??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\capt\__init__.py
?????文件??????31114??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\2017-06-20-sigmoid-6k.png
?????文件??????32927??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\2017-06-22-softmax-8k.png
?????文件??????39360??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\2017-06-23-softmax-8w.png
?????文件??????25441??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\qq-group-592109504.jpg
?????文件??????42558??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\tf-captcha-python-result.png
?????文件??????48046??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\tf-captcha-python.png
?????文件??????27904??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\images\two-ways-to-hack-captcha.png
?????文件???????6416??2017-11-03?01:02??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master\ReadMe.rst
?????文件?????255721??2018-04-07?17:17??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\captcha-tensorflow-master.zip
?????文件?????833781??2018-04-07?17:17??驗(yàn)證碼識別技術(shù)\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別\基于python語言的tensorflow的‘端到端’的字符型驗(yàn)證碼識別源碼整理(github源碼分.png
?????文件??????????8??2017-08-21?12:39??驗(yàn)證碼識別技術(shù)\字符型圖片驗(yàn)證碼識別完整過程及Python實(shí)現(xiàn)\captcha-svm-master\.gitignore
?????文件???????1240??2017-08-21?12:39??驗(yàn)證碼識別技術(shù)\字符型圖片驗(yàn)證碼識別完整過程及Python實(shí)現(xiàn)\captcha-svm-master\cfg.py
?????文件????????417??2017-08-21?12:39??驗(yàn)證碼識別技術(shù)\字符型圖片驗(yàn)證碼識別完整過程及Python實(shí)現(xiàn)\captcha-svm-master\data\cut_pic\0\0002-2.jpg
?????文件????????413??2017-08-21?12:39??驗(yàn)證碼識別技術(shù)\字符型圖片驗(yàn)證碼識別完整過程及Python實(shí)現(xiàn)\captcha-svm-master\data\cut_pic\0\0003-2.jpg
?????文件????????417??2017-08-21?12:39??驗(yàn)證碼識別技術(shù)\字符型圖片驗(yàn)證碼識別完整過程及Python實(shí)現(xiàn)\captcha-svm-master\data\cut_pic\0\0004-3.jpg
?????文件????????416??2017-08-21?12:39??驗(yàn)證碼識別技術(shù)\字符型圖片驗(yàn)證碼識別完整過程及Python實(shí)現(xiàn)\captcha-svm-master\data\cut_pic\0\0006-0.jpg
............此處省略1207個文件信息
評論
共有 條評論