Skip to content

JackDPro/baidu-php-sdk-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReadMe

Install

composer reuqire dongkaipo/baidu-php-sdk-image

Usage

<?php
        $appId = '<app id>';
        $apiKey = '<api key>';
        $apiSecretKey = '<secret key>';
        $image = new ImageClassify($appId, $apiKey, $apiSecretKey); 
        // 该 client 就是百度的 client
        $client = $image->getClient();

Baidu Api Document