WO2021077539A1 - Procédé et appareil d'ajustement graphique, dispositif et support de stockage - Google Patents

Procédé et appareil d'ajustement graphique, dispositif et support de stockage Download PDF

Info

Publication number
WO2021077539A1
WO2021077539A1 PCT/CN2019/121742 CN2019121742W WO2021077539A1 WO 2021077539 A1 WO2021077539 A1 WO 2021077539A1 CN 2019121742 W CN2019121742 W CN 2019121742W WO 2021077539 A1 WO2021077539 A1 WO 2021077539A1
Authority
WO
WIPO (PCT)
Prior art keywords
geometric
graphic
writing
target
graphics
Prior art date
Application number
PCT/CN2019/121742
Other languages
English (en)
Chinese (zh)
Inventor
吴诗乐
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2021077539A1 publication Critical patent/WO2021077539A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Definitions

  • This application relates to the technical field of electronic whiteboards, for example, to a graphic adjustment method, device, device, and storage medium.
  • the present application provides a graphic adjustment method, device, equipment, and storage medium to solve the technical problem that the graphic cannot be adjusted accurately and simply in the related art.
  • this application provides a graphics adjustment method, including:
  • the graphic is adjusted so that the target geometric attribute is the geometric attribute of the adjusted graphic.
  • the method After displaying the first writing track in response to the received first writing operation, the method includes:
  • the geometric features include edges, corners, or axes, and each target geometric attribute corresponds to one geometric feature.
  • the marking the corresponding geometric features in the graphics includes:
  • the geometric feature corresponding to the target geometric attribute is a corner or an axis
  • a mark of the geometric feature is added to the graphic.
  • the method further includes:
  • an adjustment failure prompt is displayed.
  • the display of graphics in the canvas includes:
  • a graphic corresponding to the graphic template selection operation is displayed on the canvas.
  • the method further includes:
  • the reshaped first writing trajectory is displayed, and the reshaped first writing trajectory is more computer-drawn elements.
  • this application also provides a graphics adjustment method, including:
  • a first writing operation is received, and a first writing trajectory is obtained according to the first writing operation, and the first writing trajectory is recognized to determine a target geometric attribute represented by the first writing trajectory, and the target geometric attribute includes At least one of length parameter and angle parameter;
  • the graphic is adjusted according to the target geometric attribute, so that the target geometric attribute is used as the geometric attribute of the adjusted graphic.
  • the recognizing the first writing trajectory to determine the target geometric attribute represented by the first writing trajectory includes:
  • a geometric feature corresponding to the first data parameter in the graph is determined, and the geometric feature includes an edge, a corner, or an axis.
  • the first writing track includes at least one group
  • At least one of number recognition, symbol recognition, and character recognition is performed on each group of the first writing trajectories to determine the first data parameter and feature type represented by each group of the first writing trajectory.
  • the figure is a polygon
  • the determining, according to the feature type, the geometric feature corresponding to the first data parameter in the graph includes:
  • the geometric feature closest to the first position data is searched, and the found geometric feature is used as the geometric feature corresponding to the first data parameter.
  • the method After recognizing the first writing trajectory to determine the geometric attributes of the target represented by the first writing trajectory, the method includes:
  • the adjusting the graphics according to the target geometric attributes includes:
  • the figure is adjusted according to the target geometric attribute.
  • the geometric characteristic corresponding to the target geometric attribute is searched in the figure, the actual geometric attribute of the geometric characteristic is determined, and the target geometric attribute and the geometric characteristic are determined.
  • the actual geometric attributes determine the modification range, and adjust the graphics according to the modification range; or,
  • the corresponding geometric feature is searched in the figure according to the unique determination condition of the figure, the actual geometric attribute of the geometric feature is determined, and the target geometry
  • the attributes and the actual geometric attributes adjust the graphics.
  • the graphic is a polygon, and the adjusting the graphic according to the target geometric attribute includes:
  • the adjusted graph is displayed according to the second position data.
  • the determining the second position data of all vertices in the graph according to the target geometric attributes includes:
  • the second position data of the vertex is determined according to the second data parameter.
  • the display of graphics in the canvas includes:
  • Graphic recognition is performed on the second writing trajectory to determine the graphic represented by the second writing trajectory.
  • this application also provides a graphics adjustment device, including:
  • the first display module is used to display graphics in the canvas
  • the second display module is configured to display a first writing trajectory in response to the received first writing operation, the first writing trajectory representing a target geometric attribute, and the target geometric attribute includes at least one of a length parameter and an angle parameter;
  • the first adjustment module is configured to adjust the graphics so that the target geometric attributes are used as the geometric attributes of the adjusted graphics.
  • this application also provides a graphics adjustment device, including:
  • the third display module is used to display graphics on the canvas
  • the operation receiving module is configured to receive a first writing operation, and obtain a first writing trajectory according to the first writing operation; to recognize the first writing trajectory to determine the target geometric attribute represented by the first writing trajectory,
  • the target geometric attribute includes at least one of a length parameter and an angle parameter;
  • the second adjustment module is configured to adjust the graphics according to the target geometric attributes, so that the target geometric attributes are used as the geometric attributes of the adjusted graphics.
  • this application also provides a graphics adjustment device, including:
  • One or more processors are One or more processors;
  • Memory used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the graphics adjustment method according to the first aspect or the second aspect.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the graphics adjustment method as described in the first aspect or the second aspect is implemented.
  • the above-mentioned graphic adjustment method, device, equipment and storage medium display the graphic on the canvas, and after receiving the first writing operation, display the first writing trajectory for representing the geometric properties of the target, wherein the geometric properties of the target include length parameters Afterwards, the technical means of adjusting the graphics according to the target geometric attributes realizes the adjustment of the graphics displayed in the canvas by handwriting parameters, so that the adjusted graphics can be more in line with the user’s expectations. And the accuracy of graphics adjustment is high.
  • the operation process is simple and convenient, and does not require high user proficiency, which is convenient for users to realize and enhances user experience; inputting graphics by handwriting or computer drawing makes the graphics input methods diversified; marking geometric features can be The user is prompted that the geometric attributes of the target have been identified, thereby ensuring that the graphics adjustment process is carried out accurately.
  • FIG. 1 is a flowchart of a graph adjustment method provided in Embodiment 1 of this application;
  • FIG. 2 is a schematic diagram of the first interface of the canvas provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of a second interface of the canvas provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of the third interface of the canvas provided by an embodiment of the application.
  • FIG. 5 is a flowchart of a graph adjustment method provided in Embodiment 2 of this application.
  • FIG. 6 is a schematic diagram of a fourth interface of the canvas provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of the fifth interface of the canvas provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of the sixth interface of the canvas provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of a seventh interface of the canvas provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of the eighth interface of the canvas provided by an embodiment of the application.
  • FIG. 11 is a schematic diagram of the ninth interface of the canvas provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of the tenth interface of the canvas provided by an embodiment of the application.
  • FIG. 13 is a schematic diagram of the eleventh interface of the canvas provided by an embodiment of the application.
  • FIG. 14 is a schematic diagram of the twelfth interface of the canvas provided by an embodiment of the application.
  • 15 is a schematic diagram of the thirteenth interface of the canvas provided by an embodiment of the application.
  • 16 is a schematic diagram of the fourteenth interface of the canvas provided by an embodiment of the application.
  • FIG. 17 is a schematic diagram of the fifteenth interface of the canvas provided by an embodiment of the application.
  • FIG. 18 is a flowchart of a graph adjustment method provided in Embodiment 3 of this application.
  • FIG. 19 is a flowchart of a graph adjustment method provided by Embodiment 4 of this application.
  • 20 is a schematic diagram of the sixteenth interface of the canvas provided by an embodiment of the application.
  • FIG. 21 is a schematic structural diagram of a graphic adjustment device provided by Embodiment 5 of this application.
  • FIG. 22 is a schematic structural diagram of another graphic adjustment device provided by Embodiment 5 of this application.
  • FIG. 23 is a schematic structural diagram of a graphics adjustment device provided in Embodiment 6 of this application.
  • first and second are only used to distinguish one entity or operation or object from another entity or operation or object, and do not necessarily require or imply these entities Or any such actual relationship or sequence exists before the operation or object.
  • first and second of the first writing operation and the second writing operation are used to distinguish two different touch operations.
  • the graphics adjustment method provided in the embodiments of the present application can be executed by a graphics adjustment device.
  • the graphics adjustment device can be implemented by at least one of software and hardware.
  • the graphics adjustment device may be composed of two or more physical entities, or It is a physical entity.
  • the graphics adjustment device may be a smart device such as a computer, a mobile phone, a tablet, or a smart interactive tablet.
  • a smart interactive tablet is used as a graphics adjustment device for exemplary description.
  • the smart interactive tablet can be an integrated device that controls the content displayed on the display tablet through touch technology and realizes human-computer interaction. It integrates a projector, an electronic whiteboard, a screen, a sound, a TV, and a video conference. One or more functions such as a terminal.
  • the smart interactive tablet includes at least one display screen.
  • the smart interactive tablet is equipped with a display screen with touch function, and the display screen can be a capacitive screen, a resistive screen or an electromagnetic screen.
  • the user can realize touch operation by touching the display screen with a finger or a stylus.
  • the smart interactive tablet detects the touch position, and determines the response plan according to the display content corresponding to the touch position, and then responds to realize the touch Features. For example, it is determined that the corresponding display content is the writing area according to the touch position. At this time, the response scheme is to display the writing track. It is understandable that in practical applications, users can also implement control operations through keyboards, mice, physical keys, and other methods.
  • At least one type of operating system is installed on the smart interactive tablet, where the operating system includes but is not limited to the Android system, the Linux system, and the Windows system.
  • the smart interactive tablet can install at least one application program based on the operating system.
  • an application program with a drawing function is used for exemplary description.
  • an electronic whiteboard application with a drawing function is installed in a smart interactive tablet.
  • the application program may be an application program that comes with the operating system, or may be an application program downloaded from a third-party device or server.
  • the application also has other editing functions, such as writing, inserting tables, inserting pictures, inserting multimedia, inserting graphics, and drawing tables.
  • an operable area is set in the display interface of an application program, and the operable area can be recorded as a canvas, through which an interactive interface for drawing or editing can be displayed to the user.
  • the display position of the canvas can be set according to actual needs.
  • the size of the canvas can be set according to actual conditions, and it can be a finite size or an infinite size.
  • a first coordinate system is established in the canvas, and the origin of the first coordinate system can be set according to actual conditions.
  • the infinite size of the canvas means that the canvas can be infinitely reduced or increased in the coordinate system according to the actual needs of the user.
  • a second coordinate system is established in the display screen, and the origin of the second coordinate system can also be set according to actual conditions.
  • the second coordinate system is a coordinate system with a fixed size.
  • the second coordinate system has a corresponding relationship with the electrical component that detects the touch operation.
  • the electrical component parameters of the corresponding position change.
  • the smart interactive tablet will change according to the electrical component parameters.
  • Determine the coordinate data of the touch operation in the second coordinate system that is, determine the touch position of the touch operation, and then determine the touch operation in the first coordinate system according to the mapping relationship between the second coordinate system and the first coordinate system Then, respond to touch operations based on the display content of the coordinate data in the canvas.
  • the embodiment of the method for determining the mapping relationship is not limited.
  • adjusting the geometric characteristics of the graphics in the canvas is taken as an example to describe the graphics adjustment method.
  • FIG. 1 is a flowchart of a graph adjustment method provided in Embodiment 1 of this application.
  • the graphic adjustment method specifically includes:
  • Step 110 Display graphics on the canvas.
  • the figure is a geometric figure, which can be a polygon, a circle-like figure, etc., when the figure is a polygon, it can be selected as a regular convex polygon (such as a triangle, a square, a regular five-sided) Shape, etc.).
  • the graphic can be input by the user by handwriting or by selecting a graphic template.
  • the user can perform a writing operation on the canvas, where the writing operation is a type of touch operation.
  • the smart interactive tablet displays the writing trajectory and performs graphic recognition on the writing trajectory to determine the type of graphic input by the user.
  • the displayed graphic belongs to the graphic handwritten by the user.
  • the graphic template corresponding to each graphic type is displayed in the canvas.
  • the intelligent interactive tablet determines that the user selects the graphic template
  • the graphic is displayed in the canvas according to the graphic template.
  • the displayed graphics belong to the standard graphics drawn by the computer.
  • the way the user selects the graphic template can be set according to the actual situation. For example, the graphic template is dragged to the canvas through a drag operation, and the smart interactive tablet obtains the end position of the drag operation, and displays the graphic at the end position.
  • the graphics corresponding to the template is dragged to the canvas through a drag operation, and the smart interactive tablet obtains the end position of the drag operation, and displays the graphic at the end position.
  • each graphic type corresponds to a graphic template, wherein the classification basis of the graphic type can be set according to the actual situation, for example, according to the number of graphic edges.
  • the graphic type includes at least: circle, triangle Class, quadrilateral class, pentagon class, etc.
  • Each type can also be subdivided.
  • the quadrilateral type can also include: square type, rectangular type, parallelogram type, trapezoid type and other graphic types.
  • Triangle type can also include right-angled triangle type, isosceles triangle type, and ordinary triangle type. And other graphic types.
  • the above-mentioned end position may refer to coordinate data in the first coordinate system or coordinate data in the second coordinate system, which is not limited in the embodiment.
  • Step 120 In response to the received first writing operation, display a first writing trajectory, the first writing trajectory represents a target geometric attribute, and the target geometric attribute includes at least one of a length parameter and an angle parameter.
  • the geometric attributes are the parameters of the geometric characteristics of the graphics.
  • the geometric feature refers to the feature that determines the geometric shape when displaying graphics, and generally can include at least one of edges, corners, and axes.
  • the axis refers to other lines that can determine the shape and size of the displayed image, except for the sides.
  • the axis can refer to at least one of a radius and a diameter.
  • the axis can refer to a certain side. perpendicular.
  • the geometric properties include length parameters and angle parameters.
  • the corresponding geometric attribute is a length parameter
  • the corresponding geometric attribute is an angle parameter
  • the geometric feature contained in the figure is an axis
  • the geometric feature contained in the figure is at least one of edges and corners.
  • the geometric attribute refers to the length parameter of the axis.
  • the axis is at least one of a radius and a diameter.
  • the geometric attribute refers to at least one of the length parameter of the radius and the length parameter of the diameter.
  • the axis is at least one of the minor axis, major axis, minor minor axis and major minor axis.
  • the geometric attributes refer to the minor axis length parameter, major axis length parameter, minor minor axis length parameter, and major half axis. At least one of the length parameters.
  • the geometric attribute refers to at least one of the length parameter of the side and the angle parameter of the corner.
  • the geometric features include three sides and three corners.
  • the geometric attributes can be the length parameter of each side and the angle parameter of each corner.
  • the geometric features include short sides and long sides.
  • geometric attributes refer to the length parameters of the short sides and the length parameters of the long sides. It is understandable that the length and angle parameters mentioned above are all relative values. Accordingly, the range of the coordinates (in the first coordinate system or the second coordinate system) corresponding to the length unit and the angle unit can be set according to actual conditions. The embodiment does not limit this. In the embodiment, the geometric attribute input by the user is recorded as the target geometric attribute.
  • the target geometric attributes are written on the canvas by the user by handwriting.
  • the user's operation of writing the target geometric attribute is recorded as the first writing operation.
  • the embodiment of the trigger mode of the first writing operation is not limited. For example, when it is determined that the canvas is currently in writing mode, it is monitored that a touch operation is received in the canvas, and the touch operation is a touch operation that includes a moving path, then it is determined that there is currently a writing behavior in the canvas, and the touch operation It is confirmed as the first writing operation, and then the writing track generated corresponding to the first writing operation is displayed at the touch position.
  • the smart interactive tablet during the user's writing process, the smart interactive tablet only receives a writing operation, and then it needs to identify the writing track of the writing operation to determine whether the writing operation is used for writing. Enter the geometric properties of the target. In the embodiment, only to distinguish the first writing operation currently received from the subsequent second writing operation, the first writing operation is interpreted as an operation for writing a target geometric attribute. For another example, set the graphics adjustment mode. When it is determined that the canvas is currently in the graphics adjustment mode, if a touch operation is detected in the canvas, it is determined that the first writing operation is received. In the embodiment, the writing trajectory corresponding to the first writing operation is recorded as the first writing trajectory. Optionally, take a number as an example.
  • the multiple first writing tracks are grouped into a group, where the setting conditions can be set according to the actual situation.
  • the setting condition is that the writing time interval of the multiple first writing tracks is within the set interval and the multiple first writing tracks
  • the distance between the writing tracks is within the set distance, and the above set interval and set distance are set according to the actual situation.
  • the advantage of grouping multiple first writing trajectories is to facilitate the management and calculation of the first writing trajectory. Taking management as an example, when moving the first writing trajectory, there is no need to calculate the movement path of each trajectory one by one, only the movement path of the smallest rectangular area containing the group of writing trajectories needs to be calculated.
  • the first writing track is set as the target geometric attribute written by the user. Since when receiving the first writing operation, the smart interactive tablet can only recognize the first writing operation and display the first writing track, it is impossible to determine whether the first writing operation is used to write the target geometric attributes. Therefore, when the first writing trajectory is displayed, the first writing trajectory needs to be recognized to determine the geometric attributes of the target represented by the first writing trajectory. Specifically, after a set of first writing trajectories are determined to be written, perform number recognition, symbol recognition, and character recognition on the first writing trajectory to determine the data parameters and feature types represented by the first writing trajectory, that is, determine the first writing trajectory Represents the geometric properties of the target. Among them, the implementation means of number recognition, symbol recognition, and character recognition are not limited in the embodiment.
  • the feature type refers to the geometric feature represented by the data parameter.
  • the graphics corresponding to the target geometric attributes it is necessary to determine the graphics corresponding to the target geometric attributes, and determine the geometric features in the graphics corresponding to the target geometric attributes.
  • the graphic when determining the graphic corresponding to the target geometric attribute, if there is only one graphic displayed, the graphic can be directly determined as the graphic corresponding to the target geometric attribute. If there are multiple graphs displayed, you can obtain the position data of the target geometric property in the canvas and the position data of each graph in the canvas, and based on the two position data, determine the graph closest to the target geometric property, and add the graph Determine the graphics corresponding to the target geometric attributes.
  • the two position data belong to the same coordinate system, which can be located in the first coordinate system or the second coordinate system, which is not limited in the embodiment.
  • all geometric features of the same type are determined in the graph according to the feature type, and the geometric feature closest to the first writing track is selected as the geometric feature corresponding to the target geometric attribute. For example, if the radius is marked as R and the diameter is marked as L, when it is confirmed that the figure is a circle and the first writing track is recognized as R3, the data parameter is determined to be R3, and the feature type is radius, that is, the target geometric attribute corresponds to The geometric feature is the radius, and the length parameter is 3.
  • the angle is set as R and the side length is L
  • the characteristic type corresponding to R60 is determined to be angle
  • the angle parameter is 60
  • the geometric feature corresponding to L5 is an edge
  • the length parameter is 5.
  • the edge with the closest distance is selected as the geometric feature corresponding to L5, and the angle is the same.
  • the angle is marked as °, and there is no sign on the side.
  • the characteristic type corresponding to 60° is an angle
  • the angle parameter is The geometric feature corresponding to 60 and 5 is an edge
  • the length parameter is 5. According to the distance between each edge and the target geometric attribute, the edge with the closest distance is selected as the geometric feature corresponding to 5, and the angle is the same.
  • the target geometric attribute may be bound to the graphic and marked in the graphic.
  • the marking method can be set according to the actual situation. For example, when the target geometric attribute is the angle parameter of an angle, a mark is added at the position of the corresponding corner. For example, when the target geometric attribute is the length data of an edge, the display parameter of the corresponding edge is changed. . For another example, when the target geometric attribute is the length data of the axis, mark the corresponding axis in the graph.
  • Step 130 Adjust the graphics so that the target geometric attributes are used as the geometric attributes of the adjusted graphics.
  • the graphics are adjusted according to the target geometric attributes, so that the adjusted graphics are displayed according to the target geometric attributes.
  • the graphics unique determination condition includes all the necessary conditions for determining the graphics.
  • the only condition for determining the circle figure can be to specify the radius length or the diameter length.
  • the only condition for determining the figure of the ellipse can be to specify the length of the minor axis and the length of the major axis, or the length of the minor axis and the length of the major axis.
  • the only condition for determining the figure of the triangle can be to clarify the length of the three sides, the length of the two sides and the angle between the two sides, or the angle of the two corners and the side between the two corners. Length etc.
  • the only condition for determining the square figure can be to specify the length of the side. Determining whether the target geometric attribute meets the unique determination condition of the figure, that is, judging whether the figure can be obtained according to the target geometric attribute, and if it is, the operation of adjusting the figure is performed; otherwise, the user is prompted that the adjustment has failed.
  • the specific method for determining whether the target geometric attribute meets the condition for determining the uniqueness of the figure can be set according to the actual situation.
  • the target geometric attribute includes the angle of two corners and the length of one side.
  • the positional relationship with an edge satisfies the unique determination condition of the figure, then it is determined that the target geometric attributes meet the unique determination condition of the figure.
  • the actual geometric attributes of the geometric features corresponding to the target geometric attributes in the graphics can be determined, where the actual geometric attributes are the geometric attributes obtained based on the graphics.
  • the actual geometric properties are relative values.
  • the target geometric attribute when the target geometric attribute does not satisfy the condition for determining the uniqueness of the figure, other geometric features can be searched in the figure according to the condition for determining the uniqueness of the figure, and the geometric features corresponding to the target geometric attributes can be found to satisfy
  • the conditions are uniquely determined for the graphics, and then the actual geometric attributes corresponding to the found geometric features are determined, and the graphics are adjusted according to the actual geometric attributes and the target geometric attributes.
  • the drawn graphics belong to the standard graphics drawn by the computer.
  • the position data of the vertices in the adjusted figure in the canvas is determined based on the target geometric properties, and then the figure is drawn based on the position data of the vertices.
  • the feature calculation formula can be called, and the length data of each side in the adjusted graph is calculated according to the feature calculation formula.
  • the feature calculation formula is pre-stored in the smart interactive tablet, and at least one of the side length and the angle can be calculated.
  • the corresponding characteristic calculation formula includes the sum of three internal angles of 180°, the Pythagorean theorem, the law of sine, the law of cosine, and so on.
  • the position data of the vertex is determined according to the length data of each side.
  • the figure is a circle figure
  • the position data of the edge of the circle figure in the canvas is directly determined based on the target geometric properties, and then the figure is drawn based on the position data of the edge.
  • the target geometric attributes are simultaneously reshaped and displayed in the graphics.
  • shaping the geometric properties of the target can be understood as shaping the first writing trajectory into a computer drawing element.
  • the relative position relationship between geometric attributes and geometric features can be set in advance, and then, based on the relative position relationship, the reshaped target geometric attributes are displayed in the graphics.
  • FIG. 2 is a schematic diagram of the first interface of the canvas provided by an embodiment of the application.
  • a graphic 11 is displayed on the current canvas.
  • the graphic 11 is a graphic input by the user by handwriting. Through graphic recognition, it is determined that the graphic 11 is a triangle.
  • FIG. 3 is a schematic diagram of a second interface of the canvas provided by an embodiment of the application.
  • the canvas contains three groups of first writing trajectories, and after the first writing trajectory is digitally recognized, it is determined that the first writing trajectories of each group are respectively: 3, 4, and 5, that is, the first writing trajectory represents the geometric properties of the target Is the length parameter of the side, and the values are 3, 4, and 5 respectively. Then, based on the distance between the target geometric attribute and the three edges in the graph 11, the edge corresponding to each target geometric attribute is determined.
  • FIG. 4 is a schematic diagram of the third interface of the canvas provided by an embodiment of the application. Referring to Fig. 4, after adjusting the graph 11, it is displayed as a standard graph drawn by a computer.
  • the operation process is simple and convenient, does not require high user proficiency, is convenient for users to realize, and improves user experience.
  • FIG. 5 is a flowchart of a graph adjustment method provided in Embodiment 2 of this application. This embodiment is embodied on the basis of the above-mentioned embodiment.
  • the graph adjustment method provided in this embodiment specifically includes:
  • Step 210 Display graphics on the canvas.
  • the setting of this step includes at least two solutions as follows:
  • Solution 1 In response to the received second writing operation, a second writing track is displayed on the canvas, and the second writing track composes a graph.
  • the touch operation of the user's handwriting drawing graphics is recorded as the second writing operation.
  • the second writing operation trigger mode can be set according to actual conditions. For example, when it is determined that the canvas is currently in the writing mode, it is monitored that a touch operation is received in the canvas, and the touch operation is a touch operation that includes a moving path. It is determined that the second writing operation is received, and the touch position of the second writing operation is acquired, and then the writing track is displayed at the touch position. It can be understood that for the smart interactive tablet, the smart interactive tablet is Only when a writing operation is received, and the writing track of the writing operation needs to be recognized later, can it be determined whether the writing operation is used to draw a graph.
  • the second writing operation is interpreted as an operation for drawing graphics.
  • the writing trajectory corresponding to the second writing operation is recorded as the second writing trajectory.
  • it can be set to group multiple writing trajectories that meet the set conditions into a group, where the grouping condition is the same as the grouping condition of the first writing trajectory, and will not be repeated here.
  • the embodiments of the identification means are not limited. For example, collect a data set containing various graphics in advance, and train the data set through machine learning to obtain a graphics recognition model. The algorithm used in training can be set according to the actual situation. After that, a set of second The writing trajectory is used as the input of the graphic recognition model, and the graphic category corresponding to the second writing trajectory can be determined through the graphic recognition model.
  • the trajectory samples corresponding to each graphic category are preset, wherein the embodiment of the setting method of the trajectory samples is not limited. Identify the second writing trajectory and each trajectory sample to obtain the trajectory sample that is most similar to the second writing trajectory, and then calculate the trajectory error between the trajectory sample and the second writing trajectory, and when the trajectory error meets the set error range At this time, the graphic type corresponding to the trajectory sample is used as the graphic type corresponding to the second writing trajectory.
  • the calculation method of the trajectory error and the setting of the error range are not limited according to the embodiment.
  • the writing trace can be displayed first, and a group of writing traces can be recognized by graphics. If the corresponding graphics cannot be recognized, then the number recognition, symbol recognition and text recognition can be performed , To determine the geometric properties of the target represented by the writing trajectory.
  • Solution 2 In response to the received graphic template selection operation, a graphic corresponding to the graphic template selection operation is displayed on the canvas.
  • the graphic template is a graphic drawn by a computer as a template.
  • a graphic template corresponding to each graphic type is displayed on the canvas, wherein the generating method and storage location of the graphic template are not limited in the embodiment.
  • the graphic template can be displayed on the set position of the canvas, or the trigger button of the graphic template is displayed at the set position. When the trigger button is detected to be triggered, the graphic template is displayed.
  • the set position can be set or modified according to the actual situation.
  • all graphics templates can be displayed; when there are many types of graphics (such as greater than the set number), graphics templates of some graphics types can be displayed, and set Set graphics template switching rules to achieve switching display graphics templates, where the switching rules can be set according to actual conditions.
  • the graphic template selection operation is an operation issued by the user to select a graphic template.
  • the smart interactive tablet draws a corresponding graphic on the canvas according to the graphic template selection operation.
  • the embodiment of the trigger mode of the graphic template selection operation is not limited. For example, when setting the graphic template to receive a drag operation, confirm that the graphic template selection operation is received, and monitor the drag operation to control the graphic template to move synchronously with the drag operation. When the end of the drag is detected, the end position is obtained, and Draw the graph at the end position. For another example, it is detected that the graphic template receives the click operation, and then the click operation is received again in other areas of the canvas, and the graphic template selection operation is determined to be received. The first click operation is used to select the graphic template.
  • the second single-click operation is used to determine the drawing position of the graph, and then, taking the drawing position as the center, draw the same type of graph as the graph template.
  • the drawing position may refer to coordinate data in the first coordinate system or coordinate data in the second coordinate system, which is not limited in the embodiment.
  • Step 220 In response to the received first writing operation, display a first writing trajectory, where the first writing trajectory represents a target geometric attribute, and the target geometric attribute includes at least one of a length parameter and an angle parameter.
  • Step 230 Mark the corresponding geometric features in the graphics based on the target geometric attributes.
  • the geometric features include edges, corners or axes, and each target geometric attribute corresponds to a geometric feature.
  • each target geometric attribute can find the corresponding geometric characteristic in the graph, and mark the geometric characteristic corresponding to each target geometric attribute.
  • marking the geometric features in the target graphic includes: when the geometric feature corresponding to the target geometric attribute is an edge, changing the display parameters of the geometric feature; when the geometric feature corresponding to the target geometric attribute is an angle or axis, adding geometry to the graphic Characteristic mark.
  • FIG. 6 is a schematic diagram of the fourth interface of the canvas provided by an embodiment of the application. Referring to FIG. 6, a graphic 201 and a target geometric attribute 202 are displayed on the canvas. It is determined that the bottom edge of the graph 201 is the geometric feature corresponding to the target geometric attribute, and the display parameters of the bottom edge are changed. At this time, the interface of the canvas changes from FIG.
  • FIG. 7 is a schematic diagram of the fifth interface of the canvas provided by an embodiment of the application. Compared with FIG. 6, the line type of the bottom edge of the graph 201 in FIG. 7 has changed. At this time, the user can be prompted to establish an association relationship between the target geometric attribute and the graph.
  • FIG. 8 is a schematic diagram of the sixth interface of the canvas provided by the embodiment of the application.
  • the graphic 203 and the target geometric attribute 204 are displayed in the canvas.
  • the target geometric attribute 204 corresponds to the bottom corner on the left side of the graphic 203.
  • Add a corner mark 205 at the bottom corner on the left to prompt the user to establish an association relationship between the target geometric attributes and the graphics. It is understandable that the display parameters of the lines in the corner marks can be modified in accordance with actual conditions.
  • the user can also directly draw corner marks when writing the target geometric attributes.
  • the smart interactive tablet can determine the angle corresponding to the target geometric attributes according to the detected corner marks, and calculate the radian of the corner marks drawn by the user. Make corrections to prompt the user that the target geometry attributes are bound to the corners.
  • FIG. 9 is a schematic diagram of the seventh interface of the canvas provided by an embodiment of the application.
  • a graphic 206 and a target geometric attribute 207 are displayed on the canvas.
  • the target geometric attribute 207 corresponds to the radius in the graphic 206.
  • the corresponding axis 208 is displayed in the graphic 206 to prompt the user of the target geometric attribute and graphic Establish an association relationship.
  • the user can also directly draw the line of the axis when writing the target geometric attributes.
  • the smart interactive tablet can determine the axis represented by the line according to the relative position of the line and the figure, and modify the line And modify the display parameters to prompt the user that the target geometric attributes are bound to the axis.
  • the multiple target geometric attributes need to be input sequentially.
  • the first set of writing trajectories are identified to determine the target geometric attributes and corresponding geometric features they represent, and then the corresponding geometric features are performed in the graphics. mark.
  • Step 240 Confirm whether the geometric attributes of the target meet the conditions for determining the uniqueness of the figure. If it is confirmed that the geometric properties of the target do not satisfy the condition for determining the uniqueness of the figure, step 250 is executed. If it is confirmed that the geometric properties of the target satisfy the condition for determining the uniqueness of the figure, step 260 is executed.
  • each type of graphics has corresponding graphics unique determination conditions. After marking the graph, call up the graph's unique determination condition corresponding to the graph. Among them, the geometric features required to determine the size of the figure are recorded in the unique determination condition of the figure, and when there are multiple geometric features, in addition to the parameters of the geometric features, the positional relationship between the geometric features is also recorded. Compare the geometric features with the geometric features recorded in the graphics unique determination condition. If there are multiple geometric features, compare the position relationship of the geometric features with the position relationship recorded in the graphics unique determination condition. If they are consistent, it is determined that the uniqueness is satisfied. Determine the conditions and execute step 260; otherwise, execute step 250. Among them, the positional relationship can be determined by the display position of the geometric feature in the canvas.
  • the figure is a circle
  • the target geometric property is the length of the radius.
  • the only condition for obtaining a circle is to specify the length of the semi-axis or the length of the diameter.
  • the figure is a rectangle, and there are two target geometric attributes, which correspond to the length parameters of the two sides respectively.
  • the only condition for obtaining the graph is to clarify the length parameters of the two adjacent sides. Since the edges corresponding to the target geometric attributes have been marked, this step can directly determine whether the two marked edges are two adjacent edges. After determining that the two marked edges are two adjacent edges At this time, it is determined that the conditions for determining the graphic position are satisfied, and step 260 is executed.
  • the method for determining adjacent edges can be set according to actual conditions. For example, when it is determined that there is an intersection point between two edges, the two edges are determined to be adjacent edges.
  • the two sides are determined to be adjacent sides according to the coordinate data of the two sides in the first coordinate system or the second coordinate system.
  • the figure is a triangle, and there are two target geometric attributes, which correspond to the length parameters of the two sides respectively.
  • the only determination condition for obtaining the graph is: clarify the length of the three sides, the length of the two sides and the angle between the two sides, or the angle of the two corners and the length of the side between the two corners, etc. Since the edges corresponding to the target geometric attributes have been marked, this step can directly clarify whether the two marked edges meet the conditions for determining the uniqueness of the figure. Determine whether the two marked edges meet any of the above-mentioned unique determination conditions for graphics. At this time, it can be known that the two marked edges do not satisfy the condition for determining the uniqueness of the graph through the above-mentioned uniqueness determination condition of the graph. And step 250 is executed.
  • Step 250 Display an adjustment failure prompt.
  • the display mode of the adjustment failure prompt can be set according to the actual situation. For example, a prompt box pops up in the canvas, and the prompt box displays the text "known attributes are insufficient, and the graph cannot be adjusted" to prompt the user that the adjustment has failed. For another example, cancel the marked geometric feature to remind the user that the adjustment has failed.
  • the advantage of setting the adjustment failure prompt is that the user can rewrite the target geometric attributes according to the prompt to accurately realize the graphic adjustment.
  • Step 260 Adjust the graphics so that the target geometric attributes are used as the geometric attributes of the adjusted graphics, and the reshaped first writing trajectory is displayed, and the reshaped first writing trajectory is a computer drawing element.
  • the graphics when adjusting the graphics, synchronously modify the first writing trajectory representing the target geometric attributes, that is, change the target geometric attributes to numbers, letters or symbols with a set font and size for display.
  • Numbers, letters, or symbols that set the font and size can be understood as elements drawn by a computer.
  • the data parameters are obtained by recognizing the first writing track
  • the characters with the same content of the data parameters and the set font and size are obtained, and when the graphics are adjusted, the first writing track is replaced with the corresponding characters synchronously. It is understandable that obtaining characters with the same content as the first writing track and setting the font and size can also be considered as shaping the target geometric attributes represented by the first writing track.
  • the benefit of reshaping is that it improves the aesthetics of the display, and the user can determine whether the intelligent interactive tablet recognizes accurately through the geometric properties of the target after reshaping.
  • all geometric features of the graph or geometric attributes corresponding to specific geometric features can be displayed in the graph. That is, when the graphics are adjusted, the geometric attributes corresponding to the remaining geometric features except the target geometric attributes are synchronously determined, and displayed with the set font and size.
  • the relative position relationship between each geometric feature and the corresponding geometric attribute is preset, and the relative position relationship is changeable.
  • the character is displayed according to the relative position relationship, that is, the geometric attribute is displayed.
  • the original first writing track is deleted.
  • the corner mark can be displayed simultaneously.
  • the geometric feature is an axis
  • the axis can be displayed simultaneously.
  • FIG. 10 is a schematic diagram of the eighth interface of the canvas provided by an embodiment of the application.
  • a graphic 209 is displayed on the canvas.
  • the graphic 209 is input by the user through a graphic template selection operation, and the graphic 209 is a triangle.
  • FIG. 11 is a schematic diagram of the ninth interface of the canvas provided by an embodiment of the application.
  • the canvas contains three sets of first writing trajectories, and after performing number recognition and symbol recognition on the first writing trajectories, the first writing trajectories are determined to be 6, 45°, and 45° respectively, and then the first writing trajectory is determined Represents the geometric properties of the target. After that, it is determined that the target geometric attributes respectively correspond to the bottom edge and the two bottom corners of the figure 209. After that, the bottom edge and two bottom corners of the figure 209 are marked. At this time, the interface of the canvas changes from Figure 11 to Figure 12.
  • FIG. 12 is a schematic diagram of the tenth interface of the canvas provided by an embodiment of the application. Figure 12 can prompt the user to establish an association relationship between the target geometric attributes and the graphics.
  • FIG. 13 is a schematic diagram of the eleventh interface of the canvas provided by an embodiment of the application. Referring to FIG. 13, after the graphic 209 is adjusted, it is displayed as a standard graphic drawn by the computer, and at the same time, the geometric attributes of all geometric features of the graphic 209 are displayed.
  • FIG. 14 is a schematic diagram of the twelfth interface of the canvas provided by an embodiment of the application.
  • a graphic 2010 is displayed on the canvas.
  • the graphic 2010 is input by the user through a graphic template selection operation, and the graphic 2010 is circular.
  • FIG. 15 is a schematic diagram of the thirteenth interface of the canvas provided by an embodiment of the application.
  • the canvas contains a set of first writing trajectories, and after performing number recognition and character recognition on the first writing trajectory, it is determined that the first writing trajectory is: R3 and represents the radius, and then it is determined that the first writing trajectory represents the geometric attributes of the target . After that, it is determined that the target geometric attribute corresponds to the radius of the figure 2010. After that, the radius of the figure 2010 is marked.
  • the interface of the canvas changes from Figure 15 to Figure 16.
  • FIG. 16 is a schematic diagram of the fourteenth interface of the canvas provided by an embodiment of the application. Figure 16 can prompt the user to establish an association relationship between the target geometric attributes and the graphics.
  • FIG. 17 is a schematic diagram of the fifteenth interface of the canvas provided by an embodiment of the application. Referring to FIG. 17, after adjusting the graphic 2010, it is displayed as a standard graphic drawn by the computer, and at the same time, the target geometric attributes are changed to the set font and size for display.
  • the first writing track used to represent the geometric properties of the target is displayed, after which the corresponding geometric features in the figure are marked, and the geometric properties of the target are confirmed.
  • the graphic is adjusted when the unique determination condition of the graphic is satisfied, so that the target geometric property is used as the technical solution of the adjusted geometric property of the graphic, which realizes the dynamic adjustment of the graphic displayed in the canvas by means of handwriting parameters.
  • Inputting graphics by handwriting or computer drawing makes the graphics input methods diversified, and by marking geometric features, the user can be reminded that the target geometric attributes have been recognized, thereby ensuring the accuracy of the graphics adjustment process.
  • the user can clarify whether the target geometric attributes can adjust the graphics, especially in teaching scenarios. Show students what geometric features and geometric attributes need to be included in the figure, making the teaching scene more flexible and vivid.
  • FIG. 18 is a flowchart of a graph adjustment method provided in Embodiment 3 of this application.
  • the graphics adjustment method provided in this embodiment and the graphics adjustment method provided in the foregoing embodiments are applied in the same usage scenarios.
  • the graphics adjustment method provided by this embodiment specifically includes:
  • Step 310 Display graphics on the canvas.
  • the setting of this step includes at least one of the following schemes:
  • Solution 1 Step 311: Receive the second writing operation, and display the second writing track according to the second writing operation.
  • the embodiment of the means of pattern recognition is not limited.
  • a machine learning method is used to train a data set composed of a large number of graphs of known categories in advance to obtain a graph recognition model.
  • the second writing trajectory is used as the input of the pattern recognition model, and the figure represented by the second writing trajectory is determined by the output result of the pattern recognition model.
  • pre-set trajectory samples of various graphics are pre-set.
  • the second writing trajectory is matched with the trajectory samples of various types of patterns one by one, and the figure corresponding to the closest trajectory sample is determined as the figure represented by the second writing trajectory.
  • the trajectory error between the second writing trajectory and the closest trajectory template needs to be within the set error range, otherwise, it is determined that the second writing trajectory cannot be recognized.
  • Solution 2 Step 313: Receive the graphic template selection operation, and confirm the graphic type selected by the graphic template selection operation.
  • the smart interactive tablet receives a touch operation. If it is determined that the touch position of the touch operation is the display position of a certain graphic template, and the touch operation of the touch operation If the control mode is a mobile operation, it is determined that the graphic template selection operation is received. After that, monitor the current touch position of the touch operation in real time, and after confirming the end of the touch operation, obtain the touch position at the end, and use the touch position at the end as the center of the graph to draw a graphic corresponding to the graphic template. Among them, after obtaining the finished touch position, identify whether the finished touch position is in the canvas, if it is in the canvas, draw the corresponding figure, otherwise, end this operation.
  • the smart interactive tablet receives a single-click touch operation, and if it is determined that the touch position of the touch operation is the display position of a certain graphic template, it is determined A graphic template selection operation is received. After that, a graphic corresponding to the graphic template is drawn in the set position of the canvas. After drawing the graph, the user can move the graph in the canvas.
  • the smart interactive tablet receives the touch operation in the form of a click for the first time, and determines that the touch position of the touch operation is the display position of a certain graphic template , If within the set time interval, the touch operation in the form of a click is received again in the canvas, it is determined that the graphic template selection operation is received, and the touch position of the re-click is obtained, and then the touch position is drawn as the center of the graphic The graphics corresponding to the graphics template.
  • the display sizes of various types of graphics are preset, and when the graphics are drawn according to the selection operation of the graphics template, they are displayed according to the preset display size.
  • Step 320 Receive the first writing operation, and obtain the first writing trajectory according to the first writing operation, and recognize the first writing trajectory to determine the target geometric attribute represented by the first writing trajectory.
  • the target geometric attribute includes a length parameter and an angle parameter. At least one.
  • the touch operation After displaying the graphics, if it is monitored again that the touch operation is received in the canvas, and the touch operation includes a movement path, it is determined that the first writing operation is received, and the touch position of the first writing operation is obtained, and then the touch position Display the first writing track.
  • text recognition and symbol recognition are used.
  • text recognition is used to recognize the numbers and characters contained in the first writing track
  • symbol recognition is used to determine the meaning of the symbols in the first writing track.
  • the specific means of text recognition and symbol recognition are not limited in the embodiment.
  • the numerical recognition model can realize text recognition and symbol recognition.
  • the first writing trajectory is used as the input of the numerical recognition model, and the output of the numerical recognition model is determined as the data parameter represented by the first writing trajectory.
  • the training method of the numerical recognition model can be set according to the actual situation.
  • a corresponding numerical recognition model can be set for each type of graphics.
  • the first writing trajectory is compared with preset trajectory templates of each data parameter, and the most similar trajectory template is selected as the data parameter represented by the first writing trajectory. Then, based on the data parameters, determine the feature type represented by the first writing trajectory, that is, whether the first writing trajectory is the geometric attribute of an edge, a corner or an axis, and then obtain the target geometric attribute represented by the first writing trajectory, where different features can be preset Type composition rules.
  • the marking method of the axis is preset, for example, for a circle, a line segment whose radius and diameter are both in the vertical direction is preset, and then the vertical radius or diameter can be marked in the circle.
  • the position data of each geometric feature in the canvas can be determined based on the position data of each vertex in the polygon, and then the geometric feature of the same kind closest to the target geometric attribute is selected as the corresponding geometric feature, for example, the target
  • the geometric attribute is a length parameter
  • the edge closest to the target geometric attribute is selected as the corresponding geometric feature
  • the target geometric attribute is an angle parameter
  • the angle closest to the target geometric attribute is selected as the corresponding geometric feature.
  • Step 330 Adjust the graphics according to the target geometric attributes, so that the target geometric attributes are used as the geometric attributes of the adjusted graphics.
  • a unique graphic can be obtained according to the target geometric properties, and then the position of the graphic in the canvas is determined, and then the graphic is displayed on the canvas according to the position, and the original graphic in the canvas is deleted.
  • each type of graph corresponds to a graph definite model, for example, a circle corresponds to a circle definite model, and an ellipse corresponds to an ellipse definite model.
  • the circle determination model is taken as an example.
  • the circle determination model is a model obtained by training a large number of circles with different radius lengths and diameters and their different positions in the canvas through machine learning, and combines the target geometric attributes and The position of the edge of the circle in the current canvas is also used as the input of the circle determination model, and the position of the edge of the circle output by the circle determination model in the canvas is obtained. After that, draw the adjusted circle on the canvas based on the position.
  • the graphics are polygons
  • different types of graphics have different feature calculation formulas.
  • the parameters of the remaining geometric features in the graphics are calculated through the feature calculation formulas to obtain the unique graphics.
  • the graphic deterministic model corresponding to this type of graphic is obtained, wherein each type of graphic corresponds to a type of graphic deterministic model.
  • the graphics determination model is a model obtained by training the graphics with different geometric attributes and the different positions of the vertices of the graphics in the canvas through machine learning.
  • the parameters of the geometric characteristics of the graphics are determined, the parameters and the current canvas
  • the position of the edge of the middle figure is used as the input of the figure determination model, and the position of each vertex of the figure determination model output in the canvas is obtained. After that, the adjusted figure is drawn on the canvas based on the vertex position.
  • the first writing trajectory is recognized to determine the target geometric attribute represented by the first writing trajectory, and then, according to the target geometry
  • the technical solution of attribute adjustment graphics realizes the adjustment of the graphics displayed in the canvas by means of handwriting parameters, so that the adjusted graphics can better meet the expectations of users.
  • the accuracy of the graphics adjustment is high, which meets the user's adjustment expectations.
  • the operation process is simple and convenient, does not require high user proficiency, is convenient for users to realize, and improves user experience.
  • FIG. 19 is a flowchart of a graph adjustment method provided by Embodiment 4 of this application. This embodiment is embodied on the basis of the above-mentioned embodiment. Referring to FIG. 19, the graphics adjustment method provided by this embodiment specifically includes:
  • Step 401 Display graphics on the canvas.
  • Step 402 Receive a first writing operation, and obtain a first writing trajectory according to the first writing operation, and identify the first writing trajectory to determine the first data parameter and feature type represented by the first writing trajectory.
  • the user may input multiple target geometric attributes.
  • the first writing trajectory corresponding to each target geometric attribute is determined as a group.
  • the grouping mode can be set according to the actual situation. For example, when the writing time interval of the multiple first writing tracks is within the set interval and the distance between the multiple first writing tracks is within the set distance, then multiple writing tracks are determined.
  • the first writing trajectory is a set of writing trajectories. At this time, it can be clear that the first writing track includes at least one group.
  • this step specifically includes: performing at least one of number recognition, symbol recognition, and character recognition on each group of first writing trajectories to determine the first data parameter and feature type represented by each group of first writing trajectories.
  • number recognition, symbol recognition, and character recognition are taken as examples.
  • text recognition refers to the recognition of letters.
  • the target geometric attributes include the first data parameter and the feature type.
  • the first data parameter refers to the track content determined after recognizing the first writing track, and the track content includes numbers, symbols, and letters. Therefore, the first data parameter can be obtained through number recognition, symbol recognition, and character recognition.
  • the implementation means embodiments of number recognition, symbol recognition, and character recognition are not limited.
  • a numerical recognition model is constructed by means of machine learning, so as to obtain at least one of the numbers, symbols, and letters represented by the first writing trajectory through the numerical recognition model.
  • standard writing trajectories corresponding to different numbers, symbols, and letters are preset, and then the first writing trajectory is matched with each standard writing trajectory to determine at least one of the numbers, symbols, and letters identified by the first writing trajectory.
  • the first data parameters obtained after recognizing the first writing track include: the number 45, the symbol °
  • the first data parameters obtained after recognizing the first writing track include: the letter R, The number 3.
  • the identification means also needs to be changed accordingly.
  • the identification means may only use number identification.
  • the character recognition should also include Chinese character recognition.
  • the feature type refers to the type of geometric feature corresponding to the first data parameter.
  • Feature types include edges, corners, and shafts.
  • the feature type is axis, it specifically includes radius, diameter, short semi-axis, long semi-axis, etc.
  • pre-set the parameter composition rules for each feature type For example, the parameter composition rules of edges are numbers, the parameter composition rules of angles are numbers and the symbol "°", and the parameter composition rules of axes are letters and numbers.
  • the feature type can be obtained by combining the parameter combination rules.
  • the first writing track contains a number and a symbol "°". Therefore, it can be determined that the feature type is an angle.
  • the geometric attributes of the target represented by the first written trajectory can be determined by the first data parameter and the feature type.
  • each group of first writing trajectories can be identified separately.
  • the first writing trajectory is monitored in real time, and when the writing of a group of first writing trajectories is confirmed, the first writing trajectory of the group is recognized. After confirming that the writing of the next set of first writing trajectories is completed, the next set of first writing trajectories are recognized.
  • the first data parameter and the characteristic type may be determined at the same time, or the first data parameter may be determined first, and then the characteristic type may be determined, or the characteristic type may be determined first, and then the first data parameter may be determined.
  • different recognition models are set for different types of graphics in advance.
  • the recognition model adopts a machine learning method and is obtained after training a large number of first writing trajectories with known first data parameters and feature types.
  • the first data parameter can be obtained by using the data recognition model to identify the first writing track, and then the first data parameter can be identified by the composition rule of the feature type. Determine the geometric characteristics of the first data parameter.
  • Step 403 Determine the geometric feature corresponding to the first data parameter in the graph according to the feature type.
  • the geometric feature includes an edge, a corner, or an axis.
  • this step specifically includes: Steps 4031-4033:
  • Step 4031 Obtain all geometric features that meet the feature type in the graph.
  • the feature type of the first writing track is an edge or a corner.
  • the position data of each edge in the graph in the canvas is obtained, that is, all geometric features satisfying the feature type as an edge are obtained in the graph.
  • the position data of each vertex in the graph in the canvas can be obtained in advance, and then the position data of the corresponding edge can be determined according to the position data of the vertex.
  • the position data of each vertex in the graph is obtained, and the position data is used as the position data of the corresponding angle, that is, all geometric features satisfying the feature type as an angle are obtained in the graph.
  • the method for determining the vertex position data can be set according to actual conditions.
  • the position data of the intersection of the trajectories are synchronously acquired as the position data of the vertex.
  • the position data of the trajectory intersection point is synchronously determined as the position data of the vertex.
  • Step 4032 Acquire first position data of the first writing track.
  • the first position data of the first writing trajectory has already been obtained. Therefore, the first position data can be directly obtained in this step.
  • Step 4033 Among all geometric features satisfying the feature type, search for the geometric feature closest to the first position data, and use the found geometric feature as the geometric feature corresponding to the first data parameter.
  • the location data of each edge in the graph is compared with the first location data to determine the edge closest to the first location data, and the edge is taken as the edge corresponding to the first data parameter.
  • the method of comparing the position data of each side with the first position data may be: determining the minimum area of the first position data (the smallest rectangular area containing the first position data), and at the same time, determining the minimum area of each side (The smallest rectangular area containing the side), then, calculate the distance between the center points of the two smallest areas, and take the side corresponding to the smallest distance as the closest geometric feature of the first position data.
  • FIG. 20 is a schematic diagram of the sixteenth interface of the canvas provided by an embodiment of the application.
  • the graphics in the canvas are triangles. Among them, the three sides of the triangle correspond to the minimum area 41, the minimum area 42, and the minimum area 43, respectively.
  • the first position data of the first writing track corresponds to the minimum area 44. At this time, the center point of the minimum area 44 and the minimum area 41 are respectively calculated. , The minimum area 42 and the distance between the center points of the minimum area 43, after which the minimum area 42 is determined to be the closest to the minimum area 44. At this time, the edge corresponding to the minimum area 42 is taken as the geometry corresponding to the target geometric attribute represented by the first writing trajectory feature. It can be understood that the minimum area shown in the figure is only easy to understand, and the minimum area will not be displayed in actual applications.
  • the position data of each vertex in the graph is compared with the first position data to determine the vertex closest to the first position data, and the angle corresponding to the vertex is taken as the angle corresponding to the first data parameter.
  • the method of comparing the position data of the vertex with the first position data may be to obtain any coordinate position in the vertex, calculate the distance between the coordinate position and the minimum area center point of the first position data, and take the angle corresponding to the minimum distance, and The side corresponding to the angle is regarded as the closest angle of the first position data.
  • step 403 is specifically: selecting a corresponding geometric feature in the figure according to the feature type as the geometric feature corresponding to the first data parameter in the figure.
  • the geometric feature is usually an axis.
  • the graphic is a circle and the feature type is a radius
  • any radius of the circle or a set radius (such as the radius on the right in the horizontal direction) can be directly obtained as the radius corresponding to the first data parameter.
  • the graph is an ellipse and the feature type is the short semi-axis
  • Half shaft is the set short semi-axis, any short semi-axis, or the short semi-axis closest to the first data parameter.
  • Step 404 Establish an association relationship between the target geometric attribute and the corresponding geometric feature in the graph, and mark the geometric feature.
  • an association relationship between the target geometric attributes and the geometric features is established, for example, the same identification is added for the target geometric attributes and the geometric features.
  • Step 405 Determine whether the target geometric attribute meets the graphics unique determination condition of the graphics, and each type of graphics corresponds to the unique determination condition of one type of graphics. If the target geometric attribute meets the condition for determining the uniqueness of the figure, step 406 is executed. If the target geometric attribute does not satisfy the condition for determining the uniqueness of the figure, step 407 is executed.
  • each type of graphics is provided with graphics unique determination conditions. After the type of graphics is identified, the corresponding graphics unique determination conditions can be obtained, and then it is determined whether the target geometric attributes meet the graphics unique determination conditions.
  • the figure is a polygon
  • all target geometric attributes of the figure are obtained, and then it is determined whether the geometric features corresponding to all the target geometric attributes meet the conditions for determining the uniqueness of the figure. For example, when the figure is a triangle, determine that the geometric features corresponding to the target geometric attributes are one side and two corners, and confirm that the position relationship between the above geometric features is that the side is located between the two corners.
  • the graphics unique determination condition is compared to confirm whether the position relationship is consistent with the position relationship in the graphics unique determination condition. If so, it is determined that the graphics unique determination condition is satisfied; otherwise, it is determined that the graphics unique determination condition is not satisfied.
  • the position relationship can be determined by the position data of each geometric feature in the canvas.
  • the figure when the figure is a rectangle, determine that the geometric features corresponding to the target geometric properties are the two sides in the rectangle, and confirm that the positional relationship between the two sides is adjacent, and then compare with the positional relationship in the unique determination condition of the figure. Yes, to confirm whether the positional relationship is consistent with the positional relationship in the graphics unique determination condition.
  • the figure is a round figure
  • the graphics uniquely determine the conditions. For example, when the graphic is circular, the feature type of the target geometric attribute is radius, which is consistent with the feature type (radius or diameter) in the unique determination condition of the circular graphic. Therefore, it is determined that the unique determination condition of the graphic is satisfied.
  • the feature type of the target geometric attribute is the semi-minor axis, which is inconsistent with the feature type (the semi-minor axis and the semi-major axis, or the minor axis or the major axis) that uniquely determines the condition of the ellipse. , It is determined that the unique determination condition of the graph is not satisfied.
  • Step 406 Adjust the graphics according to the target geometric attributes.
  • this step includes steps 4061 to 4062:
  • Step 4061 Determine the second position data of all vertices in the graph according to the target geometric attributes.
  • setting this step includes 40611-step 40613:
  • Step 40611 retrieve the feature calculation formula of the graph.
  • each type of graph has a corresponding characteristic calculation formula.
  • the characteristic calculation formula of a triangle includes the Pythagorean theorem, the law of sine, and the law of cosine.
  • the characteristic calculation formula of a square is that the side lengths are equal, and each internal angle is 90°.
  • Step 40612 Substitute the target geometric attributes into the feature calculation formula to calculate the second data parameter of each edge in the graph.
  • the second data parameter of each side in the graph can be obtained, where the second data parameter represents the length parameter of the corresponding side. It is understandable that in some cases, multiple feature calculation formulas are required to obtain the second data parameter of each edge in the graph.
  • the sequence of substituting each feature calculation formula can be determined, where the substituting sequence can be set according to actual conditions, for example, the fastest obtaining of the second data parameter of each side as a criterion determines the substituting sequence.
  • step 407 is executed.
  • Step 40613 Determine the second position data of the vertex according to the second data parameter.
  • the position of each vertex in the adjusted graph on the canvas is recorded as the second position data.
  • the second position data is obtained through the graphic determination model.
  • the second data parameters and the position data of the current vertices of the graphic are used as the input of the graphic determination model, and the position data output by the graphic data model is recorded as the adjusted graphic The second position data of each vertex.
  • the position data of a vertex in the current graph is used as the adjusted second position data of the vertex, and then the second position data of the remaining vertices are determined based on the second data parameter.
  • Step 4062 display the adjusted graph according to the second position data.
  • the position data of each edge after adjustment can be obtained, and then a new graph is drawn on the canvas as the adjusted graph according to the position data of each edge. At the same time, delete the original graphics in the canvas.
  • the first writing track is reshaped and displayed in the adjusted graph.
  • the embodiment of the shaping means is not limited. Pre-set the relative position relationship between the target geometric attributes and the graphics, and after shaping, display the target geometric attributes in the graphics according to the relative position relationship.
  • Step 407 Confirm and execute the subsequent execution plan.
  • an execution plan can be set and executed as a follow-up execution plan according to the actual situation.
  • the subsequent execution plan includes any of the following execution plans:
  • Solution 1 Display the adjustment failure prompt.
  • the adjustment failure prompt is triggered, and the preset prompt box display content and display position are called.
  • the control display screen displays the prompt box according to the display content and display position to prompt the user that the adjustment has failed. At this point, it can continue to detect whether the first writing operation is received, and after receiving the first writing operation, continue to perform the above operations, and confirm whether the graphics can be adjusted.
  • Solution 2 Find the geometric features corresponding to the target geometric attributes in the graphics, determine the actual geometric attributes of the geometric features, determine the modification range according to the target geometric attributes and the actual geometric attributes, and adjust the graphics according to the modification range.
  • the first data parameter is 5.
  • the geometric properties of the target do not satisfy the condition for determining the uniqueness of the figure, and the actual geometric properties of the edges corresponding to the geometric properties of the target in the rectangle are obtained.
  • the actual geometric property is 4.
  • the modification range is determined to be 5/4.
  • find an adjacent side of the side corresponding to the target geometric property in the rectangle and confirm that the actual geometric property of the adjacent side is 8.
  • the result of 8*5/4 is used as the adjusted geometric property of the adjacent side .
  • the graphics are adjusted according to the target geometric attributes and the adjusted geometric attributes. It can be understood that at this time, the adjustment method is the same as the adjustment method when the unique determination condition of the graph is satisfied. I won't repeat them here.
  • the first data parameter is 5.
  • the geometric properties of the target do not satisfy the condition for determining the uniqueness of the figure, and the actual geometric properties of the minor semi-axis corresponding to the geometric properties of the target in the ellipse are obtained.
  • the actual geometric property is 4.
  • the modification range is determined to be 5/4.
  • search for any semi-major axis in the ellipse and confirm that the actual geometric attribute of the semi-major axis is 8.
  • the result of 8*5/4 is used as the geometric attribute of the semi-major axis after adjustment.
  • the graphics are adjusted according to the target geometric attributes and the adjusted geometric attributes. It can be understood that at this time, the adjustment method is the same as the adjustment method when the unique determination condition of the graph is satisfied. I won't repeat them here.
  • any one of the target geometric attributes and the corresponding actual geometric attributes can be selected to obtain the modification range.
  • other target geometric attributes can be modified according to the actual geometric attributes corresponding to their geometric features to ensure that graphics can be obtained.
  • Solution 3 Find the corresponding geometric features in the graphics according to the unique determination conditions of the graphics, determine the actual geometric attributes of the geometric features, and adjust the graphics according to the target geometric attributes and the actual geometric attributes.
  • the adjustment method is the same as the adjustment method when the unique determination condition of the graph is satisfied. I won't repeat them here.
  • the feature types of the two target geometric attributes are edges, and the first data parameter is 5.
  • the geometric attributes of the target do not satisfy the conditions for determining the uniqueness of the figure, and the angle between the two edges corresponding to the geometric attributes of the target is obtained according to the conditions for determining the uniqueness of the graphics.
  • the actual geometric properties of the determined angle are 70°.
  • the first writing track is recognized to obtain the first data parameter and the characteristic type, and then the first writing track is determined according to the characteristic type.
  • the first data parameter corresponds to the geometric feature in the graph, and establishes the association relationship between the target geometric property and the corresponding geometric feature.
  • the graph is adjusted according to the target geometric property, and the target geometry is confirmed
  • the technical solution of adjusting the graphic with an adjustment failure prompt or combining the actual geometric attributes of the graphic realizes the adjustment of the graphic displayed in the canvas by handwriting parameters, and the accuracy of graphic adjustment is high .
  • the geometric feature corresponding to the target geometric property can be accurately determined through the positional relationship between each geometric feature and the target geometric property, and the data parameters of the edge in the graph can be quickly and accurately obtained through the pre-stored feature calculation formula, and then accurately obtained
  • the position data of each vertex after adjustment ensures the accuracy of graphics adjustment.
  • FIG. 21 is a schematic structural diagram of a graphic adjustment device provided in Embodiment 5 of the application.
  • the graphic adjustment device includes: a first display module 501, a second display module 502, and a first adjustment module 503.
  • the first display module 501 is used to display graphics in the canvas; the second display module 502 is used to display a first writing trajectory in response to the received first writing operation, and the first writing trajectory represents the geometric attributes of the target
  • the target geometric attribute includes at least one of a length parameter and an angle parameter; the first adjustment module 503 is configured to adjust the graphic so that the target geometric attribute is used as the geometric attribute of the adjusted graphic.
  • a feature marking module which is used to respond to the received first writing operation, after displaying the first writing trajectory, and based on the target geometric attributes, to compare the corresponding geometric features in the figure Marking is performed, the geometric features include edges, corners, or axes, and each target geometric attribute corresponds to one geometric feature.
  • the feature marking module is specifically configured to: when the geometric feature corresponding to the target geometric attribute is an edge, change the display parameter of the geometric feature; the geometric feature corresponding to the target geometric attribute is an angle or axis At the time, the mark of the geometric feature is added to the graphic.
  • the fourth display module is configured to display an adjustment failure prompt when it is confirmed that the target geometric attribute does not satisfy the condition for determining the uniqueness of the figure after displaying the first writing trajectory in response to the received first writing operation .
  • the first display module 501 is specifically configured to: in response to the received second writing operation, display a second writing trajectory in the canvas, the second writing trajectory composing a graph; or, in response to receiving The graphic template selection operation that has been obtained, the graphic corresponding to the graphic template selection operation is displayed on the canvas.
  • the first adjustment module 503 is further configured to: display the reshaped first writing trajectory, and the reshaped first writing trajectory is a computer drawing element.
  • the graphic adjustment device provided above can be used to implement the graphic adjustment method provided in any one of the foregoing embodiment 1 to embodiment 2, and has corresponding functions and beneficial effects.
  • FIG. 22 is a schematic structural diagram of another graphic adjustment device provided by the fifth embodiment of the present application.
  • the graphic adjustment device includes: a third display module 504, an operation receiving module 505, and a second adjustment module 506.
  • the third display module 504 is used to display graphics in the canvas;
  • the operation receiving module 505 is used to receive a first writing operation, and obtain a first writing track according to the first writing operation, and to compare the first writing track Recognition is performed to determine the target geometric attribute represented by the first writing track, the target geometric attribute includes at least one of a length parameter and an angle parameter;
  • the second adjustment module 506 is configured to adjust the figure according to the target geometric attribute , So that the target geometric attribute is used as the geometric attribute of the adjusted figure.
  • the operation receiving module 505 includes: a trajectory determining unit for receiving a first writing operation, and obtaining the first writing trajectory according to the first writing operation, and a parameter determining unit for evaluating the first writing operation.
  • a writing track is identified to determine the first data parameter and feature type represented by the first writing track;
  • the feature confirmation unit is configured to determine the corresponding first data parameter in the graph according to the feature type Geometric features, the geometric features include edges, corners or shafts.
  • the first writing trajectory includes at least one group;
  • the parameter determining unit specifically includes: performing at least one of number recognition, symbol recognition, and character recognition on each group of the first writing trajectory to determine each group Set the first data parameter and feature type represented by the first writing track.
  • the graphic is a polygon
  • the feature confirmation unit includes: a feature acquisition subunit for acquiring all geometric features in the graphic that meet the feature type; a position acquisition subunit for acquiring the first A first position data of a writing track; a feature search subunit, used to search for the geometric feature closest to the first position data among all geometric features that satisfy the feature type, and use the found geometric feature as the all geometric features The geometric feature corresponding to the first data parameter.
  • the relationship establishment module is used to identify the first writing trajectory to determine the target geometric attribute represented by the first writing trajectory, and then establish the target geometric attribute and the figure. Corresponding to the association relationship of the geometric features, and marking the geometric features.
  • the second adjustment module 506 is specifically configured to adjust the graphics according to the target geometric attributes if the target geometric attributes meet the conditions for determining the uniqueness of the graphics, so that the target geometric attributes serve as The geometric properties of the adjusted figure.
  • a failure execution module configured to display an adjustment failure prompt if the target geometric attribute does not meet the condition for determining the uniqueness of the figure; or, if the target geometric attribute does not meet the If the figure is uniquely determined, the geometric feature corresponding to the target geometric attribute is searched in the figure, the actual geometric attribute of the geometric feature is determined, the modification range is determined according to the target geometric attribute and the actual geometric attribute, and according to The modification range adjusts the graphic; or, if the target geometric attribute does not satisfy the unique determination condition of the graphic, the corresponding geometric feature is searched in the graphic according to the unique determination condition of the graphic, and the geometric feature is determined And adjust the graphics according to the target geometric properties and the actual geometric properties.
  • the graphic is a polygon
  • the second adjustment module 506 includes: a vertex determining unit, configured to determine the second position data of all vertices in the graphic according to the target geometric attributes; and a graphic display unit, configured to The adjusted graph is displayed according to the second position data.
  • the vertex determination unit includes: a formula calling subunit for calling a feature calculation formula of the graph; a formula calculation subunit for substituting the target geometric attribute into the feature calculation formula , To calculate the second data parameter of each edge in the graph; the position determining subunit is used to determine the second position data of the vertex according to the second data parameter.
  • the third display module 504 includes: a writing receiving unit for receiving a second writing operation, and displaying the second writing track according to the second writing operation;
  • the second writing trajectory performs pattern recognition to determine the figure represented by the second writing trajectory.
  • the graphics adjustment device provided above can be used to execute the graphics adjustment method provided in any one of the third and fourth embodiments above, and has corresponding functions and beneficial effects.
  • FIG. 23 is a schematic structural diagram of a graphics adjustment device provided in Embodiment 6 of this application.
  • the description is made by taking the smart interactive tablet as the graphics adjustment device as an example.
  • the smart interactive tablet 60 includes at least one processor 61, at least one network interface 62, a user interface 63, a memory 64, and at least one communication bus 65.
  • the communication bus 65 is used to realize the connection and communication between these components.
  • the user interface 62 may include a display screen and a camera, and the optional user interface 63 may also include a standard wired interface and a wireless interface.
  • the network interface 62 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface).
  • the processor 61 may include one or more processing cores.
  • the processor 61 uses various interfaces and lines to connect the various parts of the entire intelligent interactive tablet 60, by running or executing instructions, programs, code sets, or instruction sets stored in the processor 61, and calling data stored in the memory 64 , Perform various functions of the smart interactive tablet 60 and process data.
  • the processor 61 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable logic arrays, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 61 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 61, but may be implemented by a chip alone.
  • the memory 64 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 64 includes a non-transitory computer-readable storage medium.
  • the memory 64 may be used to store instructions, programs, codes, code sets, or instruction sets.
  • the memory 64 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store the data involved in the foregoing method embodiments, etc.
  • the memory 64 may also be at least one storage device located far away from the aforementioned processor 61.
  • the memory 64 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program of a smart interactive tablet.
  • the user interface 63 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 61 can be used to call the operation application of the smart interactive tablet stored in the memory 64 Program, and specifically execute the relevant operations in the element control method in the above embodiment.
  • the operating system of the smart interactive tablet is Android.
  • the above-mentioned smart interactive tablet can be used to execute any graphics adjustment method, and has corresponding functions and beneficial effects.
  • an embodiment of the present application also provides a storage medium containing computer-executable instructions, which are used to perform related operations in the graphics adjustment method provided by any embodiment of the present application when the computer-executable instructions are executed by a computer processor. , And have corresponding functions and beneficial effects.
  • this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware.
  • this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • This application is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • the memory may include non-permanent memory in a computer readable medium, and at least one form of random access memory (RAM) and non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

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

L'appareil concerne un procédé et appareil d'ajustement graphique, dispositif et support de stockage, se rapportant au domaine de la technologie de tableau blanc électronique. Le procédé consiste : à afficher un graphique dans une zone de dessin (310) ; à recevoir une première opération d'écriture, à obtenir une première piste d'écriture selon la première opération d'écriture, et à reconnaître la première piste d'écriture de façon à déterminer un attribut géométrique cible représenté par la première piste d'écriture, l'attribut géométrique cible comprenant un paramètre de longueur et/ou un paramètre d'angle (320) ; et à ajuster le graphique en fonction de l'attribut géométrique cible, de telle sorte que l'attribut géométrique cible serve d'attribut géométrique du graphique ajusté (330). Le procédé décrit peut résoudre le problème technique de l'état de la technique selon lequel un graphique ne peut pas être ajusté de manière précise et simple.
PCT/CN2019/121742 2019-10-23 2019-11-28 Procédé et appareil d'ajustement graphique, dispositif et support de stockage WO2021077539A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911010626.XA CN110956674B (zh) 2019-10-23 2019-10-23 图形调整方法、装置、设备及存储介质
CN201911010626.X 2019-10-23

Publications (1)

Publication Number Publication Date
WO2021077539A1 true WO2021077539A1 (fr) 2021-04-29

Family

ID=69976590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/121742 WO2021077539A1 (fr) 2019-10-23 2019-11-28 Procédé et appareil d'ajustement graphique, dispositif et support de stockage

Country Status (2)

Country Link
CN (1) CN110956674B (fr)
WO (1) WO2021077539A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237309A (zh) * 2022-09-21 2022-10-25 深圳市方成教学设备有限公司 一种基于智能书写板的显示控制方法以及智能书写板

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362419A (zh) * 2021-06-01 2021-09-07 深圳须弥云图空间科技有限公司 绘图方法及相关设备
CN113496109B (zh) * 2021-07-05 2022-06-14 北京华大九天科技股份有限公司 显示矩形式多边形的方法、装置、存储介质和电子设备
CN113849118A (zh) * 2021-10-20 2021-12-28 锐捷网络股份有限公司 一种应用于电子白板的图像识别方法及相关装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080019591A1 (en) * 2006-07-19 2008-01-24 Fujitsu Limited Freehand input method, freehand input device, and computer program product
CN103914174A (zh) * 2012-12-28 2014-07-09 索尼公司 信息处理装置、信息处理方法、以及程序存储介质
CN105074622A (zh) * 2013-02-15 2015-11-18 三星电子株式会社 用于产生书写数据的方法及其电子装置
CN106716493A (zh) * 2014-09-18 2017-05-24 三星电子株式会社 对内容样式化的方法和对内容样式化的触摸屏设备
CN109976614A (zh) * 2019-03-28 2019-07-05 广州视源电子科技股份有限公司 一种立体图形的标注方法、装置、设备及介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184300B (zh) * 2011-05-23 2012-12-05 镇江科大船苑计算机网络工程有限公司 标牌矩形图形计算机绘图方法
US8762895B2 (en) * 2012-10-28 2014-06-24 Google Inc. Camera zoom indicator in mobile devices
CN104461315A (zh) * 2013-09-25 2015-03-25 天津书生软件技术有限公司 一种实现笔锋效果的手写输入方法
JP6269056B2 (ja) * 2013-12-27 2018-01-31 カシオ計算機株式会社 パラメータ設定装置、電子機器およびプログラム
CN104268351B (zh) * 2014-09-30 2017-11-14 广州市科创电脑技术开发有限公司 一种绘制平面图的方法和装置
TWI550519B (zh) * 2015-05-27 2016-09-21 仁寶電腦工業股份有限公司 圖表繪製方法
CN110069204B (zh) * 2019-04-15 2021-12-03 广州视源电子科技股份有限公司 基于书写轨迹的图形处理方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080019591A1 (en) * 2006-07-19 2008-01-24 Fujitsu Limited Freehand input method, freehand input device, and computer program product
CN103914174A (zh) * 2012-12-28 2014-07-09 索尼公司 信息处理装置、信息处理方法、以及程序存储介质
CN105074622A (zh) * 2013-02-15 2015-11-18 三星电子株式会社 用于产生书写数据的方法及其电子装置
CN106716493A (zh) * 2014-09-18 2017-05-24 三星电子株式会社 对内容样式化的方法和对内容样式化的触摸屏设备
CN109976614A (zh) * 2019-03-28 2019-07-05 广州视源电子科技股份有限公司 一种立体图形的标注方法、装置、设备及介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237309A (zh) * 2022-09-21 2022-10-25 深圳市方成教学设备有限公司 一种基于智能书写板的显示控制方法以及智能书写板

Also Published As

Publication number Publication date
CN110956674A (zh) 2020-04-03
CN110956674B (zh) 2022-01-21

Similar Documents

Publication Publication Date Title
WO2021077539A1 (fr) Procédé et appareil d'ajustement graphique, dispositif et support de stockage
US10606474B2 (en) Touch screen finger tracing device
CN110045909B (zh) 基于书写轨迹的椭圆处理方法、装置、设备及存储介质
KR102470522B1 (ko) 핸드라이팅된 다이어그램 커넥터들의 관리를 위한 시스템 및 방법
WO2019140987A1 (fr) Procédé de commande de tableau, dispositif, appareil et support d'informations
WO2019000681A1 (fr) Procédé, dispositif, appareil et support de stockage informatique pour disposer des informations
US20130016126A1 (en) Drawing aid system for multi-touch devices
CN110069204B (zh) 基于书写轨迹的图形处理方法、装置、设备及存储介质
US10761721B2 (en) Systems and methods for interactive image caricaturing by an electronic device
KR20130000327A (ko) 텍스트 사용자 입력을 오버랩하기 위한 문자 인식
CN114138165B (zh) 图形识别方法、装置、设备和存储介质
CN111025039B (zh) 触摸显示屏的精准度的测试方法、装置、设备以及介质
CN110909596B (zh) 侧脸识别方法、装置、设备以及存储介质
WO2022242011A1 (fr) Procédé et appareil de présentation d'écriture manuscrite, et tablette d'interaction et support d'enregistrement
CN105074622B (zh) 用于产生书写数据的方法及其电子装置
CN113849106B (zh) 翻页笔迹处理方法、设备、电子设备及存储介质
CN111694451B (zh) 操作数据处理方法、装置、设备及存储介质
US11789604B2 (en) Handwriting processing method, handwriting processing device and non-transitory storage medium
JP2015022524A (ja) 端末装置及びシステム
WO2023184083A1 (fr) Procédé d'association graphique intelligente et dispositif d'affichage interactif intelligent
CN116185269A (zh) 元素选择方法、装置、存储介质以及电子设备
WO2022242013A1 (fr) Procédé et appareil d'effacement d'écriture manuscrite, tablette interactive et support d'enregistrement
EP4073624B1 (fr) Systèmes et procédés d'encrage aligné sur une grille
WO2024113271A1 (fr) Dispositif d'affichage intelligent d'écriture manuscrite, procédé d'affichage intelligent d'écriture manuscrite et dispositif électronique
CN114882513A (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: 19950212

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: 19950212

Country of ref document: EP

Kind code of ref document: A1