daviddlv/clarifai-bundle
Composer 安装命令:
composer require daviddlv/clarifai-bundle
包简介
Image recognition for your Symfony2 project using Clarifai
README 文档
README
This bundle provides integration with Clarifai with Symfony2.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require daviddlv/clarifai-bundle
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new ClarifaiBundle\ClarifaiBundle(), ); // ... } // ... }
Configuration
# app/config/config.yml clarifai: auth: client_id: %client_id% client_secret: %client_secret%
Basic Usage
$client = $this->conrainer->get('clarifai.api.client'); TODO
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-31