2017 © Pedro Peláez
 

library face

A PHP Library built for the Microsoft's Face API.

image

ridvanbaluyos/face

A PHP Library built for the Microsoft's Face API.

  • Tuesday, September 26, 2017
  • by ridvanbaluyos
  • Repository
  • 1 Watchers
  • 2 Stars
  • 129 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 11 Versions
  • 9 % Grown

The README.md

ridvanbaluyos/face

A PHP Library built for the Microsoft's Cognitive Services., (*1)

Cognitive Services: Face API br/br/, (*2)

Actively Maintained Latest Stable Version Total Downloads Scrutinizer Code Quality Build Status Codacy Badge License, (*3)

Table of contents

Requirements

Kindly subscribe for an API key to Microsoft's Cognitive Services API page., (*4)

Installation

Open your composer.json file and add the following to the require key:, (*5)

"ridvanbaluyos/face": "v1.1"

After adding the key, run composer update from the command line to install the package, (*6)

composer install

or, (*7)

composer update

Configuration

Add your subscription key in src/Ridvanbaluyos/Face/config.json file, (*8)

{
    "url" : "https://westus.api.cognitive.microsoft.com/face/v1.0/detect",
    "subscriptionKey" : "zWwPD7BGWYEArX6u6QxvS25TTsNge2Qw"
}

Usage

 'http://img2.timeinc.net/people/i/2014/database/140831/justin-bieber-300.jpg',
);

// instantiate face detection object
$face = new FaceDetection($image);
?>

Detecting a face

$face->getFaces();

Analyzing Face Landmarks

$face->analyzeFaceLandmarks()->getFaces();

Analyzing Face Attributes

$face->analyzeFaceAttributes()->getFaces();

Chaining options

$face->analyzeFaceLandmarks()->analyzeFaceAttributes()->getFaces();

Alternatively, you can analyze all possible options

$face->analyzeAll()->getFaces();

References

The Versions

26/09 2017

dev-master

9999999-dev

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

 

by Ridvan Baluyos

php library face detection face api

10/02 2017

v1.1

1.1.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

 

by Ridvan Baluyos

php library face detection face api

09/02 2017

v1.0

1.0.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.7

0.7.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.6

0.6.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.5

0.5.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.4

0.4.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.3

0.3.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.2

0.2.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0

0.0.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api

06/05 2015

v0.1

0.1.0.0

A PHP Library built for the Microsoft's Face API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

php library face detection face api