Download the PHP package astrotomic/php-deepface without Composer
On this page you can find all versions of the php package astrotomic/php-deepface. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astrotomic/php-deepface
More information about astrotomic/php-deepface
Files in astrotomic/php-deepface
Package php-deepface
Short Description A PHP adapter for the python deepface framework.
License MIT
Homepage https://github.com/Gummibeer/php-deepface
Informations about the package php-deepface
PHP DeepFace: Advanced Face Recognition for PHP
Welcome to PHP DeepFace, a powerful face recognition and facial attribute analysis package for PHP. With PHP DeepFace, you can effortlessly integrate cutting-edge deep learning models into your PHP applications for a wide range of face-related tasks. Here's how you can get started:
Installation
To get started, you'll need to install the deepface Python framework. You can do this using pip:
Once you've installed deepface, you can then install the PHP adapter via Composer:
Configuration
Configuring PHP DeepFace is a breeze. Simply instantiate the Astrotomic\DeepFace\DeepFace
class, and it will automatically detect your local Python executable:
If you have a specific Python version you'd like to use, you can provide the path to the Python executable as an argument:
Usage
PHP DeepFace provides a wide range of functionalities for face recognition and facial attribute analysis. Here are some key features:
Build Model
You can build a deepface face recognition or facial attribute model with ease:
Face Detection
Perform face detection and alignment using this function:
Face Verification
Verify whether two images belong to the same person or different persons. This function calculates the similarity between facial image vectors:
Face Recognition
Find identities in a database by applying verification multiple times:
Face Embeddings
Generate vector embeddings for facial images using convolutional neural networks models:
Facial Attribute Analysis
Analyze facial attributes including age, gender, emotion, and race. This function builds convolutional neural network models to classify these attributes:
Testing
Run tests to ensure everything is working as expected:
Contributing
We welcome contributions! Please see our CONTRIBUTING guidelines for details. You may also want to review our CODE OF CONDUCT.
Security
If you discover any security-related issues, please follow the steps outlined in our SECURITY guidelines to report them.
Credits
- Tom Herrmann
- Sefik Ilkin Serengil, the creator of deepface
- All Contributors
License
PHP DeepFace is released under the MIT License. Please see the License File for more information.
Treeware
You're free to use this package, but if it makes it to your production environment, we kindly request that you contribute to a greener world by planting a tree. Trees play a vital role in combating climate change and preserving our environment. You can buy trees at offset.earth/treeware. Help us make a positive impact! 🌳