A device includes a projector to project an image onto a surface. The device also includes a camera to capture a picture of the image, while it is being projected onto the surface, and a portion of an area surrounding the projected image. The device identifies a lightest portion in the projected image. The device adjusts a setting of the projector based on a comparison of an intensity of the identified lightest portion to an intensity of the portion of the area surrounding the projected image.