The inventors have recognized that existing line scan cameras have disadvantages in capturing an image. For example, an object to be measured passes through the detection area of the line scan camera at a non-uniform speed, while the line scan camera always captures images of the object with a fixed line frequency. This causes the images captured by the line scan camera being stretched or compressed and thereby deformed, which severely affects the utility of the images.
An objective of the embodiments of the present application is to provide a method and device for controlling image capturing and a system for acquiring an image of a chassis of a vehicle, to eliminate the deformation of an image captured by a line scan camera due to being stretched or compressed.
In order to achieve the above objective, an embodiment of the present application provides a method for controlling image capturing, including:
measuring a speed of an object;
determining line frequency for image capturing according to the speed of the object; and
controlling a line scan camera to perform image capturing on the object with the line frequency.
Optionally, the step of measuring the speed of the object includes:
capturing, by an image capturing module, images of the object in motion continuously, and
calculating the number of pixels VP that the object travels across per unit time on an imaging plane of the image capturing module by using the continuously captured images;
and wherein the step of determining the line frequency for image capturing according to the speed of the object includes: