A method for recognizing the movement direction of a touch screen touch track
A technology of touch track and motion direction, which is applied in the input/output process of data processing, instruments, electrical digital data processing, etc. It can solve the problems of touch screen touch accuracy reduction and easy rollback, etc., to achieve reasonable design and small amount of calculation , easy-to-achieve effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] This embodiment provides a flow chart of a method for identifying the movement direction of a touch track on a touch screen, as figure 1 As shown, it includes the following steps:
[0035] S1 collects multiple frames of scan data of the touch screen, and outputs touch trajectories according to the collected multiple frames of scan data. The touch points on a touch trajectory are separated by a preset distance L 0 The touch points are selected and the coordinates of the selected touch points are stored in the buffer in a stack in a sequence. The preset separation distance L 0 The value is 2mm≤L 0 ≤4mm, the factors affecting the infrared light density of the infrared touch screen include the lamp distance between each infrared emitting tube and the infrared receiving tube, the scanning method of infrared light, product grade, product accuracy, etc. The above factors are technology in the art Factors that affect the intensity of infrared light well known to persons. In this...
Embodiment 2
[0051] As a preferred embodiment, this embodiment provides a flow chart of a method for recognizing the movement direction of a touch track on a touch screen as follows: figure 1 As shown, it includes the following steps:
[0052] S1: Collect multi-frame scan data of the touch screen, and output a touch trajectory according to the collected multi-frame scan data. The touch points on a touch trajectory are separated by a preset distance L 0 The touch points are selected and the coordinates of the selected touch points are stored in the buffer in a stack in a sequence. Among them, the preset interval distance L 0 It is 3mm.
[0053] S2: When the number of touch points stored in the buffer is equal to 50, scan the collected point A(X) for the current frame on the touch track A ,Y A ), calculate the point A(X A ,Y A ) And the point B (X B ,Y B ) Displacement vector
[0054] S3: Find the point C(X C , Y C ), calculate the point B(X B ,Y B ) And the point C(X C , Y C ) Displacement vect...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
