WO2019037352A1 - 书写笔迹的对齐显示方法、电子装置及可读存储介质 - Google Patents
书写笔迹的对齐显示方法、电子装置及可读存储介质 Download PDFInfo
- Publication number
- WO2019037352A1 WO2019037352A1 PCT/CN2017/116632 CN2017116632W WO2019037352A1 WO 2019037352 A1 WO2019037352 A1 WO 2019037352A1 CN 2017116632 W CN2017116632 W CN 2017116632W WO 2019037352 A1 WO2019037352 A1 WO 2019037352A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- writing
- handwriting
- coordinate
- reference line
- alignment
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/60—Creating or editing images; Combining images with text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
Definitions
- the present invention relates to the field of computer technologies, and in particular, to an alignment display method for writing a handwriting, an electronic device, and a readable storage medium.
- touch-screen devices eg, electronic whiteboards, smart tablets
- touch-screen devices are increasingly being used in everyday learning, work, and life instead of traditional paper-and-pencil writing.
- Most of the existing touch screen devices have the function of writing and recording, and the user can directly write on the touch screen of the touch screen device, and the device does not need to convert the written content, but directly stores the content written by the user, thereby enabling the user to
- an experience similar to the real pen writing is obtained, and at the same time, the personalization and diversification of the user's writing content can be improved.
- the content of the content written by the user in the touch screen device may be uneven, affecting the appearance and bringing about a bad user experience.
- the embodiment of the invention provides an alignment display method for writing handwriting, an electronic device and a readable storage medium, which can automatically align the written handwriting and improve the user experience.
- Embodiments of the present invention provide an alignment display method for writing a handwriting, including: at an electronic device having a touch-sensitive surface:
- the identifying obtains at least two writing strokes located in the display interface and a current first coordinate of each of the writing strokes, specifically:
- the determining the unit of arrangement according to the first coordinate of each of the writing strokes is specifically:
- the generating the alignment reference line corresponding to the selected arrangement unit specifically includes:
- An alignment reference line is generated based on the start point coordinates and the end point coordinates.
- the generating the alignment reference line of the selected arrangement unit specifically includes:
- An alignment reference line of the arrangement unit is generated according to the first coordinate.
- the method further includes:
- the writing stroke corresponding to the alignment reference line is correspondingly moved according to the movement of the alignment reference line.
- the method further includes:
- the arrangement unit is a row or a column.
- the present invention also provides an alignment display method for writing a handwriting, comprising: at an electronic device having a touch-sensitive surface:
- the identifying obtains at least two writing strokes located in the display interface and a current first coordinate of each of the writing strokes, specifically:
- the acquiring at least two writing strokes corresponding to the sliding operation, and generating an alignment reference line corresponding to the sliding operation specifically:
- An alignment reference line is generated based on the first coordinate of the first passing written handwriting of the sliding operation and the first coordinate of the last passed writing handwriting.
- the acquiring at least two writing strokes corresponding to the sliding operation, and generating a pair with the sliding operation The alignment line should be aligned, specifically:
- a writing handwriting having a distance from the alignment reference line smaller than a preset distance is set as a writing handwriting corresponding to the sliding operation.
- the method further includes:
- the writing stroke corresponding to the alignment reference line is correspondingly moved according to the movement of the alignment reference line.
- the method further includes:
- Embodiments of the present invention also provide an alignment display method for writing a handwriting, including: at an electronic device having a touch-sensitive surface:
- the alignment reference line corresponding to the associated arrangement unit is generated according to the first coordinate of the first writing stroke of the arrangement unit;
- an arrangement unit to which the writing handwriting belongs specifically:
- the identifying the currently input writing handwriting and acquiring the first coordinate of the currently input writing handwriting is specifically:
- An embodiment of the present invention further provides an electronic device having a touch-sensitive surface, including:
- a first identifying unit configured to identify at least two writing strokes located in the display interface and a current first coordinate of each of the writing strokes
- An arranging unit determining unit configured to determine an arranging unit to which it belongs according to the first coordinate of each of the writing handwritings
- a first reference line generating unit configured to generate an alignment reference line corresponding to the selected arrangement unit
- a first moving unit configured to determine a second coordinate of each of the written handwritings on the selected arrangement unit according to the alignment reference line, and move each of the writing handwritings belonging to the arrangement unit Display to the corresponding second coordinate.
- An embodiment of the present invention further provides an electronic device having a touch-sensitive surface, including:
- a second identifying unit configured to identify at least two writing strokes located in the display interface and a current first coordinate of each of the writing strokes
- a sliding operation detecting unit for detecting a sliding operation on the touch-sensitive surface
- a second reference line generating unit configured to acquire at least two writing handwritings corresponding to the sliding operation, and generate an alignment reference line corresponding to the sliding operation
- a second moving unit configured to determine second coordinates of the at least two writing strokes according to the alignment reference line, and move each of the writing handwritings to the second coordinates for display.
- An embodiment of the present invention further provides an electronic device having a touch-sensitive surface, including:
- a third identifying unit configured to identify a currently input writing handwriting, and acquire a first coordinate of the currently input writing handwriting
- Arranging unit determining unit configured to determine an arrangement unit to which the writing handwriting belongs according to the first coordinate of the writing handwriting
- a third moving unit configured to determine a second coordinate of the writing handwriting according to the alignment reference line, and move the writing handwriting to the second coordinate for display.
- An embodiment of the present invention further provides an electronic device having a touch-sensitive surface, further comprising at least one memory and at least one processor;
- the memory includes at least one executable program stored therein;
- the executable program when executed by the at least one processor, causes the processor to implement the aligned display method of the written handwriting described above.
- An embodiment of the present invention further provides a readable storage medium, the readable storage medium comprising a stored computer program, wherein, when the computer program is running, controlling a device where the readable storage medium is located to perform a writing handwriting as described above
- the alignment display method is described above.
- the method for aligning the writing handwriting, the electronic device and the readable storage medium determine the first coordinate of each writing handwriting, determine the arrangement unit of the writing hand according to the first coordinate, and determine the alignment reference line.
- the automatic alignment of the writing strokes is performed according to the alignment reference line, thereby realizing the automatic alignment of the writing handwriting, so that the user's handwriting book remains beautiful and tidy, and the user experience is improved.
- the embodiment of the invention has the advantages of simple alignment operation, fast operation and the like.
- FIG. 1 is a schematic flow chart of a method for displaying an alignment of a writing handwriting according to a first embodiment of the present invention.
- FIG. 2 is a schematic diagram showing the writing handwriting on the electronic device according to the first embodiment of the present invention.
- FIG. 3 is a schematic diagram of generating a minimum rectangular frame for each written handwriting provided by the first embodiment of the present invention.
- FIG. 4 is a schematic diagram of generating an alignment reference line according to a first embodiment of the present invention.
- FIG. 5 is a schematic diagram of another generation alignment alignment line provided by the first embodiment of the present invention.
- Figure 6 is a schematic illustration of the alignment of writing strokes in accordance with the alignment reference line generated in Figure 4.
- Figure 7 is a schematic illustration of the alignment of written strokes in accordance with the alignment reference lines generated in Figure 5.
- FIG. 8 is a schematic flow chart of a method for displaying an alignment of a writing handwriting according to a second embodiment of the present invention.
- FIG. 9 is a schematic diagram of a moving alignment reference line according to a second embodiment of the present invention.
- FIG. 10 is a schematic diagram of another mobile alignment reference line according to a second embodiment of the present invention.
- FIG. 11 is a schematic flow chart of a method for displaying an alignment of a writing handwriting according to a third embodiment of the present invention.
- Figure 12 is a schematic illustration of a rotary writing handwriting provided by a third embodiment of the present invention.
- FIG. 13 is a schematic flow chart of a method for displaying alignment of a writing handwriting according to a fourth embodiment of the present invention.
- FIG. 14 is a schematic diagram of a sliding operation according to a fourth embodiment of the present invention.
- Figure 15 is a schematic illustration of the alignment of writing strokes in accordance with the sliding operation of Figure 14.
- FIG. 16 is a schematic diagram of another sliding operation according to a fourth embodiment of the present invention.
- Figure 17 is a schematic illustration of the alignment of writing strokes in accordance with the sliding operation of Figure 16;
- FIG. 18 is a schematic flow chart of a method for displaying alignment of a writing handwriting according to a fifth embodiment of the present invention.
- 19 is a schematic diagram of a minimum rectangular frame for generating a written handwriting enclosing an input according to a fifth embodiment of the present invention.
- FIG. 20 is a schematic diagram showing alignment of input writing strokes according to a fifth embodiment of the present invention.
- FIG. 21 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
- FIG. 22 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention.
- FIG. 23 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention.
- FIG. 1 is a schematic diagram showing an alignment display method of a writing handwriting according to a first embodiment of the present invention, which may be performed by an electronic device having a touch-sensitive surface, and includes at least the following steps:
- the electronic device may be an electronic device having a touch-sensitive surface such as a smart tablet, an electronic whiteboard, an electronic tablet, a smart phone, etc., wherein the touch-sensitive surface may be a capacitive screen or a resistive screen.
- the infrared screen or the like is not specifically limited in the present invention.
- the user performs writing on the touch-sensitive surface of the electronic device, and after detecting the touch operation of the user, the electronic device generates a corresponding writing handwriting and writes the writing Handwriting is displayed on the display Show.
- the user can trigger a written handwriting alignment request to align the written handwriting, wherein the written handwriting alignment request can be triggered by triggering a predetermined control provided on the display interface (such as the "handwriting alignment" control shown in FIG. 2)
- the issuance may also be performed by performing a predefined alignment gesture on the touch-sensitive surface, which is not specifically limited by the present invention.
- the electronic device after detecting the writing handwriting alignment request, the electronic device first identifies the writing handwriting on the display interface to identify that all the writing handwritings located in the display interface and each of the writing handwritings are currently obtained. The first coordinate.
- the electronic device after recognizing a writing handwriting, the electronic device generates a minimum rectangular frame 02 surrounding the writing handwriting, and sets the coordinates of the preset reference point 03 of the minimum rectangular frame to The first coordinate of the writing stroke.
- the preset reference point may be a center point of the minimum rectangular frame, or may be four vertices or an arbitrarily selected one point, which is not specifically limited in the present invention.
- the rectangular frame may not be limited, and the first coordinate of each written handwriting may be determined by a circular frame or a frame of other shapes, and all of the solutions are in the protection scope of the present invention. Therefore, I will not repeat them here.
- the minimum rectangular frame may or may not be displayed, and the present invention is not specifically limited.
- S103 Determine, according to the first coordinate of each of the writing strokes, an arrangement unit to which it belongs.
- the unit of arrangement to which the writing is to be obtained may be obtained according to the first coordinate thereof.
- the arrangement unit here may be a row or a column.
- the user selects one of the writing strokes ("Q" as shown in FIG. 4) as the end, and then executes the first operation gesture, and uses the first coordinate at the end as a starting point to generate the sliding.
- a ray when the length of the ray is greater than a preset threshold or the user performs the lifting operation, the electronic device takes the end point of the ray as the end point coordinate, and then extracts the first of the arranged units to which the selected ending writing stroke belongs
- the first coordinate of the writing handwriting ie, "book" is used as the starting point coordinate, and the starting point coordinate and the ending point coordinate are connected to generate an alignment reference line 04.
- the user can select a writing handwriting as a reference point by performing a second operation gesture (such as long press) (may be any one of the writing strokes, such as the pen in FIG. 5) "), then according to
- S105 Determine, according to the alignment reference line, a second coordinate of each of the written handwritings on the selected arrangement unit, and move each of the writing handwritings belonging to the arrangement unit to a corresponding second The coordinates are displayed.
- the second coordinates of each of the written handwritings on the selected arrangement unit may be determined according to the alignment reference line, wherein each The second coordinate of the writing stroke is located on the alignment reference line, and the abscissa of the second coordinate is consistent with the abscissa of the first coordinate.
- each of the writing strokes belonging to the arrangement unit may be moved to a corresponding second coordinate for display.
- the method for aligning the writing handwriting determines the first coordinate of each writing handwriting, determines the arrangement unit of the writing handwriting according to the first coordinate, and determines the alignment reference line, and according to the alignment.
- the reference line automatically aligns the writing handwriting, thereby realizing automatic alignment of the writing handwriting, so that the user's handwritten book is kept beautiful and tidy, and the user experience is improved.
- the embodiment of the invention has the advantages of simple alignment operation, fast operation and the like.
- a second embodiment of the present invention provides an alignment display method for writing a handwriting.
- the second embodiment of the present invention adds the following steps to the first embodiment:
- the user can move the generated alignment reference line, and after the alignment reference line is moved, the electronic device regenerates the second coordinate of each written handwriting according to the position of the alignment reference line, and according to the The movement of the alignment reference line moves the writing stroke corresponding to the alignment reference line accordingly.
- the moving alignment reference line may be such that the alignment reference line is rotated around a point (as shown in FIG. 9), or the entire alignment reference line (as shown in FIG. 10) may be translated.
- the alignment reference line is rotated around a point (as shown in FIG. 9), or the entire alignment reference line (as shown in FIG. 10) may be translated.
- the user can achieve more diverse alignment, for example, oblique alignment, positive alignment, etc., while the alignment operation of the embodiment Simple, very user-friendly, and improved user experience.
- a third embodiment of the present invention provides an alignment display method for writing a handwriting.
- the second embodiment of the present invention adds the following steps to the first embodiment:
- each of the writing handwritings is After moving to the corresponding second coordinate for display, the angle between the alignment reference line and the horizontal line of the touch-sensitive surface is also obtained, and the angle is correspondingly rotated according to the angle Turn the writing handwriting corresponding to the alignment reference line as shown in FIG.
- the rotary writing handwriting is corresponding, so that the final displayed writing handwriting is more in line with the user's viewing habit.
- a fourth embodiment of the present invention provides an alignment display method for writing a handwriting, including:
- the embodiment may be performed by an electronic device having a touch-sensitive surface, wherein the electronic device may be an electronic device having a touch-sensitive surface such as an electronic whiteboard, a smart tablet, an electronic tablet, a smart phone, etc., wherein the touch-sensitive surface herein It may be a capacitive screen, a resistive screen, an infrared screen, etc., and the invention is not specifically limited.
- the electronic device may be an electronic device having a touch-sensitive surface such as an electronic whiteboard, a smart tablet, an electronic tablet, a smart phone, etc., wherein the touch-sensitive surface herein It may be a capacitive screen, a resistive screen, an infrared screen, etc., and the invention is not specifically limited.
- At least two writing strokes located in the display interface may be first identified, and a minimum rectangular frame surrounding each of the writing handwritings may be generated, and then obtained according to coordinates of preset reference points of each of the minimum rectangular frames. The first coordinate of the corresponding written handwriting.
- S405. Determine second coordinates of the at least two writing strokes according to the alignment reference line, and move each of the writing handwritings to the second coordinates for display.
- the user can select the writing strokes to be aligned by continuously sliding, and the electronic device detects the sliding strokes that have passed by the sliding operation of the user, according to the sliding operation.
- a first coordinate of the first passing writing handwriting and a first coordinate of the last passing writing handwriting generate an alignment reference line, and then determine a second coordinate of the at least two writing handwriting according to the alignment reference line, and
- Each of the writing strokes is moved to the second coordinate for display, as shown in FIG.
- the user can perform a straight line operation on the touch-sensitive surface.
- the electronic device generates an alignment reference line according to the line drawn by the user, and then aligns with the line.
- a writing stroke in which the distance of the reference line is less than the preset distance is set to a writing handwriting corresponding to the sliding operation, determining a second coordinate of the at least two writing handwritings according to the alignment reference line, and each of the writing handwritings Move to the second coordinate for display, as shown in FIG.
- Fig. 17 since the distance between the writing hand "square" and the alignment reference line is large, it is not selected. If the user wants to select the writing stroke "square", the line can be drawn to the position of the square.
- the first coordinates of each writing handwriting are first acquired, and then the alignment reference line is determined according to the sliding operation of the user, and the writing handwritings to be aligned are determined, and the writing handwriting is automatically aligned according to the alignment reference line, thereby realizing
- the automatic alignment of the writing handwriting keeps the user's handwriting book beautiful and tidy, which improves the user experience.
- the embodiment of the invention has the advantages of simple alignment operation, fast operation and the like.
- the method further comprises:
- the alignment reference line is moved when a movement operation on the alignment reference line is detected on the touch-sensitive surface.
- the writing stroke corresponding to the alignment reference line is correspondingly moved according to the movement of the alignment reference line.
- the alignment reference line by moving the alignment reference line to simultaneously move the writing strokes on the alignment reference line, the user can achieve more diverse alignment, for example, oblique correspondence, positive alignment, etc., and at the same time, the alignment operation of the embodiment Simple and very user-friendly.
- the method further comprises:
- the rotary writing handwriting is corresponding, so that the final displayed writing handwriting is more in line with the user's viewing habit.
- a fifth embodiment of the present invention provides an alignment display method for writing a handwriting, including:
- S501 Identify the currently input writing handwriting, and acquire the first coordinate of the currently input writing handwriting.
- the embodiment may be performed by an electronic device having a touch-sensitive surface, wherein the electronic device may be an electronic device having a touch-sensitive surface such as an electronic whiteboard, a smart tablet, an electronic tablet, a smart phone, etc., wherein the touch-sensitive surface herein It may be a capacitive screen, a resistive screen, an infrared screen, etc., and the invention is not specifically limited.
- the electronic device may be an electronic device having a touch-sensitive surface such as an electronic whiteboard, a smart tablet, an electronic tablet, a smart phone, etc., wherein the touch-sensitive surface herein It may be a capacitive screen, a resistive screen, an infrared screen, etc., and the invention is not specifically limited.
- the electronic device After detecting the written handwriting "square" input by the user, the electronic device recognizes the currently input writing handwriting, generates a minimum rectangular frame surrounding the writing handwriting, and according to the minimum The coordinates of the preset reference point of the rectangular frame obtain the first coordinates of the written handwriting.
- the smallest rectangular frame in FIG. 19 may or may not be displayed, and the present invention does not describe it.
- S502. Determine an arrangement unit to which the writing stroke belongs according to the first coordinate of the writing handwriting.
- step S502 is specifically:
- the arrangement unit of the adjacent writing handwriting is set as the arrangement unit of the writing handwriting.
- the alignment reference line corresponding to the associated arrangement unit is generated according to the first coordinate of the first writing stroke of the arrangement unit, for example, the alignment reference line is the first through the first writing stroke. Coordinates, and a line that is parallel to the horizontal line of the touch-sensitive surface.
- the writing handwriting does not belong to the same arrangement unit as the adjacent writing handwriting. If the absolute value of the difference between the absolute value of the difference between the currently written writing handwriting and the abscissa of the adjacent writing handwriting and the ordinate is less than a preset threshold, the writing handwriting is identical to the adjacent writing handwriting. Arrangement unit.
- the second coordinates of the written handwriting "square” can be acquired according to the alignment reference line, and the writing handwriting is obtained. Move to the second coordinate for display (Fig. 20).
- the automatic alignment of the written handwriting is realized by acquiring the first coordinate of the currently input writing handwriting and the alignment reference line of the associated arrangement unit, and automatically aligning the input writing handwriting according to the alignment reference line.
- the user's handwriting book is kept beautiful and tidy, which improves the user experience.
- the embodiment of the invention has the advantages of simple alignment operation, fast operation and the like.
- a sixth embodiment of the present invention further provides an electronic device 600, where the electronic device 600 includes:
- the first alignment request response unit 610 is configured to respond to the written handwriting alignment request.
- the first identifying unit 620 is configured to identify at least two writing strokes located in the display interface and a current first coordinate of each of the writing strokes.
- the arranging unit determining unit 630 is configured to determine an arranging unit to which it belongs according to the first coordinate of each of the writing handwritings.
- the first reference line generating unit 640 is configured to generate an alignment reference line corresponding to the selected arrangement unit.
- a first moving unit 650 configured to determine, according to the alignment reference line, a second coordinate of each of the written handwritings on the selected arrangement unit, and each of the writing handwritings belonging to the arrangement unit Move to the corresponding second coordinate for display.
- the first identifying unit 620 includes:
- a minimum rectangular frame generating module for identifying at least two writing handwritings located in the display interface and generating a minimum rectangular frame surrounding each of the writing handwritings;
- a first coordinate acquiring module configured to obtain a first coordinate of the corresponding written handwriting according to coordinates of the preset reference point of each of the minimum rectangular frames.
- the arrangement unit determining unit 630 is specifically configured to acquire coordinate difference values of two adjacent writing strokes, and determine the two adjacent writings when the absolute value of the coordinate difference value is less than a preset threshold value.
- the handwriting belongs to the same arrangement unit.
- the first baseline generating unit 640 specifically includes:
- An end point coordinate detecting module configured to detect an end point coordinate generated when the first operation gesture is performed on the selected end writing stroke
- a starting point coordinate extraction module configured to extract, as the starting point coordinate, a first coordinate of the first writing handwriting of the selected arrangement unit to which the selected writing handwriting belongs;
- connection module configured to generate an alignment reference line according to the starting point coordinate and the end point coordinate.
- the first baseline generating unit 640 specifically includes:
- a reference point extraction module configured to: when detecting a second operation gesture performed on the selected writing hand as the reference point, extract the first coordinate of the writing handwriting as the reference point and the associated arrangement unit;
- a baseline generating module configured to generate an aligned reference line of the arranged unit according to the first coordinate.
- the method further comprises:
- a writing hand movement unit configured to correspondingly move the writing handwriting corresponding to the alignment reference line according to the movement of the alignment reference line.
- the method further comprises:
- Writing a handwriting rotation unit for acquiring an angle between the alignment reference line and a horizontal line of the touch-sensitive surface, and rotating a writing handwriting corresponding to the alignment reference line according to the included angle.
- a seventh embodiment of the present invention further provides an electronic device 700, where the electronic device 700 includes:
- the second alignment request response unit 710 is configured to respond to the writing stroke alignment request:
- a second identifying unit 720 configured to identify that at least two writing strokes located in the display interface and a current first coordinate of each of the writing strokes are obtained;
- a sliding operation detecting unit 730 for detecting a sliding operation on the touch-sensitive surface
- a second reference line generating unit 740 configured to acquire at least two writing handwritings corresponding to the sliding operation, and generate an alignment reference line corresponding to the sliding operation;
- the second moving unit 750 is configured to determine second coordinates of the at least two writing strokes according to the alignment reference line, and move each of the writing handwritings to the second coordinates for display.
- the second identifying unit 720 specifically includes:
- a minimum rectangular frame generating module for identifying at least two writing handwritings located in the display interface and generating a minimum rectangular frame surrounding each of the writing handwritings;
- a first coordinate acquiring module configured to obtain a first coordinate of the corresponding written handwriting according to coordinates of the preset reference point of each of the minimum rectangular frames.
- the second baseline generating unit 740 specifically includes:
- a first writing handwriting acquiring module configured to acquire at least two writing handwritings through which the sliding operation passes;
- a first alignment reference line generating module configured to generate an alignment reference line according to the first coordinate of the first passing writing handwriting and the first coordinate of the last passing writing handwriting of the sliding operation.
- the second baseline generating unit 740 specifically includes:
- a second alignment reference line generating module configured to set a straight line generated according to the sliding operation as an alignment reference line
- a second writing handwriting acquiring module configured to set a writing handwriting whose distance from the alignment reference line is less than a preset distance to a writing handwriting corresponding to the sliding operation.
- the method further comprises:
- a writing hand movement unit configured to correspondingly move the writing handwriting corresponding to the alignment reference line according to the movement of the alignment reference line.
- the method further comprises:
- Writing a handwriting rotation unit for acquiring an angle between the alignment reference line and a horizontal line of the touch-sensitive surface, and rotating a writing handwriting corresponding to the alignment reference line according to the included angle.
- an eighth embodiment of the present invention further provides an electronic device 800, where the electronic device 800 includes:
- a third identifying unit 810 configured to identify a currently input writing handwriting, and acquire a first coordinate of the currently input writing handwriting
- the arranging unit determining unit 820 is configured to determine an arranging unit to which the writing handwriting belongs according to the first coordinate of the writing handwriting;
- the alignment reference line obtaining unit 830 is configured to acquire an alignment reference line corresponding to the associated arrangement unit
- the third moving unit 840 is configured to determine a second coordinate of the writing handwriting according to the alignment reference line, and move the writing handwriting to the second coordinate for display.
- the alignment reference line corresponding to the associated arrangement unit is generated according to the first coordinate of the first writing stroke of the arrangement unit;
- the arrangement unit determining unit 820 specifically includes:
- An adjacent writing handwriting acquiring module configured to acquire an adjacent writing handwriting adjacent to the writing handwriting
- a judging module configured to determine, according to the writing handwriting and the first coordinate of the adjacent writing handwriting, whether the two writing handwritings belong to the same arrangement unit;
- the third identifying unit 810 specifically includes:
- a minimum rectangular frame generating module for identifying a currently input writing handwriting and generating a minimum rectangular frame surrounding the writing handwriting
- a first coordinate acquiring module configured to obtain a first coordinate of the writing handwriting according to coordinates of a preset reference point of the minimum rectangular frame.
- a ninth embodiment of the present invention also provides an electronic device having a touch-sensitive surface, at least one memory, and at least one processor; the touch-sensitive surface and the memory coupled to the at least one processor .
- the memory includes at least one executable program stored therein; the executable program, when executed by the at least one processor, causing the processor to implement the writing stroke of any of the above embodiments Align the display method.
- a tenth embodiment of the present invention further provides a readable storage medium, the readable storage medium comprising a stored computer program, wherein, when the computer program is running, controlling a device in which the readable storage medium is located performs the above An alignment display method for writing a handwriting according to an embodiment.
- the computer program can be partitioned into one or more units, the one or more units being stored in the memory and executed by the processor, To complete the present invention.
- the one or more units may be a series of computer program instructions segments capable of performing a particular function for describing the execution of the computer program in an electronic device having a touch-sensitive surface.
- the electronic device may be a terminal device such as a smart phone, a tablet, or a smart tablet.
- the electronic device can include, but is not limited to, a processor, a memory. It will be understood by those skilled in the art that the schematic diagram is merely an example of an electronic device and does not constitute a limitation on an electronic device, which may include more or less components than those illustrated, or combine some components, or Different components, such as the electronic device, may also include input and output devices, network access devices, buses, and the like.
- the so-called processor can be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
- the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device that operates different levels of pictures, and connects the entire electronic device by using various interfaces and lines. Various parts of it.
- the memory can be used to store the computer program and/or module, the processor implementing the operation by running or executing a computer program and/or module stored in the memory, and recalling data stored in the memory Various functions of terminal devices of different levels of pictures.
- the memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created based on the use of the mobile phone (such as audio data, phone book, etc.).
- the memory may include a high-speed random access memory, and may also include non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), and a Secure Digital (SD) card.
- non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), and a Secure Digital (SD) card.
- Flash Card at least one disk storage device, flash memory device, or other volatile solid-state storage device.
- the electronic device integrated unit can be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the present invention implements all or part of the processes in the foregoing embodiments, and may also be completed by a computer program to instruct related hardware.
- the computer program may be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when the program is executed by the processor.
- the computer program comprises computer program code, which may be in the form of source code, object code form, executable file or some intermediate form.
- the computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM). , random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- the device embodiment of the present invention provides a drawing The connection relationship between the modules indicates that there is a communication connection between them, and specifically can be implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement without any creative effort.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (18)
- 一种书写笔迹的对齐显示方法,其特征在于,包括:在具有触敏表面的电子装置处:响应书写笔迹对齐请求;识别获得位于显示界面中的至少两个书写笔迹以及每个所述书写笔迹当前的第一坐标;根据每个所述书写笔迹的第一坐标确定其所属的排列单位;生成与被选中的排列单位对应的对齐基准线;根据所述对齐基准线确定所述被选中的排列单位上的每个所述书写笔迹的第二坐标,并将属于所述排列单位上的每个所述书写笔迹移动至对应的第二坐标进行显示。
- 根据权利要求1所述的书写笔迹的对齐显示方法,其特征在于,所述识别获得位于显示界面中的至少两个书写笔迹以及每个所述书写笔迹当前的第一坐标,具体为:识别位于显示界面中的至少两个书写笔迹,并生成包围每个所述书写笔迹的最小矩形框;根据每个所述最小矩形框上的预设参考点的坐标获得对应的书写笔迹的第一坐标。
- 根据权利要求1所述的书写笔迹的对齐显示方法,其特征在于,所述根据每个所述书写笔迹的第一坐标确定其所属的排列单位具体为:获取相邻的两个书写笔迹的坐标差值,且当坐标差值的绝对值小于预设的阈值时,确定这两个相邻的书写笔迹属于同一个排列单位。
- 根据权利要求1所述的书写笔迹的对齐显示方法,其特征在于,所述生成与被选中的排列单位对应的对齐基准线具体包括:检测对选中的作为结尾的书写笔迹执行第一操作手势时生成的终点坐标;提取所述选中的作为结尾的书写笔迹所属的排列单位的首个书写笔迹的第一坐标作为起点坐标;根据所述起点坐标及所述终点坐标,生成对齐基准线。
- 根据权利要求1所述的书写笔迹的对齐显示方法,其特征在于,所述生成被选中的排列单位的对齐基准线具体包括:当检测对选中的作为基准点的书写笔迹执行第二操作手势时,提取所述作为基准点的书写笔迹的第一坐标及所属的排列单位;根据所述第一坐标生成所述排列单位的对齐基准线。
- 根据权利要求1至5任意一项所述的书写笔迹的对齐显示方法,其特征在于,在所述根据所述对齐基准线确定所述被选中的排列单位上的每个所述书写笔迹的第二坐标,并将属于所述排列单位上的每个所述书写笔迹移动至对应的第二坐标进行显示之后,还包括:当在触敏表面上检测到对所述对齐基准线的移动操作时,移动所述对齐基准线;根据所述对齐基准线的移动相应移动与所述对齐基准线对应的书写笔迹。
- 根据权利要求1至5任意一项所述的书写笔迹的对齐显示方法,其特征在于,在所述根据所述对齐基准线确定所述被选中的排列单位上的每个所述书写笔迹的第二坐标,并将属于所述排列单位上的每个所述书写笔迹移动至对应的第二坐标进行显示之后,还包括:获取所述对齐基准线与触敏表面的水平线的夹角,并根据所述夹角相应旋转与所述对齐基准线对应的书写笔迹。
- 根据权利要求1所述的书写笔迹的对齐显示方法,其特征在于,所述排列单位为行或者列。
- 一种书写笔迹的对齐显示方法,其特征在于,包括:在具有触敏表面的电子装置处:响应书写笔迹对齐请求;识别获得位于显示界面中的至少两个书写笔迹以及每个所述书写笔迹当前的第一坐标;检测在所述触敏表面上的滑动操作;获取与所述滑动操作对应的至少两个书写笔迹,并生成与所述滑动操作对应的对齐基准线;根据所述对齐基准线确定所述的至少两个书写笔迹的第二坐标,并将每个所述书写笔迹移动至所述第二坐标进行显示。
- 根据权利要求9所述的书写笔迹的对齐显示方法,其特征在于,所述获取与所述滑动操作对应的至少两个书写笔迹,并生成与所述滑动操作对应的对齐基准线,具体为:获取所述滑动操作所经过的至少两个书写笔迹;根据所述滑动操作第一个经过的书写笔迹的第一坐标及最后一个经过的书写笔迹的第一坐标生成对齐基准线。
- 根据权利要求9所述的书写笔迹的对齐显示方法,其特征在于,所述获取与所述滑动操作对应的至少两个书写笔迹,并生成与所述滑动操作对应的对齐基准线,具体为:将根据所述滑动操作生成的直线设置为对齐基准线;将与所述对齐基准线的距离小于预设距离的书写笔迹设置为与所述滑动操作对应的书写笔迹。
- 一种书写笔迹的对齐显示方法,其特征在于,包括:在具有触敏表面的电子装置处:识别当前输入的书写笔迹,并获取当前输入的所述书写笔迹的第一坐标;根据所述书写笔迹的第一坐标确定其所属的排列单位;获取所属的排列单位对应的对齐基准线;根据所述对齐基准线确定所述书写笔迹的第二坐标,并将所述书写笔迹移动至所述第二坐标进行显示。
- 根据权利要求12所述的书写笔迹的对齐显示方法,其特征在于,所述所属的排列单位对应的对齐基准线根据该排列单位的首个书写笔迹的第一坐标生成;则所述根据所述书写笔迹的第一坐标确定其所属的排列单位,具体为:获取与所述书写笔迹相邻的相邻书写笔迹;根据所述书写笔迹及所述相邻书写笔迹的第一坐标判断这两个书写笔迹是否属于相同的排列单位;若是,将所述相邻书写笔迹的排列单位设置为所述书写笔迹的排列单位;若否,则为所述书写笔迹创建新的排列单位和对齐基准线。
- 一种电子装置,具有触敏表面,其特征在于,包括:第一对齐请求响应单元,用于响应书写笔迹对齐请求;第一识别单元,用于识别获得位于显示界面中的至少两个书写笔迹以及每个所述书写笔迹当前的第一坐标;排列单位确定单元,用于根据每个所述书写笔迹的第一坐标确定其所属的排列单位;第一基准线生成单元,用于生成与被选中的排列单位对应的对齐基准线;第一移动单元,用于根据所述对齐基准线确定所述被选中的排列单位上的每个所述书写笔迹的第二坐标,并将属于所述排列单位上的每个所述书写笔迹移动至对应的第二坐标进行显示。
- 一种电子装置,具有触敏表面,其特征在于,包括:第二对齐请求响应单元,用于响应书写笔迹对齐请求:第二识别单元,用于识别获得位于显示界面中的至少两个书写笔迹以及每个所述书写笔迹当前的第一坐标;滑动操作检测单元,用于检测在触敏表面上的滑动操作;第二基准线生成单元,用于获取与所述滑动操作对应的至少两个书写笔迹,并生成与所述滑动操作对应的对齐基准线;第二移动单元,用于根据所述对齐基准线确定所述的至少两个书写笔迹的第二坐标,并将每个所述书写笔迹移动至所述第二坐标进行显示。
- 一种电子装置,具有触敏表面,其特征在于,包括:第三识别单元,用于识别当前输入的书写笔迹,并获取当前输入的所述书写笔迹的第一坐标;排列单位确定单元,用于根据所述书写笔迹的第一坐标确定其所属的排列单位;对齐基准线获取单元,用于获取所属的排列单位对应的对齐基准线;第三移动单元,用于根据所述对齐基准线确定所述书写笔迹的第二坐标,并将所述书写笔迹移动至所述第二坐标进行显示。
- 一种电子装置,具有触敏表面,其特征在于,还包括至少一个存储器以及至少一个处理器;所述存储器,包括存储于其中的至少一个可执行程序;所述可执行程序在由所述至少一个处理器执行时,使得所述处理器实现如权利要求1至13中任一项所述的书写笔迹的对齐显示方法。
- 一种可读存储介质,其特征在于,所述可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述可读存储介质所在设备执行如权利要求1至13中任意一项所述的书写笔迹的对齐显示方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710722555.0A CN107608612A (zh) | 2017-08-21 | 2017-08-21 | 书写笔迹的对齐显示方法、电子装置及可读存储介质 |
| CN201710722555.0 | 2017-08-21 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019037352A1 true WO2019037352A1 (zh) | 2019-02-28 |
Family
ID=61065458
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/116632 Ceased WO2019037352A1 (zh) | 2017-08-21 | 2017-12-15 | 书写笔迹的对齐显示方法、电子装置及可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107608612A (zh) |
| WO (1) | WO2019037352A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112860157A (zh) * | 2019-11-12 | 2021-05-28 | 广州视源电子科技股份有限公司 | 显示元素调整方法、装置、设备及存储介质 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108805108B (zh) * | 2018-07-17 | 2024-03-12 | 珠海向导科技有限公司 | 一种板书笔迹记录方法 |
| CN113335825B (zh) * | 2020-03-03 | 2022-12-23 | 兰剑智能科技股份有限公司 | 货位动态定位方法、装置和电子设备 |
| CN112434489B (zh) * | 2020-11-24 | 2024-03-12 | 深圳市明源云科技有限公司 | 图表文件处理方法及装置 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060045345A1 (en) * | 2004-08-26 | 2006-03-02 | Yuan-Heng Wu | Method for inputting and permuting original scripts to external mobile phone and the device for performing the same |
| CN106547730A (zh) * | 2015-09-22 | 2017-03-29 | 北大方正集团有限公司 | 版面对象自动调整方法及装置 |
| CN107003994A (zh) * | 2014-11-25 | 2017-08-01 | 三星电子株式会社 | 用于修正手写字符的方法和设备 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101183283A (zh) * | 2007-12-04 | 2008-05-21 | 哈尔滨工业大学深圳研究生院 | 一种直接写入手写体信息的方法 |
| CN101916174B (zh) * | 2010-06-28 | 2013-01-09 | 汉王科技股份有限公司 | 电子文档笔迹的显示方法及装置、处理方法及装置 |
-
2017
- 2017-08-21 CN CN201710722555.0A patent/CN107608612A/zh active Pending
- 2017-12-15 WO PCT/CN2017/116632 patent/WO2019037352A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060045345A1 (en) * | 2004-08-26 | 2006-03-02 | Yuan-Heng Wu | Method for inputting and permuting original scripts to external mobile phone and the device for performing the same |
| CN107003994A (zh) * | 2014-11-25 | 2017-08-01 | 三星电子株式会社 | 用于修正手写字符的方法和设备 |
| CN106547730A (zh) * | 2015-09-22 | 2017-03-29 | 北大方正集团有限公司 | 版面对象自动调整方法及装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112860157A (zh) * | 2019-11-12 | 2021-05-28 | 广州视源电子科技股份有限公司 | 显示元素调整方法、装置、设备及存储介质 |
| CN112860157B (zh) * | 2019-11-12 | 2022-06-24 | 广州视源电子科技股份有限公司 | 显示元素调整方法、装置、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107608612A (zh) | 2018-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104123078B (zh) | 输入信息的方法和设备 | |
| CN108459836A (zh) | 批注显示方法、装置、设备及存储介质 | |
| CN108733296B (zh) | 书写笔迹的擦除方法、装置和设备 | |
| CN103718149B (zh) | 一种文本的处理方法及触屏设备 | |
| CN108334486A (zh) | 表格控制方法、装置、设备及存储介质 | |
| CN103902222B (zh) | 触摸屏滑动调整方法、调整装置及触控设备 | |
| TWI656472B (zh) | 介面調整方法及電子裝置 | |
| EP2869174A1 (en) | Method and device for text input and display of intelligent terminal | |
| WO2019037352A1 (zh) | 书写笔迹的对齐显示方法、电子装置及可读存储介质 | |
| CN110045840A (zh) | 一种书写轨迹关联的方法、装置、终端设备和存储介质 | |
| CN110045909A (zh) | 基于书写轨迹的椭圆处理方法、装置、设备及存储介质 | |
| WO2018010316A1 (zh) | 桌面页面管理的方法及装置 | |
| CN106598623A (zh) | 一种图片组合模板的生成方法及移动终端 | |
| CN110069205A (zh) | 一种书写轨迹调整的方法、装置、终端设备和存储介质 | |
| CN104881225A (zh) | 一种调节条的控制方法和装置 | |
| WO2020215719A1 (zh) | 基于键盘的操作处理方法、装置、设备及介质 | |
| CN103235694A (zh) | 一种电子书阅读器的翻页方法、装置和移动终端 | |
| CN105022579A (zh) | 基于图像处理的虚拟键盘的实现方法和装置 | |
| KR101891306B1 (ko) | 사람과 기계의 상호작용을 구현하는 방법 및 장치 | |
| CN106528080A (zh) | 一种移动终端的应用图标的放置方法和移动终端 | |
| CN108492349B (zh) | 书写笔画的处理方法、装置、设备和存储介质 | |
| CN102707891B (zh) | 一种校准触屏输入的方法和移动终端 | |
| CN107479729A (zh) | 触控点的定位方法、装置、系统、显示终端以及书写笔 | |
| CN108363485A (zh) | 非触摸屏显示终端的控制方法、装置、系统和计算机设备 | |
| CN110333780A (zh) | 功能触发方法、装置、设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17922772 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17922772 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.10.2020) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17922772 Country of ref document: EP Kind code of ref document: A1 |