An imaging apparatus configured to capture an image of an object to be detected is provided. The imaging apparatus includes an imaging unit, a lens, and a front cover. The lens is located on the imaging unit and has a first optical axis. The front cover is rotatably connected to the lens. Relative locations of the front cover and the object are fixed by the leaning-against of the front cover. The lens is rotated with respect to the front cover, so that the first optical axis is rotated with respect to the object.