Welcome to WebmasterWorld Guest from

Forum Moderators: rogerd

Message Too Old, No Replies

Automatic Image Recognition (Pornography)

Is there any scripts out there that will scan an image for 'flesh tones'?

5:00 pm on Oct 13, 2006 (gmt 0)

New User

10+ Year Member

joined:Apr 10, 2005
votes: 0

I am running a small social networking site. One of our features, as most have, is the ability to upload images. The site is growing rapidly, and I find it impossible to moderate and enforce the terms of service, the most important term being 'no pornography'.

Are there any basic scripts that can examine a JPEG or GIF and report a percentage of chance that the given image is pornographic? I could then use this to generate a check list that moderators or myself would examine by hand.

6:25 pm on Oct 13, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 25, 2005
votes: 0


might be of use.

8:56 pm on Oct 13, 2006 (gmt 0)


WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
votes: 0

Interesting thought, delphian, but wouldn't a picture of a face, for example, have a large portion of the image in the flesh tone range?

Flesh tones tend to vary, too, of course.

1:41 am on Oct 14, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Aug 16, 2005
posts: 240
votes: 0

Maybe you can stave off pornography uploads by threatening to ban users who do?
3:33 pm on Oct 16, 2006 (gmt 0)

Full Member

10+ Year Member

joined:July 8, 2005
votes: 4

The way that I have tackled this problem has been to implement a small 'flag this page' feature on each page. When clicked, it opens up a simple little dialog box that enables viewers to type a reason why they think the page is offensive and then send that to the site admin (me). This is similar to the way in which blogger.com works.

Whenever I get one of these emails, I check out the page and either mask it from public view or, if it contains pornography, just delete the entire account.

This seems to work really well and I only actually get about 3-4 flags a week (from thousands of users on the site). I think once people realised that porn got deleted immediately, they stopped trying!


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members