CN107025211A - The imitation chi suspension control method and device of font analysis - Google Patents
The imitation chi suspension control method and device of font analysis Download PDFInfo
- Publication number
- CN107025211A CN107025211A CN201710308707.2A CN201710308707A CN107025211A CN 107025211 A CN107025211 A CN 107025211A CN 201710308707 A CN201710308707 A CN 201710308707A CN 107025211 A CN107025211 A CN 107025211A
- Authority
- CN
- China
- Prior art keywords
- grid
- font
- chi
- imitation
- chi suspension
- 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
- 239000000725 suspension Substances 0.000 title claims abstract description 232
- 238000004458 analytical method Methods 0.000 title claims abstract description 93
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000007689 inspection Methods 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 16
- 238000007667 floating Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000004573 interface analysis Methods 0.000 claims 1
- 230000036316 preload Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 4
- 239000011159 matrix material Substances 0.000 description 9
- 241000209094 Oryza Species 0.000 description 4
- 235000007164 Oryza sativa Nutrition 0.000 description 4
- 230000008602 contraction Effects 0.000 description 4
- 230000002996 emotional effect Effects 0.000 description 4
- 238000000605 extraction Methods 0.000 description 4
- 230000036651 mood Effects 0.000 description 4
- 235000009566 rice Nutrition 0.000 description 4
- 239000012634 fragment Substances 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000005452 bending Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention belongs to field of computer technology, there is provided the imitation chi suspension control method and device that a kind of font is analyzed.This method includes receiving font analysis instruction, generate and show suspension button, view window parameter and transparency are set, chi suspension interface is copied in display, monitor screen touch situation, record screen touch point quantity, screen touch point coordinates and touching period, calculate the screen touch point quantity and screen touch point coordinates in the touching period, obtain the second touch area or sliding trace, chi suspension interface is copied to close or scale, according to the font that the grid inspection copied in chi suspension interface is to be analyzed, font analysis result is formed.The imitation chi suspension control method and device of font analysis of the present invention, can be observed analysis to the font of different-style, and font analysis precision and flexibility ratio are high, have a wide range of application.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of the imitation chi suspension control method and dress of font analysis
Put.
Background technology
During the imitation study of calligraphy and drawing, the instrument for needing painting and calligraphy to copy mostly.And traditional mode is mostly to use papery
Nine grids or double check with a core to target calligraphy model word analysis, carry out calligraphy teaching, be merely able to analysis in specified nine grids or rice word
The font write in lattice, application is narrow.And length, thickness, position, angle and the ratio of the stroke and scheme structure for font
The precision of example, and word space, the precision of line space that chapter is laid out, are the key factors that writer grasps Chinese character, traditional
Character imitating mode can not meet the demand of user.
Traditional character imitating mode lacks the observation and analysis to target works quantitatively or semi-quantitatively, and user is in the process of imitation
In, user can not obtain the systematization judge for having copied font, it is impossible to the accurate image of font rapid build copied, lead
Cause the efficiency copied low, it is interesting poor.In addition, the font style of traditional character imitating mode is limited, needing to prepare user more
Many parts of copybooks, it is inconvenient to carry.
Meanwhile, APP application software brings very big facility for the life of people, still, based on mobile terminal, PC ends or flat
The equipment such as platform, the instrument analyzed font is seldom, and the limited precision of observation and analysis, and flexibility ratio is poor.
How analysis is observed to the font of different-style, improves font analysis precision and flexibility ratio, widen and apply model
Enclose, the problem of be those skilled in the art's urgent need to resolve.
The content of the invention
For defect of the prior art, the invention provides the imitation chi suspension control method and dress of a kind of font analysis
Put, analysis can be observed to the font of different-style, font analysis precision and flexibility ratio are high, have a wide range of application.
In a first aspect, the present invention provides a kind of imitation chi suspension control method of font analysis, this method includes:Obtain word
Body analysis instruction;
According to font analysis instruction, chi suspension interface is copied in generation, is copied chi suspension interface and is preloaded standard grid;
According to standard grid, the font of pre-acquiring is analyzed, font analysis result is formed.
The present invention provides the imitation chi suspension control method of another font analysis, and this method includes:
Suspension button generation step:Receive font analysis instruction;
According to font analysis instruction, generate and show suspension button;
Copy chi suspension interface step display:Obtain font to be analyzed;
The first touch area of pre-receiving is judged whether in the coordinate range of suspension button, if so, then setting view window
Mouth parameter and transparency;
According to view window parameter and transparency, chi suspension interface is copied in display;
Step is monitored in touching:Monitor screen touch situation, record screen touch point quantity, screen touch point coordinates and touching
Period, screen touch point quantity and screen touch point coordinates are according to font determination to be analyzed;
Touch information calculation procedure:The screen touch point quantity and screen touch point coordinates in the touching period are calculated, is obtained
Take the second touch area or sliding trace;
Copy chi suspension interface set-up procedure:The second touch area is judged whether in the coordinate range of suspension button, if
It is then to close and copy chi suspension interface;
Judge the quantity of sliding trace, if sliding trace is one, chi suspension interface copied according to sliding trace movement,
If sliding trace is two, chi suspension interface is copied according to sliding trace scaling;
Font analytical procedure:According to the font that the grid inspection copied in chi suspension interface is to be analyzed, font analysis is formed
As a result.
Further, if sliding trace is two, chi suspension interface is copied according to sliding trace scaling, is specifically included:
Detect the beginning and end of each sliding trace;
Calculate the starting point distance and terminal distance of two sliding traces;
According to starting point distance and terminal distance, scaling is obtained;
According to scaling, scaling copies chi suspension interface.
The imitation chi suspension control method embodiment analyzed based on above-mentioned any font, further, chi is copied in display
After suspension interface, before the grid inspection copied in chi suspension interface font to be analyzed, this method also includes:
Set grid intrusions to receive the time, and receive target gridding idsplay order;
If receiving target gridding idsplay order within the grid intrusions reception time, target gridding idsplay order is set
For the first grid idsplay order;
If not receiving target gridding idsplay order within the grid intrusions reception time, generate the second grid and show and refer to
Order;
According to view window parameter and transparency, display is copied chi suspension interface, specifically included:
According to the first grid idsplay order or the second grid idsplay order, according to view window parameter and transparency, display
Copy chi suspension interface.
Further, according to the first grid idsplay order or the second grid idsplay order, according to view window parameter and thoroughly
Chi suspension interface is copied in lightness, display, is specifically included:
According to the first grid idsplay order, transfer the first grid and be loaded onto imitation chi suspension interface, hide imitation chi and hang
The second grid in floating interface;
Or according to the second grid idsplay order, transfer the second grid and be loaded onto imitation chi suspension interface;
According to view window parameter and transparency, display has loaded imitation chi suspension circle of the first grid or the second grid
Face.
The imitation chi suspension control method embodiment analyzed based on above-mentioned any font, further, in mobile or scaling
Copy after chi suspension interface, this method also includes:
Obtain projection instruction and target area;
According to projection instruction, luminance parameter is set;
According to target area, projection angle is adjusted;
According to luminance parameter and projection angle, mobile or scaling imitation chi suspension interface is projected to target area.
Second aspect, the present invention provides a kind of imitation chi suspension control method of font analysis, and the device is pressed including suspension
Button generation module, imitation chi suspension interface display module, touching monitor module, touching information computational module, copy chi suspension circle
Face adjusting module and font analysis module.Suspension button generation module is used to receive font analysis instruction, is referred to according to font analysis
Order, generates and shows suspension button.Copying chi suspension interface display module is used to obtain font to be analyzed, judges pre-receiving
Whether the first touch area in the coordinate range of suspension button, if so, then set view window parameter and transparency, according to regarding
Chi suspension interface is copied in figure window parameter and transparency, display.Module is monitored in touching to be used to monitor screen touch situation, record screen
Curtain touch points quantity, screen touch point coordinates and touching period, screen touch point quantity and screen touch point coordinates are roots
Determined according to font to be analyzed.Touching information computational module is used to calculate the screen touch point quantity and screen in the touching period
Point coordinates is touched, the second touch area or sliding trace is obtained.Copying chi suspension interface adjusting module is used to judge the second touching
Whether region copies chi suspension interface if so, then closing, judges the quantity of sliding trace in the coordinate range of suspension button,
If sliding trace is one, chi suspension interface is copied according to sliding trace movement, if sliding trace is two, according to slip
Track scaling copies chi suspension interface.Font analysis module is used for be analyzed according to the grid inspection copied in chi suspension interface
Font, forms font analysis result.
Further, it is two to copy chi suspension interface adjusting module in sliding trace, then faces according to sliding trace scaling
When imitating chi suspension interface, specifically for:The beginning and end of each sliding trace is detected, the start point distance of two sliding traces is calculated
From with a distance from terminal, according to starting point distance and terminal distance, scaling is obtained, according to scaling, scaling is copied chi and suspended
Interface.
The imitation chi suspension control device embodiment analyzed based on above-mentioned any font, further, the device also includes
Grid intrusions determining module:For setting grid intrusions to receive the time, and target gridding idsplay order is received, if in grid intrusions
Target gridding idsplay order is received in the reception time, then target gridding idsplay order is set to the first grid idsplay order,
If not receiving target gridding idsplay order within the grid intrusions reception time, the second grid idsplay order is generated.Copy chi
Suspension interface display module is according to view window parameter and transparency, when chi suspension interface is copied in display, specifically for:According to
First grid idsplay order or the second grid idsplay order, according to view window parameter and transparency, chi suspension circle is copied in display
Face.
Further, chi suspension interface display module is copied to show and refer to according to the first grid idsplay order or the second grid
Order, according to view window parameter and transparency, when chi suspension interface is copied in display, specifically for:Shown and referred to according to the first grid
Order, transfers the first grid and is loaded onto imitation chi suspension interface, hide the second grid copied in chi suspension interface, or according to the
Two grid idsplay orders, transfer the second grid and are loaded onto imitation chi suspension interface, according to view window parameter and transparency, show
Show the imitation chi suspension interface for having loaded the first grid or the second grid.
The imitation chi suspension control device embodiment analyzed based on above-mentioned any font, further, the device also includes
Control module is projected, for obtaining projection instruction and target area, is instructed according to the projection, luminance parameter is set, according to institute
Target area is stated, projection angle is adjusted, according to the luminance parameter and the projection angle, mobile or scaling imitation chi is hanged
Floating interface is projected to target area.
As shown from the above technical solution, the imitation chi suspension control method and device for the font analysis that the present embodiment is provided,
The view window parameter and transparency of chi suspension interface are copied by setting, chi suspension interface is copied in display, and according to be analyzed
Chi suspension interface is copied in the position of font, adjustment, to improve the accuracy of font analysis, contributes to user to build clear, accurate
Image, lifted learning efficiency.
Also, this method copies the matching degree of chi suspension interface and font to be analyzed according to the touching situation of screen, adjustment,
Suitable for the font of different-style, and copy chi suspension interface and can be suspended on a variety of application interfaces, flexibility ratio is high, application
Extensively.
Therefore, the imitation chi suspension control method and device of the present embodiment font analysis, can be to the font of different-style
Analysis is observed, font analysis precision and flexibility ratio are high, have a wide range of application.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The accompanying drawing used required in embodiment or description of the prior art is briefly described.In all of the figs, similar element
Or part is general by similar reference mark.In accompanying drawing, each element or part might not be drawn according to actual ratio.
Fig. 1 shows a kind of method flow diagram of the imitation chi suspension control method of font analysis provided by the present invention;
Fig. 2 shows a kind of structural representation of the imitation chi suspension control device of font analysis provided by the present invention.
Embodiment
The embodiment of technical solution of the present invention is described in detail below in conjunction with accompanying drawing.Following examples are only used for
Clearly illustrate technical scheme, therefore be intended only as example, and the protection of the present invention can not be limited with this
Scope.
It should be noted that unless otherwise indicated, technical term or scientific terminology used in this application should be this hair
The ordinary meaning that bright one of ordinary skill in the art are understood.
In a first aspect, a kind of imitation chi suspension control method for font analysis that the embodiment of the present invention is provided, this method
Including:Obtain font analysis instruction.
According to font analysis instruction, chi suspension interface is copied in generation, is copied chi suspension interface and is preloaded standard grid.
According to standard grid, the font of pre-acquiring is analyzed, font analysis result is formed.
The imitation chi suspension control method for another font analysis that the embodiment of the present invention is provided, this method is applied to tool
There are mobile terminal, the network platform of touch-screen, can run on Android system and apple system, it is simultaneous with a variety of computer programming languages
Hold, with reference to Fig. 1, this method includes:
Suspension button generation step S1:Receive font analysis instruction.
According to font analysis instruction, generate and show suspension button.
Copy chi suspension interface step display S2:Obtain font to be analyzed.
The first touch area of pre-receiving is judged whether in the coordinate range of suspension button, if so, then setting view window
Mouth parameter and transparency.
According to view window parameter and transparency, chi suspension interface is copied in display.
Step S3 is monitored in touching:Screen touch situation is monitored, screen touch point quantity, screen touch point coordinates is recorded and touches
Touch the period, screen touch point quantity and screen touch point coordinates are according to font determination to be analyzed.
Touch information calculation procedure S4:The screen touch point quantity and screen touch point coordinates in the touching period are calculated,
Obtain the second touch area or sliding trace.
Copy chi suspension interface set-up procedure S5:The second touch area is judged whether in the coordinate range of suspension button,
Chi suspension interface is copied if so, then closing.
Judge the quantity of sliding trace, if sliding trace is one, chi suspension interface copied according to sliding trace movement,
If sliding trace is two, chi suspension interface is copied according to sliding trace scaling.
Font analytical procedure S6:According to the font that the grid inspection copied in chi suspension interface is to be analyzed, font point is formed
Analyse result, such as scheme structure of analysis font, stroke angle, length, thickness, position.
As shown from the above technical solution, the imitation chi suspension control method for the font analysis that the present embodiment is provided, by setting
The view window parameter and transparency for copying chi suspension interface are put, chi suspension interface is copied in display, and according to font to be analyzed
Chi suspension interface is copied in position, adjustment, to improve the accuracy of font analysis, contributes to user to build clear, accurate image,
Lift learning efficiency.
Also, this method copies the matching degree of chi suspension interface and font to be analyzed according to the touching situation of screen, adjustment,
Suitable for the font of different-style, and copy chi suspension interface and can be suspended on a variety of application interfaces, flexibility ratio is high, application
Extensively.
Therefore, the imitation chi suspension control method of the present embodiment font analysis, can see to the font of different-style
Analysis is surveyed, font analysis precision and flexibility ratio are high, have a wide range of application.
In order to further improve the font accuracy of analysis for copying chi suspension control method of the present embodiment font analysis, word
The specific implementation procedure that physical examination is tested is as follows:
The person's handwriting profile of detection font to be analyzed.According to person's handwriting profile, the font style of the font is determined, such as face is diligent,
The styles such as Yan Duo, Ouyang Style, the Liu style, the calligraphy style of Zhao Mengfu of the Yuan Dynasty.According to the font style of the font, the standard handwriting font number of the font style is transferred
According to storehouse, wherein, standard handwriting data when each conventional font is write with different-style are stored in standard handwriting font database.
According to the person's handwriting profile of the font, query criteria person's handwriting font database obtains the standard handwriting data of the font.According to imitation
Mesh coordinate in chi suspension interface, determines the center of the standard handwriting data of the font.The pen for the font being analysed to
Mark profile forms font analysis result, such as examines the fortune of the font with determining that the standard handwriting data of center are compared
Mode, row style line, length, thickness, position, angle, ratio, vigour of style in writing etc..
Here, this method determines font style by recognizing the profile of font, it is accurate, reliable, then transfer font use
The standard handwriting data that the writing style makes, by copying the mesh coordinate in chi suspension interface, determine center, with to this
Font is tested, and accurate, clearly font result, stroke, thickness, angle bisecting analysis result is provided the user, even in special
In the case that industry writing master is not enough, user can already obtain correct writing and instruct, it is ensured that the exercise efficiency of user.
In actual application, the present embodiment font analysis imitation chi suspension control method can also converge it is whole it is each use
The writing style at family, provides the user font writing appraisal report.Here, being illustrated with the big section word of picture format, have
Body processing procedure is as follows:
Using image preprocessing mode, picture is handled, the pretreated image information of acquisition, such as use filtering,
Binarization method carries out preliminary noise reduction process to picture, and then eliminating the puncture of stroke edge and hole becomes Chinese character contour
Smoothly.Single Word Input is carried out to image information, single word is obtained, such as passes through the projection Nogata in the vertical both direction of level
Figure, completes segmentation to big section word, obtains individual character image, and operation is normalized in individual character image, obtains size unanimously
Word.Stroke extraction is carried out to each word, the person's handwriting profile of font to be analyzed, the person's handwriting wheel based on each word is detected
Exterior feature, stroke extraction is carried out to each word, obtains the Chinese-character stroke of each word, extracts center line, the width of each Chinese-character stroke
Degree, contraction speed, flexibility information are used as the writing feature of the word, the center line of the whole each word of remittance, width, contraction speed
Degree, bending degrees of data, form center wire matrix, width matrix, contraction speed matrix and flexibility matrix.By center wire matrix,
Width matrix, contraction speed matrix and flexibility matrix are compared with the standard handwriting data of same font style, generate the user
Font writing appraisal report.
Here, this method to paragraph word by being pre-processed, stroke is extracted, the matrix of writing feature is built, is helped
In dynamics of wieling the pen, writing speed or the stroke bending degree of analysis user when font is write etc., the standard with same font style
Handwriting data compares, and determines the writing style of user, and correcting bad writing style for user provides information foundation.
In order to further improve the treatment effeciency for copying chi suspension control method of the present embodiment font analysis, specifically,
In terms of chi suspension interface adjustment is copied, if sliding trace is two, its specific implementation is as follows:Detect each sliding trace
Beginning and end, calculate the starting point distance and terminal distance of two sliding traces, according to starting point distance and terminal distance, obtain
Scaling, according to scaling, scaling copies chi suspension interface.Here, when this method can be with reference to user's touching screen
Touch points, calculate scaling, and the size of chi suspension interface is copied in adjustment, and arithmetic speed is fast, user-friendly, flexibility ratio
It is high.
Specifically, in terms of grid setting, display is copied after chi suspension interface, according to the net copied in chi suspension interface
Lattice are examined before font to be analyzed, and this method can also set grid intrusions to receive the time, and are received target gridding and shown and refer to
Order, if receiving target gridding idsplay order within the grid intrusions reception time, the is set to by target gridding idsplay order
One grid idsplay order, if not receiving target gridding idsplay order within the grid intrusions reception time, that is, corresponds to default conditions,
The second grid idsplay order is then generated, and according to the first grid idsplay order or the second grid idsplay order, according to view window
Chi suspension interface is copied in parameter and transparency, display.For example, during the application program is started, if user specifies grid
Type, then according to specified grid idsplay order, show corresponding grid.If the type of the not specified grid of user, shows
The grid of acquiescence, to improve the control efficiency for copying grid in chi suspension interface, also allows for user and is adjusted according to practical application situation
Change trellis-type.
Also, according to the first grid idsplay order or the second grid idsplay order, according to view window parameter and transparency,
When chi suspension interface is copied in display, process is implemented as follows:According to the first grid idsplay order, transfer the first grid and load
To chi suspension interface is copied, the second grid copied in chi suspension interface is hidden, or according to the second grid idsplay order, the is transferred
Two grids are simultaneously loaded onto imitation chi suspension interface, according to view window parameter and transparency, and display has loaded the first grid or the
The imitation chi suspension interface of two grids.Such as according to the rice palace lattice idsplay order of pre-receiving, a meter palace grid is transferred, nine palace grids are hidden
With comprehensive grid, and according to the view window parameter and the transparency, chi suspension interface is copied in display;Or according to pre-receiving
Nine grids idsplay order, transfer nine palace grids, hide rice palace grid and comprehensive grid, and according to the view window parameter and
Chi suspension interface is copied in the transparency, display;Or according under the synthesis palace lattice idsplay order or default conditions of pre-receiving
Two grid idsplay orders, transfer comprehensive grid, hide rice palace grid and nine palace grids, and according to the view window parameter and institute
Transparency is stated, chi suspension interface is copied in display.
When user specifies grid, this method hides the mode of not specified grid by transferring specified grid, and control is copied
Trellis-type in chi suspension interface, in default conditions, the grid that this method directly transfers default conditions is shown, can
The ageing of interface display is enough improved, the actual demand of user is disclosure satisfy that again.
In order to further widen the application for copying chi suspension control method of the present embodiment font analysis, specifically,
After mobile or scaling copies chi suspension interface, this method can also obtain projection instruction and target area, be referred to according to projection
Order, sets luminance parameter, according to target area, adjusts projection angle, according to luminance parameter and projection angle, by mobile or scaling
Imitation chi suspension interface project to target area.Here, this method can also calculate luminance parameter and projection angle, it will face
Imitate chi suspension interface to project to target area, be easy to user to analyze the font in target area, generation font analysis knot
Really, the scope of font can be analyzed by widening, and meet the diversified demand of user.
In actual application, the imitation chi suspension control method of the present embodiment font analysis can also analyze user's hair
The sound gone out, determines control instruction, and the state of chi suspension interface is copied in adjustment.The acoustic information that user sends such as is gathered, according to
Acoustic information, the current emotional state of identification user, such as light, glad, sad, angry four kinds of emotional states, and generate accordingly
Mood value.Feature extraction is carried out to acoustic information, characteristic information fragment is obtained.Voice knowledge is carried out to each characteristic information fragment
Not, voice identification result is obtained.According to the order of each characteristic information fragment, voice identification result is combined, obtains and uses
The control at family is intended to, and judges whether the control intention of user is consistent with the emotional state that user is current, if so, then according to user
Control be intended to, transfer adjust instruction.Adjustment speed, such as rate travel, scaling speed are determined according to mood value.Refer to according to adjustment
Order and adjustment speed, are adjusted to copying chi suspension interface, and such as adjust instruction can be amplification, diminution, according to mood value
The scaling speed of determination, directly control are copied chi suspension interface and zoomed in and out;Adjust instruction can also be moved to the left, move right
Move, the rate travel determined according to mood value, control is copied chi suspension interface and moved to respective direction;Adjust instruction can also
Instruction is off, chi suspension interface is copied and stops mobile or scale.
Here, this method can carry out feature extraction and speech recognition by analyzing the sound of user to the sound of user,
Determine that the control of user is intended to, quickly to transfer control instruction, realize that Voice command copies chi suspension interface.Meanwhile, this method
The current emotional state of user can also be determined according to the sound of user, to match corresponding adjustment speed, be favorably improved
Consumer's Experience.
Second aspect, the embodiment of the present invention provides a kind of imitation chi suspension control device of font analysis, should with reference to Fig. 2
Device includes suspension button generation module 1, imitation chi suspension interface display module 2, touching monitoring module 3, touching information and calculated
Module 4, imitation chi suspension interface adjusting module 5 and font analysis module 6, suspension button generation module 1 are used to receive font point
Analysis instruction, according to font analysis instruction, generates and shows suspension button.Chi suspension interface display module 2 is copied to treat for acquisition
The font of analysis, judges the first touch area of pre-receiving whether in the coordinate range of suspension button, if so, then setting view
Window parameter and transparency, according to view window parameter and transparency, chi suspension interface is copied in display.Touching is monitored module 3 and used
In monitoring screen touch situation, record screen touch point quantity, screen touch point coordinates and touching period, screen touch is counted
Amount and screen touch point coordinates are according to font determination to be analyzed.Touching information computational module 4 is used to calculate the touching time
Screen touch point quantity and screen touch point coordinates in section, obtain the second touch area or sliding trace.Copy chi suspension circle
Face adjusting module 5 is used to judge the second touch area whether in the coordinate range of suspension button, is hanged if so, then closing and copying chi
Floating interface, judges the quantity of sliding trace, if sliding trace is one, and chi suspension interface is copied according to sliding trace movement,
If sliding trace is two, chi suspension interface is copied according to sliding trace scaling.Font analysis module 6 is used for according to imitation chi
Grid inspection in suspension interface font to be analyzed, forms font analysis result.
As shown from the above technical solution, the imitation chi suspension control device for the font analysis that the present embodiment is provided, by setting
The view window parameter and transparency for copying chi suspension interface are put, chi suspension interface is copied in display, and according to font to be analyzed
Chi suspension interface is copied in position, adjustment, to improve the accuracy of font analysis, contributes to user to build clear, accurate image,
Lift learning efficiency.
Also, the device copies the matching degree of chi suspension interface and font to be analyzed according to the touching situation of screen, adjustment,
Suitable for the font of different-style, and copy chi suspension interface and can be suspended on a variety of application interfaces, flexibility ratio is high, application
Extensively.
Therefore, the imitation chi suspension control device of the present embodiment font analysis, can see to the font of different-style
Analysis is surveyed, font analysis precision and flexibility ratio are high, have a wide range of application.
In order to further improve the treatment effeciency for copying chi suspension control device of the present embodiment font analysis, specifically,
In terms of chi suspension interface adjustment is copied, it is two to copy chi suspension interface adjusting module 5 in sliding trace, then according to slip rail
When mark scaling copies chi suspension interface, specifically for:The beginning and end of each sliding trace is detected, two sliding traces are calculated
Starting point distance and terminal distance, according to starting point distance and terminal distance, obtain scaling, according to scaling, scaling faces
Imitate chi suspension interface.Here, the imitation chi suspension interface adjusting module 5 can combine touch points when user touches screen, meter
Scaling is calculated, the size of chi suspension interface is copied in adjustment, and arithmetic speed is fast, user-friendly, and flexibility ratio is high.
Specifically, in terms of grid setting, the device also includes grid intrusions determining module, and grid intrusions determining module is used
The time is received in setting grid intrusions, and receives target gridding idsplay order, if receiving mesh within the grid intrusions reception time
Grid idsplay order is marked, then target gridding idsplay order is set to the first grid idsplay order, if when grid intrusions are received
It is interior not receive target gridding idsplay order, then generate the second grid idsplay order.Chi suspension interface display module 2 is copied to exist
According to view window parameter and transparency, when chi suspension interface is copied in display, specifically for:According to the first grid idsplay order or
Second grid idsplay order, according to view window parameter and transparency, chi suspension interface is copied in display.For example, should be answered starting
During with program, if user specifies the type of grid, according to specified grid idsplay order, corresponding grid is shown.
If the type of the not specified grid of user, shows the grid of acquiescence, to improve the control efficiency for copying grid in chi suspension interface,
Also allow for user and trellis-type is exchanged according to practical application situation.
Also, chi suspension interface display module 2 is copied according to the first grid idsplay order or the second grid idsplay order,
According to view window parameter and transparency, when chi suspension interface is copied in display, specifically for:According to the first grid idsplay order,
Transfer the first grid and be loaded onto imitation chi suspension interface, hide the second grid copied in chi suspension interface, or according to second
Grid idsplay order, transfers the second grid and is loaded onto imitation chi suspension interface, according to view window parameter and transparency, display
The imitation chi suspension interface of the first grid or the second grid is loaded.When user specifies grid, the imitation chi suspension interface shows
Show that module 2, by transferring specified grid, hides the mode of not specified grid, the trellis-type in chi suspension interface is copied in control,
In default conditions, the grid that the imitation chi suspension interface display module 2 directly transfers default conditions is shown, can either be carried
High interface display it is ageing, the actual demand of user is disclosure satisfy that again.
In order to further widen the application for copying chi suspension control device of the present embodiment font analysis, specifically,
The imitation chi suspension control device of the present embodiment font analysis also includes projection control module, for obtaining projection instruction and target
Region, instructs according to the projection, sets luminance parameter, according to the target area, projection angle is adjusted, according to the brightness
Parameter and the projection angle, mobile or scaling imitation chi suspension interface is projected to target area.Here, the projection is controlled
Module can also calculate luminance parameter and projection angle, will copy chi suspension interface and project to target area, be easy to user couple
Font in target area is analyzed, and generates font analysis result, the scope of font can be analyzed by widening, and meet the various of user
Change demand.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme, it all should cover among the claim of the present invention and the scope of specification.
Claims (10)
1. a kind of imitation chi suspension control method of font analysis, it is characterised in that including:
Obtain font analysis instruction;
According to the font analysis instruction, chi suspension interface is copied in generation, and the imitation chi suspension interface preloads standard grid;
According to the standard grid, the font of pre-acquiring is analyzed, font analysis result is formed.
2. a kind of imitation chi suspension control method of font analysis, it is characterised in that including:
Suspension button generation step:Receive font analysis instruction;
According to the font analysis instruction, generate and show suspension button;
Copy chi suspension interface step display:Obtain font to be analyzed;
The first touch area of pre-receiving is judged whether in the coordinate range of the suspension button, if so, then setting view window
Mouth parameter and transparency;
According to the view window parameter and the transparency, chi suspension interface is copied in display;
Step is monitored in touching:Monitor screen touch situation, record screen touch point quantity, screen touch point coordinates and touching time
Section, the screen touch point quantity and the screen touch point coordinates are determined according to the font to be analyzed;
Touch information calculation procedure:The screen touch point quantity and screen touch point coordinates in the touching period are calculated, is obtained
Take the second touch area or sliding trace;
Copy chi suspension interface set-up procedure:Judge second touch area whether the suspension button coordinate range
It is interior, if so, then closing the imitation chi suspension interface;
Judge the quantity of the sliding trace, if the sliding trace is one, face according to described in sliding trace movement
Chi suspension interface is imitated, if the sliding trace is two, according to the sliding trace scaling imitation chi suspension interface;
Font analytical procedure:Font to be analyzed, forms font described in grid inspection in the imitation chi suspension interface
Analysis result.
3. the imitation chi suspension control method that font is analyzed according to claim 2, it is characterised in that
If the sliding trace is two, according to the sliding trace scaling imitation chi suspension interface, specifically include:
Detect the beginning and end of each sliding trace;
Calculate the starting point distance and terminal distance of two sliding traces;
According to the starting point distance and the terminal distance, scaling is obtained;
According to the scaling, the imitation chi suspension interface is scaled.
4. the imitation chi suspension control method that font is analyzed according to claim 2, it is characterised in that
After chi suspension interface is copied in display, word to be analyzed described in the grid inspection in the imitation chi suspension interface
Before body, this method also includes:
Set grid intrusions to receive the time, and receive target gridding idsplay order;
If receiving target gridding idsplay order within the grid intrusions reception time, by the target gridding idsplay order
It is set to the first grid idsplay order;
If not receiving target gridding idsplay order within the grid intrusions reception time, generate the second grid and show and refer to
Order;
It is described according to the view window parameter and the transparency, chi suspension interface is copied in display, is specifically included:
According to the first grid idsplay order or the second grid idsplay order, according to the view window parameter and described transparent
Chi suspension interface is copied in degree, display.
5. the imitation chi suspension control method that font is analyzed according to claim 4, it is characterised in that
According to the first grid idsplay order or the second grid idsplay order, according to the view window parameter and described transparent
Chi suspension interface is copied in degree, display, is specifically included:
According to the first grid idsplay order, transfer the first grid and be loaded onto the imitation chi suspension interface, hide described
Copy the second grid in chi suspension interface;
Or according to the second grid idsplay order, transfer the second grid and be loaded onto the imitation chi suspension interface;
According to the view window parameter and the transparency, display has loaded facing for first grid or second grid
Imitate chi suspension interface.
6. the imitation chi suspension control method that font is analyzed according to claim 2, it is characterised in that
After moving or scaling the imitation chi suspension interface, this method also includes:
Obtain projection instruction and target area;
Instructed according to the projection, luminance parameter is set;
According to the target area, projection angle is adjusted;
According to the luminance parameter and the projection angle, mobile or scaling imitation chi suspension interface is projected to target area
Domain.
7. a kind of imitation chi suspension control device of font analysis, it is characterised in that including:
Suspension button generation module:For receiving font analysis instruction, according to the font analysis instruction, generate and show suspension
Button;
Copy chi suspension interface display module:The font to be analyzed for obtaining, judge pre-receiving the first touch area whether
In the coordinate range of the suspension button, if so, then setting view window parameter and transparency, join according to the view window
Chi suspension interface is copied in number and the transparency, display;
Module is monitored in touching:For monitoring screen touch situation, record screen touch point quantity, screen touch point coordinates and touching
Period, the screen touch point quantity and the screen touch point coordinates are determined according to the font to be analyzed,
Touch information computational module:Screen touch point quantity and screen touch point for calculating in the touching period are sat
Mark, obtains the second touch area or sliding trace,
Copy chi suspension interface adjusting module:For judge second touch area whether the suspension button coordinate model
In enclosing, if so, then closing the imitation chi suspension interface, the quantity of the sliding trace is judged, if the sliding trace is one
It is individual, then according to the sliding trace movement imitation chi suspension interface, if the sliding trace is two, according to the cunning
The dynamic rail mark scaling imitation chi suspension interface;
Font analysis module:For font to be analyzed described in the grid inspection in the imitation chi suspension interface, formed
Font analysis result.
8. the imitation chi suspension control device that font is analyzed according to claim 7, it is characterised in that
The imitation chi suspension interface adjusting module is two in the sliding trace, then is scaled according to the sliding trace described
When copying chi suspension interface, specifically for:The beginning and end of each sliding trace is detected, the starting point of two sliding traces is calculated
Distance and terminal distance, according to the starting point distance and the terminal distance, obtain scaling, according to the scaling,
The scaling imitation chi suspension interface.
9. the imitation chi suspension control device that font is analyzed according to claim 7, it is characterised in that the device also includes net
Lattice instruct determining module:For setting grid intrusions to receive the time, and target gridding idsplay order is received, if referring in the grid
Make and target gridding idsplay order is received in the reception time, then the target gridding idsplay order is set into the first grid shows
Instruction, if not receiving target gridding idsplay order within the grid intrusions reception time, generates the second grid and shows and refer to
Order;
The imitation chi suspension interface display module is according to the view window parameter and the transparency, and display is copied chi and hanged
During floating interface, specifically for:According to the first grid idsplay order or the second grid idsplay order, according to the view window
Chi suspension interface is copied in parameter and the transparency, display.
10. the imitation chi suspension control device that font is analyzed according to claim 9, it is characterised in that the imitation chi hangs
Floating interface display module is joined according to the first grid idsplay order or the second grid idsplay order according to the view window
Number and the transparency, when chi suspension interface is copied in display, specifically for:According to the first grid idsplay order, is transferred
One grid is simultaneously loaded onto the imitation chi suspension interface, hides second grid copied in chi suspension interface, or according to institute
The second grid idsplay order is stated, the second grid is transferred and is loaded onto the imitation chi suspension interface, join according to the view window
Number and the transparency, display have loaded the imitation chi suspension interface of first grid or second grid.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710308707.2A CN107025211B (en) | 2017-05-04 | 2017-05-04 | Copy ruler suspension control method and device for font analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710308707.2A CN107025211B (en) | 2017-05-04 | 2017-05-04 | Copy ruler suspension control method and device for font analysis |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107025211A true CN107025211A (en) | 2017-08-08 |
CN107025211B CN107025211B (en) | 2020-06-05 |
Family
ID=59528327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710308707.2A Expired - Fee Related CN107025211B (en) | 2017-05-04 | 2017-05-04 | Copy ruler suspension control method and device for font analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025211B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175539A (en) * | 2019-05-10 | 2019-08-27 | 广东智媒云图科技股份有限公司 | A kind of text creation method, device, terminal device and readable storage medium storing program for executing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184652A (en) * | 2011-06-01 | 2011-09-14 | 张建强 | Digitization method and software system capable of demonstrating word writing process |
CN103473572A (en) * | 2013-09-17 | 2013-12-25 | 南京师范大学 | Method for evaluating attractiveness of handwritten Chinese characters |
CN103729107A (en) * | 2012-10-15 | 2014-04-16 | 中兴通讯股份有限公司 | Method and device for achieving suspension target |
CN104715256A (en) * | 2015-03-04 | 2015-06-17 | 南昌大学 | Auxiliary calligraphy exercising system and evaluation method based on image method |
US20160357356A1 (en) * | 2015-06-07 | 2016-12-08 | Apple Inc. | Device, Method, and Graphical User Interface for Providing and Interacting with a Virtual Drawing Aid |
-
2017
- 2017-05-04 CN CN201710308707.2A patent/CN107025211B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184652A (en) * | 2011-06-01 | 2011-09-14 | 张建强 | Digitization method and software system capable of demonstrating word writing process |
CN103729107A (en) * | 2012-10-15 | 2014-04-16 | 中兴通讯股份有限公司 | Method and device for achieving suspension target |
CN103473572A (en) * | 2013-09-17 | 2013-12-25 | 南京师范大学 | Method for evaluating attractiveness of handwritten Chinese characters |
CN104715256A (en) * | 2015-03-04 | 2015-06-17 | 南昌大学 | Auxiliary calligraphy exercising system and evaluation method based on image method |
US20160357356A1 (en) * | 2015-06-07 | 2016-12-08 | Apple Inc. | Device, Method, and Graphical User Interface for Providing and Interacting with a Virtual Drawing Aid |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175539A (en) * | 2019-05-10 | 2019-08-27 | 广东智媒云图科技股份有限公司 | A kind of text creation method, device, terminal device and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN107025211B (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107358223B (en) | Face detection and face alignment method based on yolo | |
US10514766B2 (en) | Systems and methods for determining emotions based on user gestures | |
WO2019196205A1 (en) | Foreign language teaching evaluation information generating method and apparatus | |
CN105045399B (en) | A kind of electronic equipment with 3D camera assemblies | |
CN113568506A (en) | Dynamic user interaction for display control and customized gesture interpretation | |
CN105988924A (en) | Automatic testing method for non-intrusive type embedded software graphical user interface | |
CN107291221B (en) | Across screen self-adaption accuracy method of adjustment and device based on natural gesture | |
WO2019000681A1 (en) | Information layout method, device, apparatus and computer storage medium | |
CN102096471A (en) | Human-computer interaction method based on machine vision | |
CN103713845B (en) | Method for screening candidate items and device thereof, text input method and input method system | |
CN106133644B (en) | Coordinate projected user interface | |
CN105094381B (en) | One kind writing treating method and apparatus | |
CN106778574A (en) | For the detection method and device of facial image | |
CN103150007A (en) | Input method and input device | |
CN105046249B (en) | A kind of man-machine interaction method | |
Li et al. | Hand gesture recognition and real-time game control based on a wearable band with 6-axis sensors | |
CN109582929A (en) | Mark line method for drafting and electronic equipment based on e-book | |
WO2022237117A1 (en) | Touch control method and system for interactive electronic whiteboard, and readable medium | |
CN105074622B (en) | For generating the method and its electronic device of writing data | |
CN107025211A (en) | The imitation chi suspension control method and device of font analysis | |
US10529102B2 (en) | Image processing system, image processing apparatus, image processing method, and program | |
CN107209862B (en) | Identification device and information storage medium | |
US20170277423A1 (en) | Information processing method and electronic device | |
CN114120382A (en) | Testing method and device of face recognition system, electronic equipment and medium | |
JP2001134766A (en) | Device and method for identifying image |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200605 |
|
CF01 | Termination of patent right due to non-payment of annual fee |