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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-deepface

PHP DeepFace: Advanced Face Recognition for PHP

Latest Version MIT License Offset Earth Larabelles

PHP Version Symfony Version

pint Total Downloads Trees Carbon GitHub Sponsors

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

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! 🌳


All versions of php-deepface with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-spl Version *
symfony/process Version ^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package astrotomic/php-deepface contains the following files

Loading the files please wait ....