Patent attributes
To reduce increased consumption of the recording capacity of a recording medium to record generated image data, an imaging device includes an imaging element and an image processor that receive subject light through an opening in a housing and generate image data, a recording controller that records the image data generated by the imaging processor onto a memory card, a lens cover movable to a position at which the lens cover covers the opening to restrict the subject light from entering the imaging element, and a determiner that detects a position of the lens cover based on the image data generated by the imaging processor and determines whether the lens cover covers the opening. The recording controller stops recording the image data onto the memory card when the determiner determines that the lens cover covers the opening.