'' There are many structural similarities between a camera and the human eye." Eg: compare the lens cap from the camera to the eyelids of human. The iris limits the amounts of light from entering our eyes. For cameras, the iris is represented using a device name the diaphragm. It's made of many opaque circles, which are placed in a circle. The circle can be moved to let the central hole increase larger or decrease smaller. When light transparent through the lens and forms an inverted image in both human eye and the camera.
Yet, not all the functions in the camera work in the same way as the human eye. Eg: Controlling the distance between the lens & the detector does the focussing in the camera. For human eyes, the lens changes shape instead moving closer to the retina.
A detector called a charge-coupled device (CCD) is at the back of the camera. It absorbs light, then produce the electrical signals needed to make a digital image. The CCD also has many regions called pixels, they record a tiny part of a whole image. The pixels relates to the rods and cones cells, which detect light in our eyes. ( the picture provide a comparison of the camera and the human eye. )