azulae/php-azure-face-api
最新稳定版本:0.2.0
Composer 安装命令:
composer require azulae/php-azure-face-api
包简介
SmartDog23 - PHP Azure FaceAPI - Facial Recognition Software
README 文档
README
The PHP Azure Face API makes it easy for developers to access Azure Face API in their PHP code.
SmartDog23 - PHP Azure Face API
PHP Azure Face API is a PHP Client that make easy to use Azure's Face Recognition API
$azureFaceApi = new AzureFaceApi('YOUR_KEY', AzureRegions::EAST_US); $result = $azureFaceApi->largePersonGroup()->create()->execute('test-group', 'description of the group'); echo $result->getBody()->getContents();
Help and docs
Installation
The recommended way to install LaravelAzureFaceAPI is through Composer.
composer require smartdog23/php-azure-face-api
Usage
Using the simple mode
$azureFaceApi = new AzureFaceApi('YOUR_KEY', AzureRegions::EAST_US); $result = $azureFaceApi->largePersonGroup()->create()->execute('test-group', 'description of the group'); echo $result->getBody()->getContents();
Using the advanced mode
$azureFaceApi = new AzureFaceApi('YOUR_KEY', AzureRegions::EAST_US); $options = new CreateOptions(); $options->parameters()->largePersonGroupId('test-group'); $options->body()->name('description of the group'); $result = $azureFaceApi->largePersonGroup()->create()->executeWithOptions($options); echo $result->getBody()->getContents();
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-20