ydalbj / ocr
There is no license information available for the latest version (v0.1.1) of this package.
百度文字识别Api的laravel扩展库
v0.1.1
2019-01-14 13:26 UTC
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-05-15 01:58:08 UTC
README
Bairdu Ocr SDK [https://ai.baidu.com/docs#/OCR-PHP-SDK/top]
安装
-
引入类库 composer require ydalbj/ocr
-
Laravel config
-
复制配置文件baidu.php
$ php artisan vendor:publish --tag=orc
-
配置Baidu Ocr Api Key环境变量(例如.env文件)
BAIDU_APP_ID=xxxxx BAIDU_APP_KEY=xxxxx BAIDU_APP_SECRET=xxxxx
-