ozziest / face-detector by ozziest

Face detector for Laravel 4.
166
1
3
Package Data
Maintainer Username: ozziest
Maintainer Contact: i.ozguradem@gmail.com (Özgür Adem Işıklı)
Package Create Date: 2014-08-25
Package Last Update: 2014-08-25
Language: PHP
License: GPL
Last Refreshed: 2024-11-19 03:23:10
Package Statistics
Total Downloads: 166
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

FaceDetector

This class detect one face in images.

Installation

To install through composer, simply put the following in your composer.json file:

{
    "require": {
        "ozziest/face-detector": "dev-master",
    }
}

After installing the package, open your Laravel config file app/config/app.php and add the following lines.

In the $providers array add the following service provider for this package;

'Ozziest\FaceDetector\FaceDetectorServiceProvider',

Add the FaceDetector facades to the aliases in app/config/app.php:

'FaceDetector' => 'Ozziest\FaceDetector\Facades\FaceDetector',

Usage

FaceDetector::detect('image.jpg')->toJpeg();

Methods

  • toJpeg()
  • toJson()
  • getFace()

Requirements

PHP5 with GD

License

GNU GPL v2 (See LICENSE.txt)