1. A method for image pattern recognition for detecting a target object in an image stream comprising: temporarily storing a group of scan lines in the image stream; transforming image pixels in the scan lines to a space in which the target object is detected, including transforming into a color space in which the target object is detected; detecting a candidate pattern in the space of the transformed pixels; analyzing the candidate pattern to determine whether the candidate pattern satisfies predetermined criteria associated with the target object being sought; and controlling use of the image stream based on a result of analyzing the candidate patterns.