darmen/php-azure-face-api-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

darmen/php-azure-face-api-client

最新稳定版本:v1.1.0

Composer 安装命令:

composer require darmen/php-azure-face-api-client

包简介

PHP client for Microsoft Azure Face API.

README 文档

README

A PHP library that utilizes Azure Face REST API.

Build status Latest Stable Version Total Downloads

Requirements

  • PHP >= 7.4

Installation

composer require darmen/php-azure-face-api-client

Use the autoloader in your projects:

require 'vendor/autoload.php';

Next steps

Face resource

  • Detect with stream
  • Detect with URL
  • Find similar
  • Group
  • Identify
  • Verify Face to Face
  • Verify Face to Person

Other resources

  • Face List resource
  • Large Face List resource
  • Large Person Group resource
  • Large Person Group Person resource
  • Person Group resource
  • Person Group Person resource
  • Snapshot resource

Usage

All following examples assume this step.

use Darmen\AzureFace\Client;

$client = new Client('<endpoint>', '<subscription key>');

Working with resources

$client->faceList()->create('test-id', 'test-name');
$client->largeFaceList()->create('test-id-large', 'test-name-large');

$client->faceList()->get('test-id');
$client->largeFaceList()->get('test-id-large');

$client->faceList()->delete('test-id');
$client->largeFaceList()->delete('test-id-large');

// ...

Since the library wraps Face API REST interface, feel free toe read the sources in src/Resources directory to find out more methods.

Contribution

Happy to get your feedback, but also you are feel free to raise a pull request.

License

This library is released under the MIT License.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-26