Patent ID: 8064683

Claim:
A system comprising: an image-capturing device for capturing an image and converting the captured image into a binary image; an image analyzer for receiving the binary image and analyzing the binary image by comparing the binary image with a reference binary image stored in a memory to generate a control signal, wherein comparing the binary image with the reference binary image comprises: selecting a portion of the binary image based on a reference portion of the reference binary image, wherein the portion comprises a plurality of pixels, each pixel having a pixel value; determining a portion value of the selected portion, wherein the portion value being an average of the pixel value of the plurality of pixels within the portion; and comparing the portion value with a reference portion value of the reference portion; and a controller coupled to the image analyzer for receiving the control signal and processing the same, wherein the image-capturing device comprises a motion mechanism responsive to a feedback signal provided by the controller for controlling movement of the image-capturing device.