1. A device for communication, comprising: an optical sensor to capture an image; and a processor to identify or select a class of data in the image and to perform a predetermined function in response to the class of data.