weburnit / ibm-visual-recognition
API client which supports IBM Watson - Visual Insight
0.1.6
2016-05-24 17:19 UTC
Requires
- guzzlehttp/guzzle: ^6.0
Requires (Dev)
- php: >=5.5.0
- adlawson/vfs: *
- phpunit/phpunit: ~4.6
README
IBMWatson Visual Recognition
Step 1: Install
This bundle is available on Packagist. You can install it using Composer:
$ composer require weburnit/ibm-visual-recognition
Step 2: Usage
<?php $service = new VisualRecognition('78ba7889-e331-4f58-958b-254f9231b1d2', 'MHsln6fPvCEp', '2015-12-02'); $service->classifyImage('/path/to/your/image/file.png', ['acne_1234151234']); $service->classifyImages(['array:/all/file/paths/to/your/classify/images.png'], ['acne_1234151234'])