定制 whistle/baiduocr 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

whistle/baiduocr

Composer 安装命令:

composer require whistle/baiduocr

包简介

This is the baidu OCR operation API

README 文档

README

这是百度AI平台的OCR工具laravel扩展包,他提供例如身份证照片识别,银行卡照片识别,文字识别、网图OCR识别、生僻字OCR识别、行驶证识别、驾驶证等其他文字识别功能。

Build Status

install

    composer require whistle/baiduocr
    php artisan vendor:publish
    在config/app.php文件中provider数组添加 whiStle\baiduOcr\BaidOcrProvider::class
    在config/app.php文件中aliases数组数组中添加'Ocr'=>whiStle\baiduOcr\AipOcrFacade::class
    配置config/ocr.php文件

use

    识别身份证
    Ocr::idcard(string $img, bool $true)
    银行卡识别
    Ocr::bankcard(string $img)
    通用文字识别(含文字位置信息)
    Ocr::general(string $img)
    通用文字识别(不含文字位置信息)
    Ocr::basicGeneral(string $img)
    网图OCR识别
    Ocr::webImage(string $img)
    生僻字OCR识别
    Ocr::enhancedGeneral(string $img)
    行驶证识别
    Ocr::vehicleLicense(string $img)
    驾驶证
    Ocr::drivingLicense(string $img)
    车牌
    Ocr::licensePlate(string $img)

统计信息

  • 总下载量: 98
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apche
  • 更新时间: 2017-08-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固