Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Line trajectory prediction method and terminal

A trajectory prediction, line technology, applied in the direction of instrument, electrical digital data processing, data processing input/output process, etc., can solve problems such as delay, achieve the effect of eliminating delay and solving delay problem

Pending Publication Date: 2022-01-25
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a line trajectory prediction method and terminal to solve the existing delay problem in the line drawing process

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
  • Line trajectory prediction method and terminal
  • Line trajectory prediction method and terminal
  • Line trajectory prediction method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] Please refer to figure 1 , Embodiment 1 of the present invention is:

[0096] A line trajectory prediction method, specifically comprising:

[0097] S1. Obtain points on the currently displayed line segment as collection points to generate a collection point set, and project the coordinates of the collection points onto the abscissa;

[0098] Among them, the points on the currently displayed line segment are obtained as the collection points to generate the collection point set as follows:

[0099] S11. Presetting the sliding window, obtaining all points on the current display line segment passed by the sliding window as historical points, and judging whether the number of historical points exceeds a threshold, and if so, execute S12;

[0100] Specifically, a sliding window W is set, the value of W |W|=7, a counter Count is set to calculate the number of historical points, every time a new point is added in the sliding window, the value of the Count is +1, and the val...

Embodiment 2

[0123] Please refer to image 3 , the second embodiment of the present invention is:

[0124] A line trajectory prediction method, which differs from Embodiment 1 in that:

[0125] The S2 is specifically:

[0126] Obtaining the last collection point and the penultimate collection point in the sorted collection point set, subtracting the abscissa of the last collection point from the abscissa of the penultimate collection point, Get the direction of acceleration;

[0127] For example, the set of collection points is {p0(x0,y0), p1(x1,y1), p2(x2,y2), p3(x3,y3), p4(x4,y4), p5(x5,y5), p6( x6,y6)}, calculate Δx=x6-x5, if the Δx>0, then the incremental direction is positive, that is, the acceleration direction is the positive direction of the abscissa; if Δx<0, then the incremental direction is negative, that is The acceleration direction is the negative direction of the abscissa;

[0128] Obtain the refresh frequency of the whiteboard and the interval between every two collect...

Embodiment 3

[0156] Please refer to figure 2 , Embodiment three of the present invention is:

[0157] A line trajectory prediction terminal 1, the terminal 1 includes a processor 2, a memory 3, and a computer program stored on the memory 3 and operable on the processor 2, when the processor 2 executes the computer program Each step in Embodiment 1 or Embodiment 2 is realized.

[0158] To sum up, the present invention provides a line trajectory prediction method and terminal. By setting a sliding window, the collection points in the sliding window are projected onto the abscissa, and the whiteboard refresh frequency is fixed according to the collection points. The abscissa of the currently displayed line segment is obtained from the acceleration of the currently displayed line segment, and the abscissa of the preset number of predicted points is obtained according to the acceleration, and then the ordinate corresponding to the abscissa of the predicted point is obtained by fitting the cur...

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 invention discloses a line trajectory prediction method and a terminal, and the method comprises the steps of obtaining points on a current display line segment as collection points to generate a collection point set, and projecting the coordinates of the collection points to abscissas; calculating the acceleration of the current display line segment according to the abscissa and the scanning frequency of the whiteboard; calculating abscissas of a first preset number of prediction points according to the acceleration; fitting to obtain vertical coordinates corresponding to the first preset number of prediction points according to the horizontal coordinates of the first preset number of prediction points and the coordinates of the collection points; generating a prediction track according to the horizontal coordinates and the vertical coordinates of the first preset number of prediction points; utilizing the characteristic that the whiteboard refresh frequency is fixed, calculating the acceleration of a current display line segment, determining the horizontal and vertical coordinates of a prediction point according to the acceleration, forming a prediction track according to the horizontal and vertical coordinates of the prediction point, so that the problem of line segment display delay during whiteboard writing is visually eliminated.

Description

technical field [0001] The invention relates to the field of trajectory prediction, in particular to a line trajectory prediction method and a terminal. Background technique [0002] With the development of various mobile terminals, that is, the country's increased investment in the education industry, new types of educational equipment are emerging frequently. One of the multimedia interactive electronic whiteboards uses infrared multi-scanning technology. Block the rays emitted by the infrared ray tube around the whiteboard. During the movement of the touch points, the infrared rays scan the coordinate information on the whiteboard every 16 milliseconds. The touch screen hardware of the whiteboard transmits the collected point coordinate information to the background program. The program connects the coordinate points into lines and stores them. Whenever new coordinate points are received, they are connected with the previous lines and stored in memory to generate lines on...

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): G06F3/041G06F3/042
CPCG06F3/0418G06F3/0421
Inventor 刘德建陈辉迟长燕武功成郭玉湖陈宏
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products