Skip to content

Linij/BaiduAip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baidu Aip picture recognition

Give the Aip namespace in PHP 7.0+

Features

  • PHP7.0 +
  • Namespace
  • Package Management By Composer

Installation

composer require linij/baiduaip

Usage

 $ocr = new AipOcr($appId, $apiKey, $secretKey);
 $ocr->receipt(file_get_contents($imagePath));