pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 🚀 This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
951 stars 576 forks source link

Add Nudity Filter to Picture module #94

Closed pH-7 closed 7 years ago

pH-7 commented 7 years ago

Add Nudity Filter to Picture module to set them automaticly to moderation photos is the Nudity Filter thinks it is a nude photos

This option has to be optional and possibility to enable it in the admin panel

Nudity Algorithm Filder like this one https://github.com/FreebieStock/php-nudity-detector

Example

$oNudityFilter = new \Image_FleshSkinQuantifier($sImgPath);
if($oNudityFilter->isPorn()) {
    echo 'This photo seems to be suitable for adults only';
} else {
    echo 'The photo seems to be suitable for everybody without any adult content like nudity, etc';
}
pH-7 commented 7 years ago

Done!

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Thanks, Pierre-Henry