PHPackages                             adam-paterson/watson-visual-recognition - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. adam-paterson/watson-visual-recognition

ActiveLibrary[API Development](/categories/api)

adam-paterson/watson-visual-recognition
=======================================

IBM Watson Visual Recognition

10PHP

Since Oct 6Pushed 8y agoCompare

[ Source](https://github.com/adam-paterson/watson-visual-recognition)[ Packagist](https://packagist.org/packages/adam-paterson/watson-visual-recognition)[ RSS](/packages/adam-paterson-watson-visual-recognition/feed)WikiDiscussions develop Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

IBM Watson - Visual Recognition
===============================

[](#ibm-watson---visual-recognition)

[![Latest Version on Packagist](https://camo.githubusercontent.com/76f3109d0f36b1d5c43c04f4a3ad98bf18b66ce923afb87ba20d169122b574d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6164616d2d7061746572736f6e2f69626d2d776174736f6e2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adam-paterson/ibm-watson-sdk)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/5a008b0e00315b52f89a7bb754c0f6ba0dccc0dc810b1fff0b18c7d14485b996/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6164616d2d7061746572736f6e2f69626d2d776174736f6e2d73646b2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/adam-paterson/ibm-watson-sdk)[![Coverage Status](https://camo.githubusercontent.com/41d4526f9c3218d0832eef6f7dfc6551a74685bbf9b69ac90ff18b1f47e8f80d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6164616d2d7061746572736f6e2f69626d2d776174736f6e2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/adam-paterson/ibm-watson-sdk/code-structure)[![Quality Score](https://camo.githubusercontent.com/71669a12328fefcd475b73c892f37aeeaac016ec56893924fdcfc862a634010f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6164616d2d7061746572736f6e2f69626d2d776174736f6e2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/adam-paterson/ibm-watson-sdk)[![SensioLabs Insights](https://camo.githubusercontent.com/dec955f99e8b2f4f09bd2081c76a9468cf94c06e67e28a1b1726356301426a88/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61653036303437352d303631392d343837632d626664662d3764373633353734623762392e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/ae060475-0619-487c-bfdf-7d763574b7b9)[![Total Downloads](https://camo.githubusercontent.com/3679b12657320633b2b3260ab63eb330962b1a0ddeabcf97c19e97bec2a8fe89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6164616d2d7061746572736f6e2f69626d2d776174736f6e2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adam-paterson/ibm-watson-sdk)

Install
-------

[](#install)

This library does not impose a specific dependency for sending HTTP requests. Instead we use [HTTPlug](http://httplug.io/) abstraction library to allows to continue using your existing HTTP implementation or use your favoured one.

We also are utilising [PSR-7](http://www.php-fig.org/psr/psr-7/) in this library so you will need to install a `psr-7` compatible library such as [`guzzlehttp/psr7`](https://github.com/guzzle/psr7).

We can do this with a one line composer require:

```
$ composer require php-http/curl-client guzzlehttp/psr7 php-http/message adam-paterson/watson-visual-recognition

```

Usage
-----

[](#usage)

### Classify Image From Url

[](#classify-image-from-url)

```
use IBM\Watson\VisualRecognition as VisualRecognition;

$visualRecognition = VisualRecognition::create('apiKey');

$classifiers = $visualRecognition->classify('http://www.fillmurray.com/200/500.jpg');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email :author\_email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Adam Paterson](https://github.com/:author_username)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/296c5969d49c166c45bbe6066cc3057d7279a1451f495186ac82de0de9455107?d=identicon)[Adam\_Paterson](/maintainers/Adam_Paterson)

---

Top Contributors

[![adam-paterson](https://avatars.githubusercontent.com/u/1008727?v=4)](https://github.com/adam-paterson "adam-paterson (1 commits)")

### Embed Badge

![Health badge](/badges/adam-paterson-watson-visual-recognition/health.svg)

```
[![Health](https://phpackages.com/badges/adam-paterson-watson-visual-recognition/health.svg)](https://phpackages.com/packages/adam-paterson-watson-visual-recognition)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
