|
|
本帖最后由 你送的花开了 于 2025-12-3 01:41 编辑
|
| ocr_main | 文本型 | | |
| captcha_type | 文本型 | | | | img | 字节集 | | | | img1 | 字节集 | | | | img2 | 字节集 | | | | img3 | 字节集 | | | |
| 变量名 | 类 型 | 静态 | 数组 | 备 注 | | Json_text | 文本型 | | | | Http | RS_Libcurl | | | | Url | 文本型 | | | | Header | 文本型 | | | | Return | 文本型 | | |
Json_text = “{” + #引号 + “type” + #引号 + “:” + #引号 + captcha_type + #引号 + “,” + #引号 + “image” + #引号 + “:” + #引号 + RS_Base64编码 (img ) + #引号 + “,” + #引号 + “que1” + #引号 + “:” + #引号 + RS_Base64编码 (img1 ) + #引号 + “,” + #引号 + “que2” + #引号 + “:” + #引号 + RS_Base64编码 (img2 ) + #引号 + “,” + #引号 + “que3” + #引号 + “:” + #引号 + RS_Base64编码 (img3 ) + #引号 + “}”Url = “http://212.64.16.214:5000/api/captcha”Http. 打开 (“POST”, Url )Header = “Content-Type: application/json”Http. 置协议头Ex (Header, 假)Http. 发送 (Json_text )Return = Http. 取响应文本 ()Return = RS_URL解码 (Return, 真)返回 (Return )
目前九宫格90个类 依次/语序目前总汉字类1612个 三字语序目前整理982
api用的flask写的 并发或者直接套上用就别想了
仅供测试学习 请勿用于其它用途!
服务器CPU/2核 内存/2GB 垃圾服务器 轻点造
captcha_type :nine/word/phrase 分别为:九宫格/依次点击/语序点击
|
|