NSFW images detection and classification

フリーミアム
Verified
よって SmartClick | 更新済み a month ago | Visual Recognition
人気

9.7 / 10

レイテンシー

1,124ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

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 a year 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())

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿