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)
Installs: 1 644
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
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: