hutong/aip

baidu aip php sdk

Maintainers

Details

github.com/HuTong/aip

Source

Issues

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hutong/aip

v1.0.0 2019-10-23 08:56 UTC

This package is auto-updated.

Last update: 2025-09-29 02:49:52 UTC


README

百度aip sdk 提取成命名空间方式

$image = file_get_contents('a.jpg');
$options = [
    'brief' => '1',
    'tags' => '1,2'
];

$result = (new AipImageSearch($appId, $appKey,$appSecret))->similarAdd($image, $options);