ozziest / face-detector
This package is abandoned and no longer maintained.
No replacement package was suggested.
Face detector for Laravel 4.
dev-master
2014-08-25 08:00 UTC
Requires
- php: >=5.4.0
- ext-gd: *
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2025-02-01 18:03:20 UTC
README
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)