Charge Coupled Device (CCD) is the hardware which captures the image in scanners and digital cameras.