1. A system comprising: a stack of layers configured to display an image; and multiple elements included in the stack of layers, wherein each of the multiple elements is configured to sense light, wherein the system is configured to obtain a first reference image based on output from the multiple elements in a dark lighting condition associated with the system, and calibrate object detection based on output from the multiple elements using the obtained reference image.