Live data from Hacker News

What is the best way to programatically detect porn images? (2009)

stackoverflow.com

71–80 of 110 posts

Re: What is the best way to programatically detect porn images? (2009)

#71
post #13

This is probably going to get downvoted, but if lots of people are not overzealous puritans and want some skin, the best overall system design that maximizes happiness and profit is probably sharding into puritanweirdos.example.com with no skin showing between toes and top of turtleneck (edited to add no pokies either) and normalpeople.example.com with 99% of the human race The best solution to a problem involving co…

Harassment laws/lawyers would find you their wet dream. The rule with pictures in any work environment is to err on the side of extreme caution. More than likely your not going to find out they don't mesh with the team till they quit or are fired. If your lucky its not followed by a lawsuit. See, its not their job to not be offended, it is your job to offer a harassment free work environment. Whom you are catering to…

But I haven't seen many actual case law writeups published by proper legal authorities that proves a lot of this over zealous activity by HR actually saves the company anything.

I would bet a case of Moet that most of the Hyperbolic HR warnings over this stuff actuality have no reasonable chance of ever causing a loss.

Re: What is the best way to programatically detect porn images? (2009)

#72

Earlier quoted context omitted.

Porn detection still has its uses and you're making the mistake of saying that only puritans are interested in porn detection. For example if you've got children, given your stance on the matter, you may not necessarily agree that a filter is necessary, but how about being alerted when your children are viewing obscene content? How about being alerted when your children are engaging in sexting? When it comes to child…

children do get the wrong ideas about what they see and sometimes it happens with adults too, with porn being the main reason why men think they need big penises to satisfy women Is it porn that gives them the wrong idea, or is it because porn is the only concept of sex that they get exposed to? But I would find useful a system that alerts me when my child gets exposed to porn, such that I can take appropriate measur…

> Is it porn that gives them the wrong idea, or is it because porn is the only concept of sex that they get exposed to?

My wife works at a kindergarten and she has first hand experience with 4-year olds being exposed to porn and the effects really aren't nice.

What do you propose actually? Live demos or experiments under adult supervision?

> Why wouldn't you have fatherly talks about sex regardless of exposure to porn?

Because there is no proper way to bring up people having sex with horses and dogs into a conversation with a child, let alone that the act of making love doesn't necessarily involve slapping a woman and forcefully shoving your dick inside her mouth, as not all women like that.

You either missed my point or you don't have children of your own, but really, I'd love to get your idea of a conversation with a six year old.

> Playing any sound is disrespectful to your colleagues, by breaking their concentration. The pornographic part is irrelevant

Are you seriously implying that all sounds are created equal, especially given that some people end up behaving like children when hearing sounds related to sex?

Do you also fart in elevators? When it's hot outside, do you also come butt-naked at your office? When you get horny, do you make announcements?

Re: What is the best way to programatically detect porn images? (2009)

#74

Earlier quoted context omitted.

Harassment laws/lawyers would find you their wet dream. The rule with pictures in any work environment is to err on the side of extreme caution. More than likely your not going to find out they don't mesh with the team till they quit or are fired. If your lucky its not followed by a lawsuit. See, its not their job to not be offended, it is your job to offer a harassment free work environment. Whom you are catering to…

But I haven't seen many actual case law writeups published by proper legal authorities that proves a lot of this over zealous activity by HR actually saves the company anything. I would bet a case of Moet that most of the Hyperbolic HR warnings over this stuff actuality have no reasonable chance of ever causing a loss.

Oh dear looks like I pissed off the Puritan nutters or we have shudder induhviduals from human remains reading HN.

I will say it again in my experience I have yet to see a credible case written up in reputable legal publications that detail any cases where a pron filter or the lack off one made any difference to a case.

Any one care to post a link to prove me wrong rather than than moding me down?

Re: What is the best way to programatically detect porn images? (2009)

#75
Pornography is so creative that I find it hard to have one algorithm that can detect it all. Looking for features certainly wouldn't catch the more weird stuff.

Maybe a good approach is an image lookup, trying to find the image on the web and seeing if it appears on a porn site, or a pornographic context.

Re: What is the best way to programatically detect porn images? (2009)

#76

Earlier quoted context omitted.

children do get the wrong ideas about what they see and sometimes it happens with adults too, with porn being the main reason why men think they need big penises to satisfy women Is it porn that gives them the wrong idea, or is it because porn is the only concept of sex that they get exposed to? But I would find useful a system that alerts me when my child gets exposed to porn, such that I can take appropriate measur…

> Is it porn that gives them the wrong idea, or is it because porn is the only concept of sex that they get exposed to? My wife works at a kindergarten and she has first hand experience with 4-year olds being exposed to porn and the effects really aren't nice. What do you propose actually? Live demos or experiments under adult supervision? > Why wouldn't you have fatherly talks about sex regardless of exposure to por…

Well, I was certainly not thinking about 4 and 6 year olds; in general, I don't see how would they get exposition to porn, unless they were left unattended in front of a web-connected device, and in that case porn wouldn't be my main concern (as difficult as it sounds, I'd rather explain bestiality than suicide bombings). Sorry for the misunderstanding.

I was thinking more about 8-10 year olds, to whom there's plenty of ways to introduce the concept of sex, not only through conversation but also vetted media (e.g. books, films).

I don't have kids, no, but was involved in the education of my (much) younger brother, and so in a privileged position to discuss this with him (compared to his parents), and he has grown up knowing about sex way before discovering porn.

Are you seriously implying that all sounds are created equal, especially given that some people end up behaving like children when hearing sounds related to sex?

I'm implying that a porn filter wouldn't solve the real problem. As for people behaving like children when hearing sounds related to sex, I have to say I don't know any above 20 years old.

Do you also fart in elevators? When it's hot outside, do you also come butt-naked at your office? When you get horny, do you make announcements?

No. I also try not to make silly comparisons on online discussions.

Re: What is the best way to programatically detect porn images? (2009)

#77
post #9
post #8

Earlier quoted context omitted.

So i can literally get paid for looking at porn. Huh, who knew... :)

At the cost of your mental health, sure. I recall reading an article about the human workers who had this job at Google... they had crap benefits, crap pay, and no mental healthcare. As a result a lot of the people in the field had depression and other mental issues.

This quora answer describes one such person in the industry watching porn all day and writing most enticing copy for it.

http://qr.ae/NSSa0

Re: What is the best way to programatically detect porn images? (2009)

#78

Here's an idea... Develop a bot to trawl NSFW sites and hash each image (combined with the 'skin detecting' algorithms detailed previously). Then compare the user uploaded image hash with those in the NSFW database. This technique relies on the assumption that NSFW images that are spammed onto social media sites will use images that already exist on NSFW sites (or are very similar to). Then it simply becomes a case o…

Is it possible to hash an image so that you can partially match it with subsets of that image (like cropped regions or resizes)? Or a slight modification of that image (colors shifted, image flipped, etc).

Re: What is the best way to programatically detect porn images? (2009)

#79
post #47

I did this for my bachelor thesis for a company that shall remain unnamed. I am pretty confident that my approach works better than any of the answer posted on stackoverflow. I used the so called Bag of Visual Words approach. At that time the state of the art in image recognition (now it's neural networks). You can read about on Wikipeida. The only main change from the standard approach (SHIFT + k-means + histograms…

SHIFT or SIFT? What's SHIFT?
Post reply on HN