Giter VIP home page Giter VIP logo

captcha_reader's Issues

Error With Laravel

$ 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

  • Installing kurisu/captcha_reader (1.0.0): Loading from cache
    Writing lock file
    Generating optimized autoload files

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

补全文档

已经部署使用了,不过还是走了一点儿弯路,坐等文档更新。

更新完成的 qinguo 部分

青果(QinGuo)的识别已经完成,待更新

问题:

  • 执行速度慢,这个待多线程分支(版本)上线

因为验证码的变大,导致需要对比的字符串变长且超出了 levenshtein 函数的最长字符串限制,而且similar_text 函数 实现的字符串相似度比较算法的时间复杂度是 O(N^3)

提问

青果系统的验证码有没有啊?

猜测Neea的验证码是预先生成的,尝试证明中

在标记1000个左右的样本移动到之前的样本集中的时候,提示覆盖,有10个左右的样本同名,
这种情况在之前Tianyi,ZhengFang,QInGuo的验证码里是没有出现过的,而且查看同名的两个验证码图片发现两张图片完全一致,为了排除是否为自身疏忽,重复标记了验证码(概率很低),晚些时候用个脚本去批量 download Neea验证码并记录图片信息进行比对。

你好,有个问题想请教下!

就是我把你的这个类库整合到thinkphp5一直出错,不知道是包名错了还是怎么回事,可不可以你把你的这个类库放到composer上

php版本7.0.30,框架版本ThinkPHP5.0,出现了这种问题= =

代码如下:

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.