Pixel analysis to a corpus of pre-defined color data. For every pixel that matches in the pre-defined corpus a counter is increased. After counter reaches a certain goal, the loop will break ensuring to a certain percent you have found a specific image.