In the embodiment of the present application, the speed of the object is measured, the line frequency of the image capturing is determined according to the speed of the object, and capturing an image of the object with the determined line frequency. The line frequency of the line scan camera can thus match the speed of the object, which can effectively eliminate deformation of images of the object captured by a line scan camera, which would otherwise occur due to stretch or compression, and thereby improve the utility of these images.
The machine-readable storage medium 1102 may include a RAM (Random Access Memory), and may also include an NVM (Non-Volatile Memory), such as at least one magnetic storage disk. Additionally, the machine-readable storage medium 1102 can also be at least one storage device located remotely from the aforementioned processor.
The processor 1101 may be a general-purpose processor, including a CPU (Central Processing Unit), an NP (Network Processor), or the like; or a DSP (Digital Signal Processing) or an ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
Based on the same inventive concept, an embodiment of the present application further provides a machine-readable storage medium having stored thereon machine executable instructions which, when called and executed by a processor, cause the processor to carry out the method for controlling image capturing including:
measuring the speed of an object;
determining the line frequency for image capturing according to the speed of the object; and