New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

keshunchen/baiduocr

Baidu OCR API for Laravel
388 1
Install
composer require keshunchen/baiduocr
Latest Version:v1.1
PHP:>=5.5.9
License:MIT
Last Updated:Apr 3, 2019
Links: GitHub  ·  Packagist
Maintainer: keshunchen

百度文字识别

百度文字识别API在Laravel5中的简单封装,具体API使用详情参见百度文字识别API

Install

直接在composer.json中添加"keshunchen/baiduocr": "~1.0" 或者直接composer require "keshunchen/baiduocr"。

For laravel5:

1.安装该插件
2.在config/app.php文件内添加
    'providers' => [
        Keshunchen\Baiduocr\BaiduocrServiceProvider::class,
    ],
    
    'aliases' => [
        'Baiduocr' => Keshunchen\Baiduocr\BaiduocrFacade::class,
    ],
3. 配置文件
    php artisan vendor:publish

修改config/baiduocr.php配置百度API参数

4. 使用
    \Baiduocr::idcard($image, $isFront, $options);

License

MIT

Related Packages

lokielse/laravel-pinyin

Chinese Pinyin Bundle For Laravel

14,164 14
overtrue/laravel-pinyin

Chinese to Pinyin translator.

631,264 530
jfuentestgn/ocr-space

Laravel OCR.space API Client

43,246 9
tamirrental/laravel-text-extractor

A Laravel package for extracting structured data from documents via OCR APIs. Sh...

23,048 1
godruoyi/laravel-ocr

The Best Image Ocr SDK For BAT.

2,485 13

Version History

Version Released PHP License
v1.1 >=5.5.9 MIT
v1.0 >=5.5.9 MIT