ivanciric / propeller-ai
PHP Library for PropellerAi image recognition API
1.0.4
2017-07-11 19:01 UTC
Requires
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2025-01-17 10:37:36 UTC
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 )