CN107643840B - Automatic handwriting pen character recognition method and system based on inertial device - Google Patents
Automatic handwriting pen character recognition method and system based on inertial device Download PDFInfo
- Publication number
- CN107643840B CN107643840B CN201710859235.XA CN201710859235A CN107643840B CN 107643840 B CN107643840 B CN 107643840B CN 201710859235 A CN201710859235 A CN 201710859235A CN 107643840 B CN107643840 B CN 107643840B
- Authority
- CN
- China
- Prior art keywords
- relative
- pen
- handwriting pen
- handwriting
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Position Input By Displaying (AREA)
- Character Discrimination (AREA)
Abstract
The invention relates to an automatic handwriting pen character recognition method based on an inertial device. The invention also provides a handwriting pen character automatic identification method based on an inertial device, which comprises the following steps: the stylus pen, its characterized in that still includes: a Chinese character database; a control unit; an inertial sensing device and a vibration sensor mounted on the stylus. The invention designs a handwriting pen character automatic identification method and system based on an inertial sensor, which can enable a user to input characters in the air and on a desktop without using a handwriting board at any position.
Description
Technical Field
The invention relates to a method and a system for recognizing characters input by a stylus pen.
Background
Current computer handwriting pens use voltage or capacitive pads to identify the handwriting pen. When the handwriting pen is used for inputting characters, a user needs to input on a matched handwriting board and can be identified by a computer. For example, the utility model patent with publication number CN206497439U and publication number 20170915 discloses a handwritten Chinese character rapid recognition and input instrument, which comprises an instrument body, a multifunctional switch and a built-in circuit, the device body is provided with a touch display screen, an instrument body, a light sensor, a multifunctional switch, an indicator light, a pen slot, a buzzer, a power supply hole, a writing pen, a fixed column, a power-on plate, a switch button, a first contact, a charging connecting wire, a second contact, a metal sheet, a base, a spring and a power supply module, the built-in circuit is provided with an automatic power-off module, a stroke rapid input module, a character intelligent recognition module, a voice module, a display module, a stroke recognition module and a stroke intelligent recombination module, the instrument body is reasonable in design, Chinese strokes can be recognized efficiently, written Chinese characters can be displayed rapidly through the stroke intelligent recombination module, and the written Chinese can be displayed through the stroke intelligent recombination module under the condition that the written strokes are reversed.
Therefore, the existing computer writing pen has the following defects: 1. a handwriting board is required; 2. the writing can not be carried out at random positions; 3. writing in the air cannot be performed.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: so that the stylus can input text at any position.
In order to solve the technical problem, one technical scheme of the invention is to provide an automatic handwriting pen character recognition method based on an inertial device, which is characterized by comprising the following steps of:
step 1, installing an inertia sensing device and a vibration sensor on a stylus pen, wherein the inertia sensing device at least comprises an accelerometer, a fluxgate and a micromechanical sensor;
establishing a Chinese character database, and establishing a mapping relation between each Chinese character and pen point coordinate change data when the current Chinese character is written in the Chinese character database;
step 2, detecting whether the handwriting pen moves relative to the earth surface by the vibration sensor, if so, starting the inertia sensing device, entering step 3, and if not, continuing to wait;
step 3, obtaining the offset of the handwriting pen relative to the gravity line through the average acquisition value of the accelerometer, obtaining the north offset of the handwriting pen relative to the geomagnetism through the average acquisition value of the fluxgate, and obtaining the axial information of the handwriting pen through the offset of the handwriting pen relative to the gravity line and the north offset of the handwriting pen relative to the geomagnetism;
and 4, obtaining integral quantity of the change angular speed of the handwriting pen relative to the axial direction by combining the instantaneous acquisition value of the micro mechanical sensor according to the axial information of the handwriting pen, resolving the relative coordinate of the pen point of the handwriting pen relative to the axial direction through the integral quantity, comparing the calculated change of the relative coordinate with the pen point coordinate change data in the Chinese character database, and obtaining the corresponding Chinese character through a pre-established mapping relation.
Preferably, in the step 4, the change of the relative coordinates is output to the host computer through the human-computer interface, the host computer queries the database to obtain the corresponding Chinese characters, or the Chinese characters are directly output to the host computer through the human-computer interface.
The invention also provides a handwriting pen character automatic identification method based on an inertial device, which comprises the following steps:
the stylus pen for carry out the handwriting input to link to each other with the host computer through man-machine interface, its characterized in that still includes:
the Chinese character database is used for establishing a mapping relation between each Chinese character and pen point coordinate change data when the current Chinese character is written;
a control unit;
an inertial sensing device and a vibration sensor mounted on the stylus, wherein:
the control unit detects whether the handwriting pen moves relative to the surface of the earth through the vibration sensor, and if so, the control unit activates the inertia sensing device;
an inertial sensing device, comprising:
the control unit obtains the offset of the handwriting pen relative to the gravity line through the average acquisition value of the accelerometer;
the control unit obtains the relative geomagnetic north deviation of the handwriting pen through the average acquisition value of the fluxgate, and the control unit obtains the axial information of the handwriting pen by combining the deviation of the handwriting pen relative to the gravity line;
the control unit obtains the integral quantity of the change angular velocity of the stylus relative to the axial direction by combining the axial information of the stylus with the instantaneous acquisition value of the micromechanical sensor, and the control unit calculates the relative coordinate of the pen point of the stylus relative to the axial direction through the integral quantity.
The invention designs a handwriting pen character automatic identification method and system based on an inertial sensor, which can enable a user to input characters in the air and on a desktop without using a handwriting board at any position.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
The invention provides an automatic handwriting pen character recognition method based on an inertial device, which comprises the following steps of:
step 1: an inertia sensing device and a vibration sensor are mounted on the stylus pen.
Step 2: the target starting handwriting input information is obtained through the vibration sensor, when the vibration sensor detects that the handwriting pen moves relative to the earth surface, the inertia sensor is started to start obtaining the gesture information of the handwriting pen, so that an accurate gesture detection starting point is obtained, and detection errors caused by sensor drift errors are avoided.
And step 3: and in the resolving process, acquiring the offset relative to the gravity line through the average acquisition value of the accelerometer, acquiring the north offset relative to the earth magnetism through the average acquisition value of the fluxgate (non-motion sensor), and acquiring the axial information of the stylus through the two variables.
And 4, step 4: according to the axial information of the handwriting pen calculated in the previous step, the integral quantity of the change angular velocity of the handwriting pen relative to the axial direction is obtained by combining with the instantaneous acquisition value of a micro mechanical sensor (mems), the relative coordinate of the pen point relative to the axial direction is calculated through the integral quantity, and the input Chinese character information is obtained by comparing a pre-stored database of coordinate changes of all Chinese characters through the change of the relative coordinate.
The Chinese character information can be directly output to the host computer through the man-machine interface, the variation of the relative coordinates can also be output to the host computer through the man-machine interface, and the database is inquired by the host computer through the variation of the relative coordinates, so that the Chinese character information is obtained.
The invention also provides a system based on the method, which comprises the following steps:
the handwriting pen is used for handwriting input and is connected with the host through a human-computer interface;
the Chinese character database is used for establishing a mapping relation between each Chinese character and pen point coordinate change data when the current Chinese character is written;
a control unit;
an inertial sensing device and a vibration sensor mounted on the stylus, wherein:
the control unit detects whether the handwriting pen moves relative to the surface of the earth through the vibration sensor, and if so, the control unit activates the inertia sensing device;
an inertial sensing device, comprising:
the control unit obtains the offset of the handwriting pen relative to the gravity line through the average acquisition value of the accelerometer;
the control unit obtains the relative geomagnetic north deviation of the handwriting pen through the average acquisition value of the fluxgate, and the control unit obtains the axial information of the handwriting pen by combining the deviation of the handwriting pen relative to the gravity line;
the control unit obtains the integral quantity of the change angular velocity of the stylus relative to the axial direction by combining the axial information of the stylus with the instantaneous acquisition value of the micromechanical sensor, and the control unit calculates the relative coordinate of the pen point of the stylus relative to the axial direction through the integral quantity.
Claims (3)
1. An automatic handwriting pen character recognition method based on an inertial device is characterized by comprising the following steps:
step 1, installing an inertia sensing device and a vibration sensor on a stylus pen, wherein the inertia sensing device at least comprises an accelerometer, a fluxgate and a micromechanical sensor;
establishing a Chinese character database, and establishing a mapping relation between each Chinese character and pen point coordinate change data when the current Chinese character is written in the Chinese character database;
step 2, detecting whether the handwriting pen moves relative to the earth surface by the vibration sensor, if so, starting the inertia sensing device, entering step 3, and if not, continuing to wait;
step 3, obtaining the offset of the handwriting pen relative to the gravity line through the average acquisition value of the accelerometer, obtaining the north offset of the handwriting pen relative to the geomagnetism through the average acquisition value of the fluxgate, and obtaining the axial information of the handwriting pen through the offset of the handwriting pen relative to the gravity line and the north offset of the handwriting pen relative to the geomagnetism;
and 4, obtaining integral quantity of the change angular speed of the handwriting pen relative to the axial direction by combining the instantaneous acquisition value of the micro mechanical sensor according to the axial information of the handwriting pen, resolving the relative coordinate of the pen point of the handwriting pen relative to the axial direction through the integral quantity, comparing the calculated change of the relative coordinate with the pen point coordinate change data in the Chinese character database, and obtaining the corresponding Chinese character through a pre-established mapping relation.
2. The method as claimed in claim 1, wherein in step 4, the variation of the relative coordinates is outputted to the host through the man-machine interface, the host queries the database to obtain the corresponding chinese characters, or the chinese characters are directly outputted to the host through the man-machine interface.
3. An automatic handwriting pen character recognition method based on an inertial device comprises the following steps:
the stylus pen for carry out the handwriting input to link to each other with the host computer through man-machine interface, its characterized in that still includes:
the Chinese character database is used for establishing a mapping relation between each Chinese character and pen point coordinate change data when the current Chinese character is written;
a control unit;
an inertial sensing device and a vibration sensor mounted on the stylus, wherein:
the control unit detects whether the handwriting pen moves relative to the surface of the earth through the vibration sensor, and if so, the control unit activates the inertia sensing device;
an inertial sensing device, comprising:
the control unit obtains the offset of the handwriting pen relative to the gravity line through the average acquisition value of the accelerometer;
the control unit obtains the relative geomagnetic north deviation of the handwriting pen through the average acquisition value of the fluxgate, and the control unit obtains the axial information of the handwriting pen by combining the deviation of the handwriting pen relative to the gravity line;
the control unit obtains the integral quantity of the change angular velocity of the stylus relative to the axial direction by combining the axial information of the stylus with the instantaneous acquisition value of the micromechanical sensor, and the control unit calculates the relative coordinate of the pen point of the stylus relative to the axial direction through the integral quantity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710859235.XA CN107643840B (en) | 2017-09-21 | 2017-09-21 | Automatic handwriting pen character recognition method and system based on inertial device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710859235.XA CN107643840B (en) | 2017-09-21 | 2017-09-21 | Automatic handwriting pen character recognition method and system based on inertial device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107643840A CN107643840A (en) | 2018-01-30 |
CN107643840B true CN107643840B (en) | 2020-12-04 |
Family
ID=61111760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710859235.XA Active CN107643840B (en) | 2017-09-21 | 2017-09-21 | Automatic handwriting pen character recognition method and system based on inertial device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107643840B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112364782A (en) * | 2020-11-13 | 2021-02-12 | 深圳振科智能科技有限公司 | Method, device, equipment and medium for identifying high-altitude writing |
WO2022099589A1 (en) * | 2020-11-13 | 2022-05-19 | 深圳振科智能科技有限公司 | Air-writing recognition method, apparatus, device, and medium |
WO2022099588A1 (en) * | 2020-11-13 | 2022-05-19 | 深圳振科智能科技有限公司 | Character input method and apparatus, electronic device, and storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RO126248B1 (en) * | 2009-10-26 | 2012-04-30 | Softwin S.R.L. | System and method for assessing the authenticity of dynamic holograph signature |
CN101872259B (en) * | 2010-06-03 | 2012-01-25 | 中国人民解放军第二炮兵工程学院 | Natural interaction pen capable of automatically inputting written contents and handwriting detection method |
CN102722240A (en) * | 2011-05-18 | 2012-10-10 | 北京大学深圳研究生院 | Text information input system, handwriting input device and text information input method |
CN103226398B (en) * | 2013-03-25 | 2016-05-04 | 上海交通大学 | Based on the data glove of micro-inertia sensor network technology |
CN107390901A (en) * | 2013-05-10 | 2017-11-24 | 罗天成 | A kind of Novel electronic pen and intelligent terminal |
CN104385808B (en) * | 2014-10-27 | 2016-06-29 | 邓乐安 | Former handwriting record smart pen based on inertia measurement |
CN104376336B (en) * | 2014-12-01 | 2018-07-06 | 深圳如果技术有限公司 | The method and writing pencil of a kind of handwriting recognition |
CN105303201B (en) * | 2015-11-03 | 2018-08-24 | 广东小天才科技有限公司 | Method and system for handwriting recognition based on motion induction |
CN105352478A (en) * | 2015-11-04 | 2016-02-24 | 上海电机学院 | Inertial device based schoolbag balance monitoring and alarming system and use method |
CN106500689B (en) * | 2016-10-31 | 2021-08-24 | 维沃移动通信有限公司 | Method for determining posture of mobile terminal and mobile terminal |
-
2017
- 2017-09-21 CN CN201710859235.XA patent/CN107643840B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107643840A (en) | 2018-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100445937C (en) | Handwriting path identifying system and method | |
CN107643840B (en) | Automatic handwriting pen character recognition method and system based on inertial device | |
KR100630806B1 (en) | Command input method using motion recognition device | |
CN201689394U (en) | Stylus based on multi-sensor fusion | |
CN110785729B (en) | Electronic device for generating analog strokes and for digital storage of analog strokes and input system and method for digitizing analog recordings | |
CN103927025A (en) | Handwriting digital achieving device and method | |
CN102915130A (en) | Moving trajectory calibration method and moving trajectory generation method | |
CN104423566B (en) | Gesture recognition method and wearable device | |
CN101882015A (en) | Controller based on composite MEMS (Micro-electromechanical System) sensor and gesture control keying method thereof | |
CN111344654B (en) | Determining writing direction by inertial sensor | |
CN101122836A (en) | Movement sensing device | |
CN103824072A (en) | Method and device for detecting font structure of handwritten character | |
KR20130091874A (en) | Apparatus and method for guiding writing input for recognation of writing | |
JP2008070920A (en) | Mobile terminal device and authentication method using the same | |
CN201194137Y (en) | Novel hand language recognition device | |
US20230394721A1 (en) | Information processing apparatus, program, and system | |
CN104077041A (en) | Page turning method, device and terminal | |
KR20150020383A (en) | Electronic Device And Method For Searching And Displaying Of The Same | |
US20150029164A1 (en) | Attachable accessory and method for computer recording of writing | |
KR101533603B1 (en) | Device and method for object recognition | |
CN104423838A (en) | Document dividing and merging | |
KR20150063699A (en) | Smart Pen | |
US9442577B2 (en) | System for inputting graphical elements | |
KR20140077000A (en) | Touch panel and dizitizer pen position sensing method for dizitizer pen the same | |
CN110134261B (en) | Electronic pen capable of restoring real writing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |