in reply to analyze image for color
The POESIA project could be of interest
also Detecting poronographic images.