定制 phpfanatic/clarifai 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

phpfanatic/clarifai

Composer 安装命令:

composer require phpfanatic/clarifai

包简介

clarifAI PHP Library

README 文档

README

Build Status GitHub version

Clarifai API Library, PHP/Composer implementation of the clarifai api. (clarifai). PHPfanatic's PHP library brings you the power of clarifai's image recognition API wrapped in an easy to use PHP library that you can add to your own project easily with composer.

Build smarter apps faster with Clarifai’s powerful visual recognition technology.

Getting Started

Add the package to your composer implementation.

composer require phpfanatic/clarifai

or

Add the package manually by downloading the most recent stable version release from Github and include the src/ directory within your own project.

Requirements

  • PHP - 5.6, 7.0 - May work with ealier version, untested at this time.
  • cURL - *
  • Clarifai API Key - clarifai
  • PHPUnit - to run tests (optional).

Example Usage

use PhpFanatic\clarifAI\ImageClient;

$client = new ImageClient([API_KEY]);

$client->AddImage('http://phpfanatic.com/projects/clarifai/dog.jpg');
$result = $client->Predict();

Documentation

PHPfanatic - ClarifAI documentation

Change History

  • 2.0.1 - Patched clientversion variable.
  • 2.0.0 - Changed Clarifai authentication to use API Key method.
  • 1.2.3 - Added User-Agent Library header to outbound curl calls per Clarifai request.
  • 1.2.2 - Fixed malformed url bug when you paginate a get request. (credit: @mhdere)
  • 1.2.1 - Fixed urlencode bug (credit: keithslater), added additional Clarifai models.
  • 1.2.0 - Added model delete support, updated inputs to allow delete all.
  • 1.1.0 - Added multi language support.
  • 1.0.0 - Public API release.
  • 0.1.1 - Development alpha release.

Look Ahead (what might be changed in the future.)

  • Removing cURL as a requirement.
  • Combining POST,DELETE,PATCH into a single method.

Built With

Authors

License

This project is licensed under the MIT License.

统计信息

  • 总下载量: 10.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 4
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固