dev-master
9999999-devDetects whether the submitted image contains nudity.
The Requires
by Vaidas
Detects whether the submitted image contains nudity.
Detects whether the submited image contains nudity., (*1)
$ git clone https://github.com/Gyvastis/nudity-detector-api.git
, (*2)
$ cd nudity-detector-api
, (*3)
$ composer install
, (*4)
Request must be in application/json
, (*5)
Example POST
request to http://yourawesomehost.com/nudity-detector-api/check
with the image url you want to check:, (*6)
{ "url":"https://pbs.twimg.com/media/CS9FQg8UsAAwybp.jpg" }
Example JSON
response:, (*7)
{ "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., (*8)
Detects whether the submitted image contains nudity.