NSFW images detection and classification

FREEMIUM
Verified
By SmartClick | Updated 4 days ago | Visual Recognition
Popularity

9.7 / 10

Latency

1,351ms

Service Level

100%

Health Check

N/A

Back to All Discussions

remove dick but not boobs

Rapid account: Admin C B 59 CE 5 Mz
admin-cB59CE5mz
a year ago

Is it possible to not remove naked groats but still remove dicks?

Rapid account: Anahit Mkrtchyan
anahit.mkrtchyan Commented 10 months ago

Hi Evgenii, you can check header file and choose each categories sensitivity from there. It can be increased or decreased from your side.

import requests

url = "url_to_the_image.jpg"

payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"image\"\r\n\r\n\r\n-----011000010111000001101001--\r\n\r\n"
headers = {
   "content-type": "multipart/form-data; boundary=---011000010111000001101001",
   "exposed-breast-f": "1",
   "exposed-genitalia-m": "0.4",
   "X-RapidAPI-Key": "<YOUR-APIKEY>",
   "X-RapidAPI-Host": "nsfw-images-detection-and-classification.p.rapidapi.com"
}

response = requests.post(url, data=payload, headers=headers)

print(response.json())

Join in the discussion - add comment below:

Login / Signup to post new comments