ivanciric/propeller-ai
Composer 安装命令:
composer require ivanciric/propeller-ai
包简介
PHP Library for PropellerAi image recognition API
README 文档
README
PHP Library for the PropellerAi image recognition API.
Installation
In your project composer.json file add the following in the require array:
"ivanciric/propeller-ai": "1.0.*"
Or add it trough the command line from your project root:
composer require ivanciric/propeller-ai ~1.0
Or just clone it and test it as a stand-alone lib:
$ git clone https://github.com/ivanciric/propeller-ai.git
$ cd propeller-ai
$ composer install
Usage
See example.php file.
Library will return an array of top 5 classification values for a given image.
You can use the classifications for image auto-tagging.
Example: set up a cron job to go trough your image library and insert tags for each one in the db.
Array ( [0] => Greater Swiss Mountain dog [1] => EntleBucher [2] => Appenzeller [3] => Doberman, Doberman pinscher [4] => black-and-tan coonhound )
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-23