Hm. I know there are commercial products out there that do this, but the idea has always seemed pretty impossible to me.

Not so much the technical aspect of detecting a large proportion of skin-tone in a given image--though a close up of the back of someones hand would surely be flagged; but could anyone be offended by it?

The real problem comes in identifying what is likely to offend the whole gamut of possible offendees.

Take the recent story of the Aussie Banker seen on live TV with "nude pictures" of a model on his screen. The girl is a model and spends much of her career being photographed scantily clad. Do an image search of her and you'll find it nigh impossible to find a photo of her fully clothed. Religious prohibitions aside, is it really so shocking? Offensive?

A freind of mine has a large photo of her (then) early 20s daughter hanging on her living room wall. In the photo the daughter is entirely naked, and very heavily pregnant. Strategically placed arm and thigh prevent anything more than might show in a bikini being visible. The oblique lighting and a high contrast black and white print emphasis the motherly curves and make for a very beautiful and completely tastful photo. But I can easily imagine that the same persons offended by the model above would find it offensive.

She also had the same photo as a screen saver on her laptop. She's a very proud mother and grandmother. But your "skin tones" test would likely completely fail to pick it up.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

In reply to Re: analyze image for color by BrowserUk
in thread analyze image for color by fionbarr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.