Detecting Nudity With AI and OpenCV
mikejuk writes: AI gets put to some strange tasks. Not satisfied with the Turing test or inventing Skynet, Algorithmia have put together a nudity detector. Take one face detector from OpenCV and use it to find a nose. Take the skin color from the nose and then see what parts of the body are skin colored in the photo. If there is lot of skin color shout NUDE! Actually, the website lets you put in your own photos and classifies them into Rude or Good and gives you a confidence estimate. Obama with his top off — no problem but the familiar image processing test photo of Lena the pin up girl rates a 'Rude'.
I googled "porn" grabbed one of the top 10 image URLs Entered it.... and got PG. #FAIL@SCIENCE
Take the skin color from the nose..
That ain't a nose!
Oh, well. It's no skin off my nose.
Don't waste your vote! Vote for whoever you want, unless you live in a swing state it won't matter anyways
My women-who-paint-their-noses-blue fetish will remain undetected!
Why does "Nude" equate to "Rude"? Oh right, I forgot... we're afraid of our bodies and spooked by healthy sexuality.
Someone I know was tasked with catching people at work watching porn. So.. they screen grabbed everyone occasionally and checked manually. That got tedious so an algorithm was scripted to scan the photos for slightly darker circles within larger circles (breasts).... the person that wrote that code no longer has a job there because they just run the program and don't need to manually check X.x
It doesn't have to catch every concurrence of course.. just enough to flag culprits with few false positives. Also, don't code yourself out of a job!
Thing here has really high false positives, most of the time it flags faces as nude.
I bet you could even get this done for free....
Yes yes, people get sick of seeing the naked pictures. That's why you don't pay them, so that there is no obligation for them to continue.
Take one face detector from OpenCV and use it to find a nose. Take the skin color from the nose and then see what parts of the body are skin colored in the photo. If there is lot of skin color shout NUDE!
And if I give it a photo of a nose?
systemd is Roko's Basilisk.
Just a reminder, we are all born naked. Stop making so much trouble!
Cheers from Germany.
Classifying nudes as rudes is so prude that it is horribly rude. Despising the more or less beautiful bodies of others before they have starting to decompose is unhealthy.
It used to be that homosexuality was offensive. Now the tables have turned and being anti-gay is offensive. Can we expect the same thing to happen with nudity? In a few decades, all this research into detecting nudity will seem awfully misplaced, the same as if people now were discussing AI to flag images with two men kissing.
The Republicans could use this to censor the Internet. This is horrible.
Having worked in image processing and having made extensive use of the "standard" USC images including Lenna, I can assure you that the Lenna image was cropped at the shoulder. The Wikipedia article shows the image as encoded as an uncompressed 512x512 image.
USC errored in the image name, naming it "Lenna" when the model was correctly identified in the Playboy issue as "Lena Soderberg".
Kevin Oberman, Network Engineer, Retired
and other assorted imported religious insanity.
But what is this "Nude" you speak of?
Sex based: guy in a bottoms only swim suit vs a topless woman?
Country based: French nude beach vs USA prudes?
Era based: Someone from the 1920's looking at a 2015 bikini?
Age based: Young child (often completely nude in some countries is okay) vs post puberty (often requires hiding genitals and nipples on females in some countries)?
Religious based: Whoa! Some religions are very conservative and others require nude dancing around the May pole...
Seasonal: Have you ever tried being nude in a northern Vermont or Siberian winter!?! Don't even think about showing the tip of your nose!
Take the skin color from the nose and then see what parts of the body are skin colored in the photo. If there is lot of skin color shout NUDE!
So my collection of clown porn is still safely undetectable?
I don't care if it's 90,000 hectares. That lake was not my doing.
Can't help but notice the headline "AI finding nudity" aligned with the one below it, about AI's getting Testy...
Hmm.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
if you are a monk, prob the first works for you. Fapper? The second.
The Islamic State would tune the algorithm so that every picture that contains skin color pixels would be considered porn, I guess.
I mean if they manage to maintain an Internet connection state wide.
I understand classifying as nude or safe, or whatnot, but rude ? Since when is nudity rude ?
C. Sagan : A demon haunted world:
http://www.amazon.com/gp/product/0345409469/
visit randi.org
This was what OpenCV was originally created for, wasn't it? To crawl the net so geeks don't have to.
Looking for too much skin color is a bad way to test for nudes.
You don't get to nudity untill you start seeing colors that are not the skin color.
To classify this image as nude is to completely disregard the feathered hat.
The usual image processing image of Lena is cropped below the shoulders, including the sample that's in TFA. The uncropped image of Lena has lots of exposed skin including NSFW parts, but it sure sounds like this software is going in the direction of a digital hijab if an exposed shoulder is considered nudity.
I suppose a burka would foil the algorithm, as they usually cover even the nose.
FTFA, "ascetically pleasing"... hehehe
I don't think that word means what you think it means. :)
ascetic: A person who renounces material comforts and leads a life of austere self-discipline, especially as an act of religious devotion.
Although, I guess nudity would be the highest form asceticism...
"Helping to keep you two steps ahead of the Thought Police!"
I tried an image of Karen Gillan in a bikini, and it got rated R Nude.
Then I tried one of Lily Cole, a full frontal nude. Detected as G - Not nude.
How about purple porn?
Too bad if you have sunburn just on your nose. Properly doesn’t happen in the porn industry.
But doesn't work with photos of sheep before and after shearing. Both are not nude according to the site.
I'm glad that AI has learned to spot tits. I'm sure this will only be used for moral purposes, like enforcing our ban on nipples that are on a chick (biological or trans), or a dude who has chick breasts (as in to win a bet). Everyone knows that nipples rot the minds of children, which in why they cannot speak until after weaning. It's science!
It is my fondest hope that our robot overlords appreciate a nice rack. That will make the slaving in the rare earth mines a little more tolerable, at least.
It's breed specific: http://www.darnknitanyway.com/... is nudity, but both "before" and "after" of http://neath.fyinetwork.co.uk/... are not nude.
I thought porn was what it was built for. I mean besides an advertising platform for Google.
-- I ignore anonymous replies to my comments and postings.
My women-who-paint-their-noses-blue fetish will remain undetected!
Score: -1 Missed Opportunity For Clown Porn Joke
Now they've got computer to take away our skin pics. Pretty soon we'll be back to flashlights under a blanket!
and determines that... OMG! He's naked under there!!
*Under where?*
From what I'm trying, men in wifebeaters and women in chainmail
Will we soon have to cope with botnets that hack peoples webcams, then sell access to screens full of cam streams with nudes? Even public traffic-cams probably pick up some nudes if a large number of cams are used. Considering that nothing else seems secure, it's doubtful that those are either. Will we later have driverless trucks with cams watching what's going on in cars nearby? Streetview 2.0
Maybe there will be some malware that randomly replaces noses with a breast or male body part.
If there's one thing I'd rather do myself than to delegate to an AI, it would be nude detection.
Have gnu, will travel.
I hope it's not an XOR because that wouldn't compute. In fact Rude is strongly correlated with Good as far as nudity is concerned.
Was this filter developed with IS in mind? She's even wearing a hat ffs.
Just the other day, facebook shut down the account of a swedish art museum for posting images by Anders Zorn, an early 1900's artist (wikipedia's description: "Zorn was a prolific artist. He became an international success as one of the most acclaimed portrait painters of his era. His sitters included three American Presidents, nobility, the Swedish king and queen and numerous members of high society."). You can scroll down a bit on the wikipedia page to see examples of images that were considered so "rude" that they led to the banning of a government-funded art institute.
My assumption is that this was done by a bot rather than a real person, probably based by a similar technology as in the OP, because I can't believe even facebook censors are that stupid. So yeah, while it's an interesting piece of technology from a purely scientific perspective, it's also pretty daft to put it in charge of decisions.
the most effective way to do this would be to crowdsource it. :)
A women in a bikini - acceptable for all but the most puritanical of people - will have a lot of skin. A woman flashing her top will have a lot less skin than that.
The algorithm seems to do some stuff with "curves" - whether this looks for breasts or just female body shape is something I'll have to play with when I'm not at work.
So when can we expect the first beta version of Windows Puritanity version 0.9?
Is there nothing the British will stop at when it comes to censoring the Internet?
Like the U.S., they have this stick firmly lodged up their ass about sex and nudity.
Most posters here seem focused on the moral / policy implications. But this is actually an interesting problem. Humans can detect nudes quite readily. Computers can't. Humans are also better all sorts of related image processing problems -- kids about to run into roads, lost hikers, face recognition.
Nude detection seems like a tractable first step to the other problems. As a bonus, you get to stare at an endlessly varying set of nude photos at work. The only downside is that not all nude photos (or thongs or sheer dresses) are aesthetically pleasing.
The researchers (er, AI) is now happily reviewing all the edge cases fed in by the Slashdot crowd.
To not mention all the pony/furry porn.
To not mention all the pony/furry porn.
I told you to not mention all the pony/furry porn!
Copyright Spike Milligan.
To have a right to do a thing is not at all the same as to be right in doing it
The program/algorithm doesn't work. It labels women in bikinis as nude even though they're not. Tested with 4 bikini pictures (for research purposes) and it got them all wrong.
Eww that's so deprived and disgusting but what you expect with this administration The Libtards are at it again
Sounds like this is just a scam for getting free amateur porn.