how do these nudity detection API work? Is there a crowdsourcing going underneath the hood? Are they using some clustering algorithm to detect a range of skin color (if 90%), it's nude.
The link that you just commented on answers your question in literally the best way possible, it's an academic paper on an algorithm used for this.
An Algorithm for Nudity Detection [pdf]
21–24 of 24 posts
Re: An Algorithm for Nudity Detection [pdf]
#22how do these nudity detection API work? Is there a crowdsourcing going underneath the hood? Are they using some clustering algorithm to detect a range of skin color (if 90%), it's nude.
Protip: If you film pornography in black and white, there is no such thing as "skin color." If you remap the palette for a desaturated image, so that everyone's skin is green or magenta, are there any fewer penises penetrating vaginas in the image? If it's a horse and a fully clothed person's mouth, where is the algorithm for that? Think about it.
Think about it.
Re: An Algorithm for Nudity Detection [pdf]
#23"The training set for the skin filter consisted of 1,182,608 manually labeled skin pixels and 10,471,553 manually labeled non-skin pixels while the testing set consisted of 2,303,824 manually labeled skin pixels and 24,285,952 manually labeled non-skin pixels." That's a lot of pixels to manually label.
Re: An Algorithm for Nudity Detection [pdf]
#24Seems like a not very scalable approach to the problem. I would think if you wanted to capture all nudity (including monochromatic or illustrated), you would instead go at the problem from the angle of titillation . You could even round up images that are not necessarily human based (fruit arranged provocatively, for instance).
If the algorithm gets aroused, return positive, otherwise return negative. Bam, patent.