PHPackages                             sensimedia/facial - 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. [Image &amp; Media](/categories/media)
4. /
5. sensimedia/facial

ActiveLibrary[Image &amp; Media](/categories/media)

sensimedia/facial
=================

PHP class to detect one face in images. A pure PHP port of an existing JS code from Karthik Tharavad.

0.6.4(1y ago)78.9k—10%4[1 PRs](https://github.com/Sensi-Media/facial/pulls)GPL-2.0PHPPHP &gt;=8.2

Since May 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Sensi-Media/facial)[ Packagist](https://packagist.org/packages/sensimedia/facial)[ Docs](https://github.com/Sensi-Media/facial)[ RSS](/packages/sensimedia-facial/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (0)

PHP Face Detection
==================

[](#php-face-detection)

This class can detect one face in images ATM.

This is a pure PHP port of existing JS code from Karthik Tharavaad.

Since the package was abandoned by the original author, I forked it and upgraded it to be compatible with PHP 8.2.

Requirements
------------

[](#requirements)

PHP8.2 or higher with GD

License
-------

[](#license)

GNU GPL v2 (See LICENSE.txt)

Installation
------------

[](#installation)

Composer (recommended):

```
$ composer require sensimedia/facial
```

Usage
-----

[](#usage)

```
