2017 © Pedro Peláez
 

library computer-vision-client

Simple PHP Client for the Microsoft Computer Vision API

image

andaris/computer-vision-client

Simple PHP Client for the Microsoft Computer Vision API

  • Wednesday, February 7, 2018
  • by andaris
  • Repository
  • 2 Watchers
  • 1 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

Build Status Scrutinizer Code Quality Code Coverage, (*1)

Computer Vision API Client

This library provides a simple client for Microsoft's Computer Vision API using the Guzzle PHP HTTP client., (*2)

Requirements

  • PHP 5.5 or higher
  • PHP CURL extension

Installation (Composer)

This library is published as a Composer package, so Composer is the recommended way to install it., (*3)

Add computer-vision-client to your application's composer.json file:, (*4)

{
    "require": {
        "andaris/computer-vision-client": "0.1.0"
    }
}

Navigate to your project root and run:, (*5)

$ composer install

Make sure that the Composer autoloader is in your project's bootstrap., (*6)

Usage

use Andaris\ComputerVision\Client;

$imageData = file_get_contents('/path/to/image.jpg');
$client = new Client('14758f1afd44c09b7992073ccf00b43d'); // Insert your API key
$result = $client->analyze($imageData, [Client::FEATURE_CATEGORIES, Client::FEATURE_TAGS]);

Testing

The PHPUnit test suite can be run via vendor/bin/phpunit., (*7)

The Versions

07/02 2018

dev-master

9999999-dev

Simple PHP Client for the Microsoft Computer Vision API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Andreas Erhard

07/02 2018

0.2.0

0.2.0.0

Simple PHP Client for the Microsoft Computer Vision API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Andreas Erhard

07/02 2018

dev-feature/ci

dev-feature/ci

Simple PHP Client for the Microsoft Computer Vision API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Andreas Erhard

26/05 2017

0.1.1

0.1.1.0

Simple PHP Client for the Microsoft Computer Vision API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Andreas Erhard

20/05 2017

0.1.0

0.1.0.0

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Andreas Erhard