hybo/face-recognition
Composer 安装命令:
composer require hybo/face-recognition
包简介
face recognition
README 文档
README
PHP >= 7.1
Installation
$ composer require "hybo/face-recognition"
Usage
<?php require 'vendor/autoload.php'; use FaceRecognition\Client; $config = [ 'baidu' => [ 'app_id' => '', 'api_key' => '', 'secret_key' => '', ], 'face++' => [ 'api_key' => '', 'api_secret' => '', ], 'tencent-youtu' => [ 'app_id' => '', 'secret_id' => '', 'secret_key' => '', 'user_id' => 'QQ号', ], ]; $image = '图片URL'; $client = new Client($config); $client->driver('baidu')->detect($image); $client->driver('face++')->detect($image); // ...
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-15