1. An image forming apparatus, comprising: a latent image carrier that moves in a first direction; an exposure head that includes a light emitting element and an imaging optical system row which is arranged in the first direction and which is made up of imaging optical systems which are arranged in a second direction different from the first direction and image light emitted from the light emitting element on the latent image carrier; a developing unit that develops a latent image formed on the latent image carrier by the exposure head; and two detectors that detect an image obtained by developing a latent image by the developing unit, the latent image being formed using the same imaging optical system row.