Image scanning synchronous method and device, ATM and memory medium

A technology of image scanning and to-be-scanned, which is applied in the field of image scanning and can solve problems such as the inability to realize synchronous collection of image data information

Active Publication Date: 2017-11-24
SHENZHEN YIHUA COMP +2
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in many cases, due to the limitation of the design structure of the equipment or the design cost considerations based on the product, no ...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image scanning synchronous method and device, ATM and memory medium
  • Image scanning synchronous method and device, ATM and memory medium
  • Image scanning synchronous method and device, ATM and memory medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flow chart of an image scanning synchronization method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of realizing synchronous collection of data information of a contact image sensor in an embedded control device. This method can be implemented by the embodiment of the present invention. The synchronization device provided for image scanning can be implemented by means of software and / or hardware, and can generally be integrated in the ATM. like figure 1 As shown, the method of this embodiment specifically includes:

[0029] S110, start the first thread.

[0030] Two threads are created when designing software, wherein the first thread is used to drive the motor in the embedded control device to run, and the second thread is used to drive the image processor in the embedded control device to scan images.

[0031] S120 , judging whether any driving cycle has been reached, if yes, execute S130 ; otherwise,...

Embodiment 2

[0041] On the basis of the above embodiments, before starting the first thread, the image scanning synchronization method further includes: pre-creating a counting semaphore, and setting the second thread to block on an invalid value of the counting semaphore .

[0042] Controlling the start of the second thread through the first thread specifically includes: setting the count semaphore to a valid value through the first thread, so as to control the start of the second thread.

[0043] Terminating the own thread through the second thread includes specifically: setting the count semaphore to an invalid value through the second thread, so as to end the own thread.

[0044] figure 2 It is a flow chart of an image scanning synchronization method provided in Embodiment 2 of the present invention, as shown in figure 2 As shown, the method of this embodiment specifically includes:

[0045] S210. Create a counting semaphore in advance, and set the second thread to block on an inv...

Embodiment 3

[0060] On the basis of the above embodiments, after starting the first thread, the method for synchronizing image scanning further includes:

[0061] Obtain an acceleration table through the first thread;

[0062] And during the acceleration movement of the motor through the first thread, the driving period is set according to the content in the accelerometer, and during the uniform movement of the motor, the driving period is set using a fixed constant.

[0063] image 3 It is a flow chart of an image scanning synchronization method provided in Embodiment 3 of the present invention, as shown in image 3 As shown, the method of this embodiment specifically includes:

[0064] S310. Create a counting semaphore in advance, and set the second thread to block on an invalid value of the counting semaphore.

[0065] S320. Start the first thread.

[0066] S330. Obtain an accelerometer through the first thread; and set the driving cycle according to the content in the accelerometer...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an image scanning synchronous method and device, an ATM and a memory medium. The method comprises the steps of starting a first thread; when any one drive period arrives, performing the following operation of outputting a drive pulse signal to a motor driver through the first thread, wherein the drive pulse signal is used for controlling the motor driver to drive a motor to operate, and the motor is used for driving a transmission device to operate; if it is determined that a synchronous scanning condition of to-be-scanned target objects is satisfied through the first thread, controlling a second thread to be started, wherein the to-be-scanned target objects are located on the transmission device; and driving an image sensor to scan the to-be-scanned target objects through the second thread, and finishing own thread after the scanning is finished. According to the method, the image scanning synchronous processing is realized, and effective image data collection information can be obtained.

Description

technical field [0001] Embodiments of the present invention relate to image scanning technology, and in particular to an image scanning synchronization method, device, ATM and storage medium. Background technique [0002] In various embedded control devices, when the device needs to collect image data information of objects passing through its image sensor, for example, when collecting image data information of some paper or cards and other certificates, it is necessary to Line scanning is processed synchronously to obtain effective line image data information. [0003] At present, in order to solve the above-mentioned problems, the synchronous processing of the image line scanning is usually realized by installing an encoder in the circuit of the embedded control device. However, in many cases, due to the limitation of the design structure of the device or the consideration of the design cost of the product, the embedded control device is not equipped with an encoder, whic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N1/00H04N1/04
CPCH04N1/00689H04N1/04
Inventor 张槐吕响红王秋雨
Owner SHENZHEN YIHUA COMP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products