CN106681631A - Method and device for handwriting optimization - Google Patents
Method and device for handwriting optimization Download PDFInfo
- Publication number
- CN106681631A CN106681631A CN201611121462.4A CN201611121462A CN106681631A CN 106681631 A CN106681631 A CN 106681631A CN 201611121462 A CN201611121462 A CN 201611121462A CN 106681631 A CN106681631 A CN 106681631A
- Authority
- CN
- China
- Prior art keywords
- handwriting
- touch point
- person
- coordinate
- path
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03545—Pens or stylus
Abstract
The invention relates to a method and device for handwriting optimization. The method comprises the steps that a move event of touch points issued by a user based on a detection face is obtained in advance, and coordinate information of the touch points in the move event is executed and stored; coordinate information of the multiple continuous touch points within a writing threshold scope was selected from the multiple stored contact points for average computation, so coordinate point information of a first touch point is generated; and a handwriting route is drawn according to the coordinate point information of the first contact point, so the user could complete the handwriting optimization. The method has the advantages that problems in traditional technologies are solved, wherein abnormal points which influence appearance during drawing are filtered, and unnecessary points during the drawing are filtered, so the drawing speed is increased as much as possible, and computer drawing resources are saved; and timeliness and efficiency of writing are achieved.
Description
Technical field
The present invention relates to touch control device detection technique field, more particularly to a kind of handwriting optimization method and device.
Background technology
The obvious first stroke of a Chinese character, receives pen when at present brush writing program mainly imitates that Brush calligraphy is write in reality, the vigour of style in writing
Moving characteristic process.Person's handwriting is relatively thick and inking is denseer during the first stroke of a Chinese character, if vigour of style in writing movement is slow person's handwriting it is relatively thicker and
It is dense, it is mobile than comparatively fast person's handwriting is thinner and inking is relatively thin.
Said process, has the disadvantages that:The thickness and the deep or light of inking identified the handwriting can not have control well, the vigour of style in writing
Do not have in movement certain irregular, it is impossible to increase higher reality sense, and handwriting is not ageing good enough.
The content of the invention
In consideration of it, being necessary the problem existed for conventional art, there is provided a kind of handwriting optimization method and device,
The thickness that can identify the handwriting, it is deep or light carry out real-time optimization, and person's handwriting is realistic, while improving the ageing of handwriting.
To reach goal of the invention, there is provided a kind of handwriting optimization method, methods described includes:User base is obtained in advance
The move events of the touch point sent in detecting face, and the coordinate information execution of touch point described in the move events is deposited
Storage;The continuous multiple described touch point coordinate information in threshold range is write in selection from the multiple described touch point of storage is carried out
Average computation, generates the first touch point coordinate points information;The person's handwriting is drawn according to the first touch point coordinate points information
Path, completes optimization of the user to the handwriting and operates.
Wherein in one embodiment, the road that the person's handwriting is drawn according to the first touch point coordinate points information
Footpath, completing optimization operation of the user to the handwriting includes:In the path process for drawing the person's handwriting, by arranging
Random function realizes the selection of the touch point and rejects operation.
Wherein in one embodiment, the road that the person's handwriting is drawn according to the first touch point coordinate points information
Footpath, completing optimization operation of the user to the handwriting also includes:In the path process for drawing the person's handwriting, by inserting
Enter foursquare mode realize the person's handwriting path it is continuous.
Wherein in one embodiment, the foursquare mode of the insertion includes:One or two distance in office exceed it is default away from
From the rendering space that is not connected of two squares arrange draw cyclical function realize the person's handwriting path it is continuous.
Wherein in one embodiment, the drafting cyclical function that arranges includes:The coordinate of the graphical pointv newly-increased to each
With the acquisition of the length of side, wherein, the coordinate of the touch point sent based on detecting face according to user and the time of touch point are obtained
For drawing square coordinate and the length of side with the touch point as object.
A kind of handwriting based on same inventive concept optimizes device, and described device includes:Obtain and memory module, use
In the move events for obtaining the touch point that user is sent based on detecting face in advance, and by touch point described in the move events
Coordinate information perform storage;Generation module, writes in threshold range for choosing from the multiple described touch point of storage
Continuous multiple touch point coordinate informations carry out average computation, generate the first touch point coordinate points information;Optimization module, is used for
The path of the person's handwriting is drawn according to the first touch point coordinate points information, optimization of the user to the handwriting is completed
Operation.
Wherein in one embodiment, the optimization module includes:First setup module, for drawing the person's handwriting
In path process, realize that the selection of the touch point is operated with rejecting by arranging random function.
Wherein in one embodiment, the optimization module also includes:Insertion module, on the road for drawing the person's handwriting
During footpath, by insert foursquare mode realize the person's handwriting path it is continuous.
Wherein in one embodiment, the insertion module includes:Second setup module is super for one or two in office distance
Cross rendering space that two squares of predeterminable range are not connected and arrange and draw the path that cyclical function realizes the person's handwriting
Continuously.
Wherein in one embodiment, second setup module includes:Parameter acquisition module, for newly-increased to each
The coordinate of graphical pointv and the acquisition of the length of side, wherein, coordinate and the touch of the touch point that detecting face sends are based on according to user
The time of point obtains square coordinate and the length of side for drawing with the touch point as object.
A kind of handwriting optimization method and device that the present invention is provided.Obtain what user was sent based on detecting face in advance
The move events of touch point, and the coordinate information of touch point in move events is performed into storage;From multiple touch points of storage
Continuous multiple touch point coordinate informations that selection is write in threshold range carry out average computation, generate the first touch point coordinate points letter
Breath;The path of person's handwriting is drawn according to the first touch point coordinate points information, user is completed and is identified the handwriting the optimization operation write.The party
Method solves to be filtered out in conventional art affects abnormity point attractive in appearance in drawing process, unnecessary point also in drawing process,
Lifted as much as possible and draw speed, save computer drawing resource;And with so that writing with real-time and high efficiency.
Description of the drawings
The step of Fig. 1 is a kind of handwriting optimization method in one embodiment of the invention flow chart;And
Fig. 2 is the structural representation that a kind of handwriting in one embodiment of the invention optimizes device.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples pair
Handwriting optimization method of the present invention and device are further elaborated.It should be appreciated that described herein be embodied as
Example is not intended to limit the present invention only to explain the present invention.
As shown in figure 1, a kind of the step of handwriting optimization method in for one embodiment flow chart.Specifically include with
Lower step:
Step 102, obtains in advance the move events of the touch point that user is sent based on detecting face, and by move events
The coordinate information of touch point performs storage.
Step 104, chooses the continuous multiple touch point coordinates letters write in threshold range from multiple touch points of storage
Breath carries out average computation, generates the first touch point coordinate points information.
Step 106, according to the first touch point coordinate points information the path of person's handwriting is drawn, and is completed user and is identified the handwriting what is write
Optimization operation.
In the present embodiment, the path of person's handwriting is drawn according to the first touch point coordinate points information, complete user and identify the handwriting book
The optimization operation write includes:In the path process for drawing person's handwriting, realize the selection of touch point and pick by arranging random function
Division operation.
Further, the path of the person's handwriting is drawn according to the first touch point coordinate points information, user is completed and is identified the handwriting
The optimization operation write also includes:In the path process for drawing person's handwriting, the road of person's handwriting is realized by inserting foursquare mode
Footpath it is continuous.Wherein, inserting foursquare mode includes:Two squares that one or two distance in office exceedes predeterminable range are not held in the mouth
The rendering space setting drafting cyclical function being connected to realizes the continuous of the path of person's handwriting.
In one embodiment, it is necessary to explanation, arranging drafting cyclical function includes:The graphical pointv newly-increased to each
The acquisition of coordinate and the length of side, wherein, coordinate and the time of touch point of the touch point that detecting face sends are based on according to user
Obtain square coordinate and the length of side for drawing with touch point as object.
A kind of handwriting optimization method that the present invention is provided.The touch point that user is sent based on detecting face is obtained in advance
Move events, and the coordinate information of touch point in move events is performed into storage;Book is chosen from multiple touch points of storage
Writing the continuous multiple touch point coordinate informations in threshold range carries out average computation, generates the first touch point coordinate points information;Root
The path of person's handwriting is drawn according to the first touch point coordinate points information, user is completed and is identified the handwriting the optimization operation write.The method solution
To determine filter out in conventional art and abnormity point attractive in appearance has been affected in drawing process, unnecessary point, to the greatest extent may be used also in drawing process
Energy ground is lifted draws speed, saves computer drawing resource;And with so that writing with real-time and high efficiency.
Based on same inventive concept, a kind of handwriting optimization device is additionally provided, due to the original of this device solve problem
Reason is similar to a kind of aforementioned handwriting optimization method, therefore, the enforcement of the device can be according to the concrete steps of preceding method
Realize, repeat part and repeat no more.
As shown in Fig. 2 a kind of handwriting in for one embodiment optimizes the structural representation of device.The handwriting
Optimization device 10 includes:Obtain and memory module 200, generation module 400 and optimization module 600.
Wherein, obtain is used to obtain the move of the touch point that user is sent based on detecting face in advance with memory module 200
Event, and the coordinate information of touch point in move events is performed into storage;Generation module 400 is used for the multiple touch points from storage
The middle continuous multiple touch point coordinate informations write in threshold range of choosing carry out average computation, generate the first touch point coordinate points
Information;Optimization module 600 is used to draw the path of person's handwriting according to the first touch point coordinate points information, completes user and identifies the handwriting book
The optimization operation write.
In the present embodiment, optimization module 600 includes:The (not shown) of first setup module 610 is used to draw person's handwriting
Path process in, by arranging random function and realizing the selection of touch point and reject operation;Further, optimization module 600
Also include:Insertion module 620 (not shown) is used in the path process for drawing person's handwriting, by inserting foursquare mode
Realize person's handwriting path it is continuous.
It should be noted that the insertion (not shown) of module 620 includes:The (not shown) of second setup module 621
Arrange more than the rendering space that two squares of predeterminable range are not connected for one or two in office distance and draw cyclical function
Realize person's handwriting path it is continuous.Further, the (not shown) of the second setup module 621 includes:Parameter acquisition module
6211 (not shown)s are used for the coordinate of the graphical pointv newly-increased to each and the acquisition of the length of side, wherein, it is based on according to user
The coordinate of the touch point that detecting face sends and the time of touch point obtain the square for drawing with touch point as object and sit
Mark and the length of side.
A kind of handwriting optimization device that the present invention is provided.User is obtained in advance with memory module 200 by obtaining
The move events of the touch point sent based on detecting face, and the coordinate information of touch point in move events is performed into storage;Lead to again
Cross generation module 400 and choose from multiple touch points of storage and write the continuous multiple touch point coordinate informations in threshold range and enter
Row average computation, generates the first touch point coordinate points information;Eventually through optimization module 600 according to the first touch point coordinate points letter
Breath draw person's handwriting path, complete user identify the handwriting write optimization operation.Which solves in conventional art and filter out
Abnormity point attractive in appearance is affected in drawing process, unnecessary point also in drawing process is lifted draw speed as much as possible, is saved
Computer drawing resource;And with so that writing with real-time and high efficiency.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, can be
Related hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but and
Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, some deformations and improvement can also be made, these belong to the guarantor of the present invention
Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.
Claims (10)
1. a kind of handwriting optimization method, it is characterised in that methods described includes:
The move events of the touch point that user is sent based on detecting face are obtained in advance, and will be touched described in the move events
The coordinate information of point performs storage;
Choose from the multiple described touch point of storage and write the continuous multiple described touch point coordinate information in threshold range and enter
Row average computation, generates the first touch point coordinate points information;
The path of the person's handwriting is drawn according to the first touch point coordinate points information, user is completed to the handwriting
Optimization operation.
2. handwriting optimization method according to claim 1, it is characterised in that described to be sat according to first touch point
Pointing information draws the path of the person's handwriting, and completing optimization operation of the user to the handwriting includes:It is described drawing
In the path process of person's handwriting, realize that the selection of the touch point is operated with rejecting by arranging random function.
3. handwriting optimization method according to claim 1, it is characterised in that described to be sat according to first touch point
Pointing information draws the path of the person's handwriting, and completing optimization operation of the user to the handwriting also includes:Drawing institute
In stating the path process of person's handwriting, by insert foursquare mode realize the person's handwriting path it is continuous.
4. handwriting optimization method according to claim 3, it is characterised in that the foursquare mode bag of the insertion
Include:The rendering space that two squares that one or two distance in office exceedes predeterminable range are not connected is arranged draws cyclical function reality
Now the path of the person's handwriting is continuous.
5. handwriting optimization method according to claim 4, it is characterised in that cyclical function bag is drawn in the setting
Include:The coordinate of the graphical pointv newly-increased to each and the acquisition of the length of side, wherein, according to the touch point that user is sent based on detecting face
Coordinate and time of touch point obtain square coordinate and the length of side for drawing with the touch point as object.
6. a kind of handwriting optimizes device, it is characterised in that described device includes:
Obtain and memory module, for the move events for obtaining the touch point that user is sent based on detecting face in advance, and by institute
The coordinate information for stating touch point described in move events performs storage;
Generation module, for choosing the continuous multiple touches write in threshold range from the multiple described touch point of storage
Point coordinates information carries out average computation, generates the first touch point coordinate points information;
Optimization module, for drawing the path of the person's handwriting according to the first touch point coordinate points information, completes user pair
The optimization operation of the handwriting.
7. handwriting according to claim 6 optimizes device, it is characterised in that the optimization module includes:First sets
Put module, in the path process for drawing the person's handwriting, by arrange random function realize the selection of the touch point with
Reject operation.
8. handwriting according to claim 6 optimizes device, it is characterised in that the optimization module also includes:Insertion
Module, in the path process for drawing the person's handwriting, the path of the person's handwriting being realized by the foursquare mode of insertion
Continuously.
9. handwriting according to claim 8 optimizes device, it is characterised in that the insertion module includes:Second sets
Module is put, drafting is set more than the rendering space that two squares of predeterminable range are not connected for one or two in office distance and is followed
Ring function realizes the continuous of the path of the person's handwriting.
10. handwriting according to claim 9 optimizes device, it is characterised in that second setup module includes:Ginseng
Number acquisition module, the acquisition of coordinate and the length of side for the graphical pointv newly-increased to each, wherein, detecting face is based on according to user
The coordinate of the touch point for sending and the time of touch point obtain the square coordinate for drawing with the touch point as object
With the length of side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611121462.4A CN106681631B (en) | 2016-12-07 | 2016-12-07 | Handwriting optimization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611121462.4A CN106681631B (en) | 2016-12-07 | 2016-12-07 | Handwriting optimization method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106681631A true CN106681631A (en) | 2017-05-17 |
CN106681631B CN106681631B (en) | 2019-08-30 |
Family
ID=58868781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611121462.4A Active CN106681631B (en) | 2016-12-07 | 2016-12-07 | Handwriting optimization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106681631B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798717A (en) * | 2017-09-13 | 2018-03-13 | 深圳市创易联合科技有限公司 | Electronic brush writing method, device, computer equipment and storage medium |
CN110703934A (en) * | 2018-09-27 | 2020-01-17 | 安徽省电子认证管理中心有限责任公司 | Method for increasing writing smoothness of touch screen |
CN111353356A (en) * | 2019-01-22 | 2020-06-30 | 鸿合科技股份有限公司 | Hard-tipped writing implementation method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216945A (en) * | 2007-12-26 | 2008-07-09 | 广东威创视讯科技股份有限公司 | Method and device for graphic rendering |
CN101324824A (en) * | 2008-06-27 | 2008-12-17 | 广东威创视讯科技股份有限公司 | System and method for positioning split joint wall based on image inductor |
CN102521858A (en) * | 2011-11-28 | 2012-06-27 | 北京盛世宣合信息科技有限公司 | Handwriting generating method for electronic writing brush |
CN104102450A (en) * | 2014-06-18 | 2014-10-15 | 深圳贝特莱电子科技有限公司 | Touch screen based gesture recognition method and system |
-
2016
- 2016-12-07 CN CN201611121462.4A patent/CN106681631B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216945A (en) * | 2007-12-26 | 2008-07-09 | 广东威创视讯科技股份有限公司 | Method and device for graphic rendering |
CN101324824A (en) * | 2008-06-27 | 2008-12-17 | 广东威创视讯科技股份有限公司 | System and method for positioning split joint wall based on image inductor |
CN102521858A (en) * | 2011-11-28 | 2012-06-27 | 北京盛世宣合信息科技有限公司 | Handwriting generating method for electronic writing brush |
CN104102450A (en) * | 2014-06-18 | 2014-10-15 | 深圳贝特莱电子科技有限公司 | Touch screen based gesture recognition method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798717A (en) * | 2017-09-13 | 2018-03-13 | 深圳市创易联合科技有限公司 | Electronic brush writing method, device, computer equipment and storage medium |
CN110703934A (en) * | 2018-09-27 | 2020-01-17 | 安徽省电子认证管理中心有限责任公司 | Method for increasing writing smoothness of touch screen |
CN111353356A (en) * | 2019-01-22 | 2020-06-30 | 鸿合科技股份有限公司 | Hard-tipped writing implementation method and device, electronic equipment and storage medium |
CN111353356B (en) * | 2019-01-22 | 2024-04-09 | 鸿合科技股份有限公司 | Hard-tipped writing implement method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106681631B (en) | 2019-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110531875A (en) | Write generation method, terminal device and the storage medium of the vigour of style in writing | |
CN105278794B (en) | The synchronous hand-written recognition method of more people based on electromagnetic whiteboard, device and time writer | |
CN106681631A (en) | Method and device for handwriting optimization | |
KR20120095852A (en) | Method and apparatus for drawing and erasing calligraphic ink objects on a display surface | |
CN104636649A (en) | Electronic equipment and guiding method thereof | |
CN107067031B (en) | Calligraphy posture automatic identification method based on Wi-Fi signal | |
US20150160819A1 (en) | Crane Gesture | |
CN108062529A (en) | A kind of intelligent identification Method of chemical structural formula | |
CN106155540B (en) | Electronic brush pen pen shape treating method and apparatus | |
CN107798717A (en) | Electronic brush writing method, device, computer equipment and storage medium | |
CN104536768A (en) | Method for improving user-friendly operation of software user interface | |
CN104778006A (en) | Information editing method and system | |
CN104932011A (en) | Method and device for picking up seismic wave first arrival | |
CN104461315A (en) | Handwriting input method for achieving vigorous writing effect | |
CN102938157B (en) | A kind of stylized Freehandhand-drawing based on disk B-spline curve generates method and system | |
CN104035705A (en) | Client, method and system for switching view display mode | |
CN104317453B (en) | Touch-screen Writing method and system | |
CN103164862A (en) | Plane computer-aided design (CAD)/ computer-aided manufacturing (CAM) drawing method based on intelligent recognition drawing tool | |
CN113342208A (en) | Railway line selection method based on multi-point touch equipment, terminal and storage medium | |
CN106990900A (en) | One kind writing implementation method and device | |
CN105426023A (en) | Information interaction method and system | |
CN102013109B (en) | Method and device for beautifying cursive style of handwritten Chinese characters | |
CN104679411A (en) | Sand painting system based on gesture interaction | |
CN110349238A (en) | A kind of writing brush regular script in small characters word rendering method | |
CN104504411B (en) | The 3 D-printing model building device and method of a kind of handwriting |
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 |