The invention relates to the technical field of touch pad
handwriting positioning, and discloses a method for positioning a
handwriting position based on a computer touch pad, and the method comprises the steps: S1, collecting related contact parameters of the touch pad in real time through a first
pressure sensor, and dynamically switching a cursor
control mode and a
handwriting positioning mode; parameters such as
contact duration, pressure values and click times are collected in real time through a
pressure sensor matrix, cursor control and handwriting positioning
modes are dynamically switched, a
coordinate mapping model of the
touchpad and a screen is established by adopting the least square dynamic calibration parameters, a handwriting starting point is accurately positioned in combination with a mean filtering
algorithm, and in the handwriting fitting stage, the handwriting matching precision is improved. The number of Bezier curve control points is determined through curvature and speed calculation, track point coordinates are collected through a
pressure sensor matrix, smooth handwriting is constructed, full-
process control over handwriting input of the touch pad is achieved, and the method has the advantages of being intelligent in
mode switching, high in positioning precision, natural and smooth in handwriting and the like.