weburnit/ibm-visual-recognition

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

API client which supports IBM Watson - Visual Insight

0.1.6 2016-05-24 17:19 UTC

This package is auto-updated.

Last update: 2021-10-01 00:16:45 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'])