tags:

views:

141

answers:

3

C# - How do filter pornography in a video/picture - Is there library I can use commerical or open source is OK. I am totally lost - thanks

A: 

This is another pattern recognition problem for a Turing test. If you manage to solve it, publish your findings because there will likely be a sizable grant available for you.

Problems you will encounter:

What is porn?
How is porn recognized in a video?
A picture?

Joel Etherton
This is a comment, not an answer.
Andy_Vulhop
If only I'd thought of that when I was in university. Yes, I need a large porn library and I'm going to spend the next 4 months trying to teach my computer to find breasts...
Kendrick
@Andy_Vulhop - it could be argued that this is not really a question. Especially since it has been asked in varying forms so many times.
Joel Etherton
Don't forget the additional point - does the definition of porn change depending on who sits in front of the monitor?
Timo Geusch
@Timo Geusch - my additional points weren't there when he made his comment I don't think. I was adding them in an edit while he was commenting I believe.
Joel Etherton
@Joel Etherton: He did ask a real question. He just didn't know it was virtually impossible without some seriously heavy duty research.
Andy_Vulhop
@Andy_Vulhop - it doesn't take much research to determine that currently this is virtually impossible.
Joel Etherton
A: 

See, Porn Detection is not a very easy.

But there is surely a range of color that identifies the human skin. And you need to make a threshold of the color to identify the picture as porn. Say you take it as 70 %, so you go through all the pixel on the current screen and determine whether 70% of the pixels comes within the range of human skin color.

There is already few algorithm prepared for Face detection like :

http://www.codeproject.com/KB/cs/Face_Detection_processing.aspx

I hope this would help you to find a way on your point.

abhishek
..waiting for fat-people showing some extra surface-area to be labelled as porn with this algorithm
STW
..and wouldn't this be racial?
STW
Really that should also be taken into consideration...
abhishek
+1  A: 

If it is not a real-time, you could use Amazon's Mechanical Turk to do the work. You'll have to pay the workforce, but it's a very cheap way to get menial jobs like this done.

Marc Bernier