Nudity Detection
Description of working with API in nudity detection
Simple nudity detection
POST https://api.visork.com/v1/detect
A straightforward method that returns according to the set parameters whether or not it is nudity.
{
"input_image": {
"width": 240,
"height": 240,
},
"inference": {
"result": [
{
"class_name": "child",
"confidence": 0.43623748421669006
}
],
"statistic": {
"preprocess_time": 1.5791766345500946,
"inference_time": 738.9342412352562,
"postprocess_time": 0.796683132648468
}
}
}{
"detail": "Unsupported input type or invalid image: <class 'str'>"
}Last updated