godruoyi / laravel-ocr
The Best Image Ocr SDK For BAT.
Installs: 2 319
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 7
Open Issues: 0
Requires
- php: >=8.1.0
- ext-json: *
- godruoyi/ocr: ^3.0
- illuminate/support: ^10.0
This package is auto-updated.
Last update: 2024-10-31 00:24:01 UTC
README
The Best Image Ocr SDK For BAT.
安装
composer require godruoyi/laravel-ocr
添加别名
// config/app.php 'OCR' => Godruoyi\LaravelOCR\OCR::class,
发布配置文件
php artisan vendor:publish --provider="Godruoyi\LaravelOCR\OCRServiceProvider"
使用
use OCR; // 身份证识别 OCR::baidu()->idcard($filePath);
更多 SDK 使用请参考:
License
MIT