weburnit/ibm-visual-recognition

API client which supports IBM Watson - Visual Insight

0.1.6 2016-05-24 17:19 UTC

This package is auto-updated.

Last update: 2024-10-29 05:08:53 UTC


README

IBMWatson Visual Recognition

Latest Stable Version Total Downloads Latest Unstable Version License

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'])