Detects whether the submited image contains nudity.
$ git clone https://github.com/Gyvastis/nudity-detector-api.git
$ cd nudity-detector-api
$ composer install
Request must be in application/json
Example POST
request to http://yourawesomehost.com/nudity-detector-api/check
with the image url you want to check:
{
"url":"https://pbs.twimg.com/media/CS9FQg8UsAAwybp.jpg"
}
Example JSON
response:
{
"success": true,
"message": "Image processed successfully",
"data": {
"nude": "9.15%",
"minimal": "59.5%"
}
}
nude
parameter shows how much nudity does the image exposeminimal
parameter identifies whether the subject in the image is minimally dressedUse this at your own risk, as it depends on a third party. Consider using a proxy too.