necrox87/yii2-nudity-detector

This algorithm tries to detect nudity in the image based on the amount os skin colors in it. Based on work of FreebieStock (https://github.com/FreebieStock/php-nudity-detector)

dev-master 2015-10-31 18:50 UTC

This package is auto-updated.

Last update: 2024-11-16 19:19:08 UTC


README

This algorithm tries to detect nudity in the image based on the amount os skin colors in it. Based on work of FreebieStock (https://github.com/FreebieStock/php-nudity-detector)

The algorithm is based on J. Marcial-Basilio et al. (2011) paper.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require necrox87/yii2-nudity-detector "dev-master"

or add

"necrox87/yii2-nudity-detector": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by: