andaris/computer-vision-client
Composer 安装命令:
composer require andaris/computer-vision-client
包简介
Simple PHP Client for the Microsoft Computer Vision API
README 文档
README
Computer Vision API Client
This library provides a simple client for Microsoft's Computer Vision API using the Guzzle PHP HTTP client.
Requirements
- PHP 5.5 or higher
- PHP CURL extension
Installation (Composer)
This library is published as a Composer package, so Composer is the recommended way to install it.
Add computer-vision-client to your application's composer.json file:
{
"require": {
"andaris/computer-vision-client": "0.1.0"
}
}
Navigate to your project root and run:
$ composer install
Make sure that the Composer autoloader is in your project's bootstrap.
Usage
use Andaris\ComputerVision\Client; $imageData = file_get_contents('/path/to/image.jpg'); $client = new Client('14758f1afd44c09b7992073ccf00b43d'); // Insert your API key $result = $client->analyze($imageData, [Client::FEATURE_CATEGORIES, Client::FEATURE_TAGS]);
Testing
The PHPUnit test suite can be run via vendor/bin/phpunit.
andaris/computer-vision-client 适用场景与选型建议
andaris/computer-vision-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 799 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 05 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 andaris/computer-vision-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 andaris/computer-vision-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 799
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-05-20