kur-archive / captcha_reader Goto Github PK
View Code? Open in Web Editor NEW:honeybee: PHP 验证码识别与训练 脚手架
License: Do What The F*ck You Want To Public License
:honeybee: PHP 验证码识别与训练 脚手架
License: Do What The F*ck You Want To Public License
在标记1000个左右的样本移动到之前的样本集中的时候,提示覆盖,有10个左右的样本同名,
这种情况在之前Tianyi,ZhengFang,QInGuo的验证码里是没有出现过的,而且查看同名的两个验证码图片发现两张图片完全一致,为了排除是否为自身疏忽,重复标记了验证码(概率很低),晚些时候用个脚本去批量 download Neea验证码并记录图片信息进行比对。
請問可以識別 微信搜索的驗證嗎
大佬你好,我想问一下如果验证码是五位或者大于五位的时候可以识别吗?
已经部署使用了,不过还是走了一点儿弯路,坐等文档更新。
青果(QinGuo)的识别已经完成,待更新
问题:
因为验证码的变大,导致需要对比的字符串变长且超出了
levenshtein
函数的最长字符串限制,而且similar_text 函数 实现的字符串相似度比较算法的时间复杂度是O(N^3)
😂😂参照你的代码写了一个golang版本的,识别一次大概200ms,只是还没想好怎么分割比较好
$ php artisan --version
Laravel Framework 5.4.36
$ composer require kurisu/captcha_reader
Using version ^1.0 for kurisu/captcha_reader
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
Illuminate\Foundation\ComposerScripts::postUpdate
Fatal error: Cannot redeclare dd() (previously declared in /Applications/XAMPP/xamppfiles/htdocs/Travels/vendor/laravel/framework/src/Illuminate/Support/helpers.php:524) in /Applications/XAMPP/xamppfiles/htdocs/Travels/vendor/kurisu/captcha_reader/helpers.php on line 18
额.
真的不是正方教务吗?
青果系统的验证码有没有啊?
代码如下:
use CAPTCHAReader\src\App\IndexController;
class login
{
private function getImgCode()
{
$path_parts = dirname(__FILE__);
$img = $path_parts . '/img/tempimg.jpg';
$starTime = microtime(true);
$indexController = new IndexController();
$res = $indexController->entrance($img, 'local');
var_dump($res);
$end_time = microtime(true);
echo '执行时间为' . ($starTime - $end_time) . ' s' . "<br/>\n";
}
}
报错信息如下:
Argument 1 passed to CAPTCHAReader\src\App\Pretreatment\PretreatmentTianYShrink::getRepository() must be an instance of CAPTCHAReader\src\Traits\string, string given, called in /Applications/MAMP/htdocs/FrameWork/vendor/kurisu/captcha_reader/src/App/Pretreatment/PretreatmentTianYShrink.php on line 31 and defined
就是我把你的这个类库整合到thinkphp5一直出错,不知道是包名错了还是怎么回事,可不可以你把你的这个类库放到composer上
请教下怎么训练,看不太懂
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.