propeller-ai
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.0Or just clone it and test it as a stand-alone lib:
$ git clone https://github.com/ivanciric/propeller-ai.git
$ cd propeller-ai
$ composer installUsage
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
)