Nude Detect

फ्रीमियम
द्वारा Netspark LTD | अपडेट किया गया לפני 9 ימים | Visual Recognition
लोकप्रियता

6.6 / 10

लेटेंसी

9,218ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Badly formatted JSON response

Rapid account: Trainapi
trainapi
לפני 8 שנים

The JSON response from the API is badly formatted. See example below:

{
“status”: “success”,
“photo url”: “http://www.domain.com/yourimage.jpg”,
“is nude” {
“confidence”: “3.85%”
}
“is minimal dress” {
“confidence”: “86.51%”
}
}

There should be a comma after “is nude” item, and colons after that and “is minimal dress”, see below:

{
“status”: “success”,
“photo url”: “http://www.domain.com/yourimage.jpg”,
“is nude”: {
“confidence”: “3.85%”
},
“is minimal dress”: {
“confidence”: “86.51%”
}
}

Rapid account: Netspark
Netspark Commented לפני 8 שנים

fixed. Thanks again for bringing this to our attention

Rapid account: Netspark
Netspark Commented לפני 8 שנים

I misunderstood your comment before. I thought you meant the example didn’t match the actual code.

I will bring this to our developer’s attention for correction. Thank you!

Rapid account: Trainapi
trainapi Commented לפני 8 שנים

Unfortunately you’ve only fixed the example code, you haven’t fixed the API itself. See the example response I received below:

{
“status”: “success”,
“photo url”: “http://www.styleclicker.net/wp-content/uploads/2010/10/100812-Trench-Girl-Copenhagen-Oslo-Pladsen-12.jpg”,
“is nude” {
“confidence”: “1%”
}
“is minimal dress” {
“confidence”: “1%”
}
}

Rapid account: Netspark
Netspark Commented לפני 8 שנים

fixed

Rapid account: Netspark
Netspark Commented לפני 8 שנים

Thanks for bringing this to our attention!! Fixing it now

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें