WO2022083003A1 - 触控屏放大镜调用方法、装置、电子设备及存储介质 - Google Patents

触控屏放大镜调用方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022083003A1
WO2022083003A1 PCT/CN2020/140948 CN2020140948W WO2022083003A1 WO 2022083003 A1 WO2022083003 A1 WO 2022083003A1 CN 2020140948 W CN2020140948 W CN 2020140948W WO 2022083003 A1 WO2022083003 A1 WO 2022083003A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
key point
preset
point
sliding
Prior art date
Application number
PCT/CN2020/140948
Other languages
English (en)
French (fr)
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 安徽鸿程光电有限公司
Priority to US18/032,813 priority Critical patent/US11899918B2/en
Publication of WO2022083003A1 publication Critical patent/WO2022083003A1/zh

Links

Images

Classifications

    • 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
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04805Virtual magnifying lens, i.e. window or frame movable on top of displayed information to enlarge it for better reading or selection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Definitions

  • One or more embodiments of the present application relate to the technical field of touch display devices, and in particular, to a method, device, electronic device, and storage medium for invoking a touch screen magnifying glass.
  • the purpose of one or more embodiments of the present application is to provide a method, apparatus, electronic device and storage medium for invoking a touch screen magnifying glass, so as to solve at least one of the above problems existing in the prior art.
  • one or more embodiments of the present application provide a method for invoking a touch screen magnifier, the method comprising:
  • the magnifying glass corresponding to the preset graphic is called on the touch screen.
  • the judging whether the sliding track satisfies the identification condition of the preset graphic includes:
  • Extract a set of key points according to the sliding track includes at least five key points: a first key point, a second key point, a third key point, a fourth key point and a fifth key point; the The first key point is the track start point of the sliding track; the fifth key point is the track end point of the sliding track;
  • the extracting a set of key points according to the sliding trajectory includes:
  • a point with the largest vertical distance from the third judgment line segment is selected and determined as the fourth key point.
  • the preset graphics including: the first preset graphics; Described based on the key points in the set of key points to determine whether the sliding track satisfies the identification conditions of the preset graphics, including:
  • the preset graphics further includes: a second preset graphics; after judging whether all the key included angles meet the preset included angle threshold, the method further includes:
  • the preset graphic further includes: a third preset graphic; after judging whether the lengths of all the key line segments are approximately equal within a preset error range, the method further includes:
  • the preset graphic further includes: a fourth preset graphic; after determining whether at least one of the key included angles satisfies a preset flat angle threshold range, the method further includes:
  • the method further includes:
  • the size of the first target image is gradually reduced to the first size;
  • the first touch instruction means that the user uses at least two fingers to approach each other in the first operation area;
  • the The first operation area refers to the magnifying area of the magnifying glass, and the first target image refers to the target image corresponding to the first operation area;
  • the size of the first target image is gradually increased to a second size;
  • the second touch instruction means that the user uses at least two fingers to touch the first target image. away from each other in the operating area.
  • one or more embodiments of this application further propose a touch screen magnifying glass calling device, the device includes:
  • a trajectory determination module configured to determine a sliding trajectory in response to a user's sliding touch instruction on any touch screen
  • a judgment module configured to judge whether the sliding track satisfies the identification condition of the preset graphic
  • the calling module is configured to call the magnifying glass corresponding to the preset graphic on the touch screen if satisfied.
  • one or more embodiments of the present application also provide an electronic device, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executes The program implements the touch screen magnifying glass calling method described in any one of the above.
  • one or more embodiments of the present application further provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to make all The computer executes the touch screen magnifying glass calling method described in any one of the above.
  • a method for invoking a touch screen magnifier includes: in response to a user's sliding touch instruction on any touch screen, determining a sliding track; determining Whether the sliding track satisfies the identification conditions of the preset graphics; if so, the magnifying glass corresponding to the preset graphics is called on the touch screen, and when the sliding track is identified as the preset graphics, it can be called and preset A magnifying glass of the shape corresponding to the graphic is set for the user to use, so that the magnifying glass of the shape required by the user can be quickly called according to the user's needs, so that the user can enlarge or reduce the whole or part of the image through the called magnifying glass.
  • the present application can identify whether the sliding track meets the conditions for calling the magnifying glass by determining the sliding track drawn by the user on the touch screen, so that the sliding track can be used in the sliding track. After the track satisfies the identification condition, the magnifying glass in the shape of the preset graphic corresponding to the sliding track is called to improve the user experience, thereby simplifying the calling operation of the touch screen magnifying glass.
  • FIG. 1 is a flowchart of a method for invoking a touch screen magnifier in one or more embodiments of the present application
  • FIG. 3 is a flowchart for judging the identification conditions of the first preset graphic in one or more embodiments of the present application
  • FIG. 4 is a flow chart for judging the identification conditions of the second preset graphics in one or more embodiments of the present application.
  • FIG. 5 is a flowchart for judging the identification conditions of the third preset graphic in one or more embodiments of the present application.
  • FIG. 6 is a flowchart for judging the identification condition of the fourth preset graphic in one or more embodiments of the present application.
  • Fig. 7 is the effect drawing of calling rectangular magnifying glass in one or more embodiments of the application.
  • FIG. 8 is a diagram of the calling effect of the circular magnifying glass in one or more embodiments of the application.
  • FIG. 9 is a schematic structural diagram of a touch screen magnifying glass calling device in one or more embodiments of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device in one or more embodiments of the present application.
  • a user wants to use the magnifying glass function of the touch screen he needs to click the magnifying glass function icon with a mouse, finger or stylus, then drag the called magnifying glass to the position of the image to be magnified, and click the magnification or reduction multiple. , the image is enlarged or reduced, and the shape of the magnifying glass is fixed.
  • a magnifying glass of a corresponding shape cannot be called by drawing a figure on the touch screen, and a click operation is required to control the zoom factor of the magnifying glass, resulting in inconvenient user operation and poor user experience.
  • the inventor found through research that a sliding track is drawn on the touch screen by using a finger or other device capable of realizing touch operations on the touch screen, and by judging whether the sliding track satisfies the preset graphics, the call and the sliding track are called.
  • the magnifying glass of different shapes corresponding to the shape of the track can realize the function of calling the magnifying glass more quickly, and the magnifying glass can be called without frequent clicking on the magnifying glass.
  • a magnifying glass with a shape similar to the sliding track is called, so that the user can call the magnifying glass of different shapes when using the magnifying glass, so as to satisfy the user's need for magnifying some images of special shapes. requirements, greatly improving the user experience.
  • a method for invoking a touch screen magnifier provided by one or more embodiments of the present application includes steps S101 and S102 .
  • multiple extended touch screens with only display functions can be connected to one main touch screen, and touch operations can be performed on any touch screen through the split-screen technology.
  • Both can determine the sliding trajectory on the corresponding touch screen that is touched. Specifically, the user slides on any touch screen with a finger or a stylus, and draws a sliding track by continuously touching and sliding, and in response to the user's sliding touch instruction on any touch screen, determine the user's Draw the sliding track, and display the sliding track on the touch screen, wherein the sliding track can be any figure.
  • the sliding track is determined on the touch screen, so that the user can flexibly call between different touch screens and improve the user experience.
  • the sliding trajectory drawn by the user may be a closed figure, a non-closed figure, a line segment, an arc, or any irregular trajectory.
  • S102 may specifically include: extracting a set of key points according to the sliding trajectory; the set of key points includes at least five key points: a first key point, a second key point, a third key point, and a fourth key point point and the fifth key point; the first key point is the track start point of the sliding track; the fifth key point is the track end point of the sliding track; and then based on the key points in the key point set, it is judged whether the sliding track satisfies the identification conditions of the preset graphics.
  • a recognition model can be constructed based on a machine learning algorithm first; then the recognition model is trained by using different sliding trajectories and preset graphics to obtain the final recognition model; then the determined sliding trajectory is input into the recognition model to judge Whether the sliding track meets the recognition conditions of the preset graphics.
  • selecting a set of key points can represent the entire sliding trajectory using only a few points, and after determining the starting point and end point of the trajectory, the set of key points can be quickly extracted.
  • extracting a set of key points according to a sliding trajectory may specifically include steps S201 , S202 , S203 , S204 and S205 .
  • the first key point and the fifth key point are connected, that is, the starting point of the track and the end point of the track are connected, so as to determine the first judgment line segment.
  • a point with the largest vertical distance from the first judgment line segment is selected, and the point is determined as the third key point.
  • S203 Connect the first key point and the third key point to determine a second judgment line segment, and connect the third key point and the fifth key point to determine a third judgment line segment.
  • the first key point and the third key point are connected, that is, the starting point of the trajectory and the third key point are connected, so as to determine the second judgment line segment.
  • Connect the third key point and the fifth key point that is, connect the third key point and the end point of the trajectory, so as to determine the third judgment line segment. That is, the sliding track can be divided into two parts, one part is the track between the start point of the track and the third key point, and the other part is the track between the third key point and the end point of the track. After the sliding trajectory is divided into two parts, key points are selected from two different parts respectively, and key points with uniform distribution can be obtained, so as to avoid that the distance between multiple key points is too small, and the distance between other key points is too large, which will cause confusion. Inaccurate representation of sliding trajectories.
  • the point with the largest vertical distance from the second judgment line segment is selected, and the point is determined as the second key point.
  • the point with the largest vertical distance from the third judgment line segment is selected, and the point is determined as the fourth key point.
  • the preset graphics may include the first preset graphics ;
  • the first preset graphic is a preset rectangle.
  • S301 Connect all the key points in the key point set in sequence from the track start point to the track end point to determine a key line segment between two adjacent key points in the key point set.
  • the key line segment may include: a first key line segment, a second key line segment, a third key line segment, and a fourth key line segment. Since the position of the second key point on the sliding track is between the starting point of the track and the third key point, and the position of the fourth key point on the sliding track is between the third key point and the end point of the track, the first key points are connected in sequence. (ie the starting point of the trajectory) and the second key point to determine the first key line segment; connect the second key point and the third key point to determine the second key line segment; connect the third key point and the fourth key point to determine the third key line segment ; Connect the fourth key point and the fifth key point (that is, the end point of the trajectory) to determine the fourth key line segment.
  • S302 Determine the included angle between any two adjacent key line segments, and obtain several key included angles.
  • the key angle may include: a first key angle, a second key angle, and a third key angle.
  • the angle between the first key line segment and the second key line segment is the first key angle
  • the angle between the second key line segment and the third key line segment is the second key angle
  • the angle between the third key line segment and the fourth key line segment is the third critical angle.
  • the key included angle is set as ⁇ , and it is determined whether all the key included angles satisfy the preset included angle threshold.
  • the preset angle threshold is the upper and lower limits of the cosine value of the key angle, that is, 0 ⁇
  • a preset angle is set, and when 85° ⁇ 95°, the key angle satisfies the preset angle, and if all the key angles satisfy the preset angle angle, all key included angles satisfy the preset included angle threshold, and S304 is executed.
  • S304 Determine whether the distance between the first key point and the fifth key point is greater than a preset distance threshold. If not greater than, execute S305.
  • the preset angle threshold is 5 pixels, and it is determined whether the distance between the first key point and the fifth key point is greater than 5 pixels, so as to determine whether the first key point and the fifth key point are similar Coincidence, that is, whether the sliding track is approximately closed. If not, it is proved that the distance between the first key point and the fifth key point is not greater than the preset distance threshold, and S305 is executed.
  • the sliding trajectory when the key angles are all approximately right angles and the sliding trajectory is approximately closed, it is determined that the sliding trajectory satisfies the identification conditions of the preset graphics, and the sliding trajectory is identified as the first preset graphics.
  • the sliding trajectory cannot be approximately closed, then through S101, in response to the user's decision to any A sliding touch command of the touch screen re-determines the sliding trajectory, and judges whether the re-determined sliding trajectory satisfies the identification condition of the first preset pattern through the above steps.
  • the preset graphics may include: a second preset graphics.
  • the second preset shape is a preset diamond shape.
  • the lengths of all key line segments are obtained, the lengths of all key line segments are compared, and the judgment condition is whether the lengths of all key line segments are approximately equal within a preset error range, that is, the longest key line segment and the shortest key line segment are judged. Whether the difference between the line segments is within the preset error range.
  • the preset error range is 3 pixels, and it is judged whether the difference between the length of the longest key line segment and the length of the shortest key line segment is less than 3 pixels. If they are approximately equal within the preset error range, S402 is executed. .
  • S402 Determine whether the distance between the first key point and the fifth key point is greater than a preset distance threshold. If not greater than, execute S403.
  • the first key point ie the length of the shortest key line segment
  • the preset distance threshold that is, it is judged whether the track start point and the track end point are approximately coincident, so as to judge whether the sliding track is approximately closed.
  • the preset distance threshold is 5 pixels, and it is determined whether the distance between the first key point and the fifth key point is greater than 5 pixels, so as to determine whether the first key point and the fifth key point are similar Coincidence, that is, whether the sliding track is approximately closed. If not, it is proved that the distance between the first key point and the fifth key point is not greater than the preset distance threshold, and S403 is executed.
  • the sliding trajectory when the lengths of all key line segments are approximately equal within the preset error range, the sliding trajectory is approximately closed, then the sliding trajectory satisfies the identification conditions of the second preset graphic, and the sliding trajectory is identified as the second preset graphic graphics.
  • the sliding trajectory is re-determined, and it is judged whether the re-determined sliding trajectory satisfies the identification condition of the second preset pattern through the above steps.
  • the preset graphics may include: a third preset graphics.
  • the third preset shape is a preset triangle.
  • the angle values of all key included angles are obtained, and the angle values of all key included angles are compared with the preset flat angle threshold.
  • S502 Determine whether the distance between the first key point and the fifth key point is greater than a preset distance threshold. If not greater than, execute S503.
  • the angle value of at least one key angle satisfies the preset flat angle threshold range, it is further determined whether the distance between the first key point (that is, the starting point of the track) and the fifth key point (that is, the ending point of the track) is greater than the predetermined value.
  • the distance threshold is set, that is, it is judged whether the starting point of the track and the end point of the track are approximately coincident, so as to judge whether the sliding track is approximately closed.
  • the preset distance threshold is 5 pixels, and it is determined whether the distance between the first key point and the fifth key point is greater than 5 pixels, so as to determine whether the first key point and the fifth key point are similar Coincidence, that is, whether the sliding track is approximately closed. If not, it is proved that the distance between the first key point and the fifth key point is not greater than the preset distance threshold, and S503 is executed.
  • the sliding trajectory when the angle value of at least one key angle satisfies the preset flat angle threshold range, the sliding trajectory is approximately closed, then the sliding trajectory satisfies the identification condition of the third preset graphic, and the sliding trajectory is identified as the third Preset graphics.
  • the sliding trajectory after the judgment of S502, if the distance between the first key point and the fifth key point is greater than the preset distance threshold, the sliding trajectory cannot be approximately closed, and then the sliding track is not closed approximately, and the response is performed in S101. According to the user's sliding touch instruction on any touch screen, the sliding trajectory is re-determined, and it is judged through the above steps whether the re-determined sliding trajectory satisfies the identification condition of the third preset graphic.
  • the preset graphics may include: a fourth preset graphics.
  • the fourth preset shape is a preset circle.
  • the sliding track between the endpoints of the key line segment is determined as the key track corresponding to the key line segment.
  • the key track includes: a first key track, a second key track, a third key track and a fourth key track.
  • the sliding trajectory between the first key point (that is, the trajectory starting point) and the second key point is determined as the first key trajectory corresponding to the first key line segment;
  • the sliding trajectory between the second key point and the third key point is determined
  • the trajectory is determined as the second key trajectory corresponding to the second key line segment;
  • the sliding trajectory between the third key point and the fourth key point is determined as the third key trajectory corresponding to the third key line segment;
  • the sliding trajectory between the key points (that is, the trajectory end points) is determined as the fourth key trajectory corresponding to the fourth key line segment.
  • each key trajectory selects the point with the largest vertical distance from the corresponding key line segment, and determine it as the auxiliary point.
  • select the point with the largest vertical distance from the first key line segment. determine the point as the auxiliary point
  • select the point with the largest vertical distance from the second key line segment determine this point as the auxiliary point
  • select the point with the third key select the point with the third key
  • the point with the largest vertical distance between the line segments is determined as the auxiliary point
  • on the fourth key trajectory the point with the largest vertical distance from the fourth key line segment is selected as the auxiliary point.
  • S602 Determine a fitted elliptical trajectory according to the key point and the auxiliary point.
  • the fitted elliptical trajectory is determined according to all key points and auxiliary points, wherein the sliding trajectory includes: several initial information points, and the key points and auxiliary points are all selected from the initial information points.
  • the initial information points are obtained according to the system algorithm. After all key points and auxiliary points are selected, the fitted elliptical trajectory is determined according to the key points and auxiliary points.
  • an information point selection model can also be constructed based on a machine learning algorithm, initial information points are selected through the information point selection model, and all key points and auxiliary points are selected from the initial information points. Auxiliary points determine the fitted elliptical trajectory.
  • S603 Determine whether the sum of the distances between each point on the sliding trajectory and the fitted elliptical trajectory satisfies a preset fitting threshold. If satisfied, execute S604.
  • the distance between each point on the sliding trajectory and the fitted elliptical trajectory is obtained, and it is determined whether the sum of the distances between each point on the sliding trajectory and the fitted elliptical trajectory satisfies a preset fitting threshold.
  • D 1 , D 2 , ..., D n represents the distance between each point on the sliding track and the fitted elliptical track
  • n represents the number of initial information points
  • pixel points the sum of the distances between each point on the sliding track and the fitted elliptical track meets the preset fitting threshold.
  • S604 Determine whether the distance between the first key point and the fifth key point is greater than a preset distance threshold. If not greater than, execute S605.
  • the first key point (ie the starting point of the track) and the fifth key point (ie the track) are further judged Whether the distance between the end points) is greater than the preset distance threshold, that is, it is judged whether the starting point of the track and the end point of the track are approximately coincident, so as to judge whether the sliding track is approximately closed.
  • the preset distance threshold is 5 pixels, and it is determined whether the distance between the first key point and the fifth key point is greater than 5 pixels, so as to determine whether the first key point and the fifth key point are similar Coincidence, that is, whether the sliding track is approximately closed. If not, it is proved that the distance between the first key point and the fifth key point is not greater than the preset distance threshold, and S605 is executed.
  • the sliding trajectory is approximately closed, and the sliding trajectory satisfies the identification condition of the fourth preset graphic , the sliding track is identified as the fourth preset graphic.
  • the sliding trajectory cannot be approximately closed, and the response is performed in S101.
  • the sliding track is re-determined, and it is judged through the above steps whether the re-determined sliding track satisfies the identification condition of the fourth preset graphic.
  • the magnifying glass corresponding to the preset graphics is called on the touch screen.
  • the touch screen if the sliding track satisfies the identification conditions of the first preset graphics, the magnifying glass corresponding to the first preset graphics is called on the touch screen; if the sliding track meets the identification conditions of the second preset graphics, the The magnifying glass corresponding to the second preset graphic is called on the touch screen; if the sliding track meets the recognition conditions of the third preset graphic, the magnifying glass corresponding to the third preset graphic is called on the touch screen; if the sliding track meets the fourth preset graphic If the identification condition of the graphic is set, the magnifying glass corresponding to the fourth preset graphic is called on the touch screen.
  • the magnifying glass corresponding to the preset graphics may include: a rectangular magnifying glass, a diamond-shaped magnifying glass, a triangular magnifying glass, and a circular magnifying glass.
  • the sliding track is identified as the first preset graphic, that is, the preset rectangle
  • the rectangular magnifying glass is called on the touch screen
  • the fourth preset shape that is, the preset circle
  • the circular magnifying glass is called on the touch screen.
  • the magnifying glass corresponding to the preset graphic is called at the center of the touch screen, and the user can drag the called magnifying glass to the desired location The zoomed image position, which will need to be zoomed out or enlarged.
  • the magnifying glass corresponding to the preset graphics is called at the position of the touch screen corresponding to the sliding track, and the user can use the called magnifying glass to magnify the The image is reduced or enlarged. If the user needs to change the position of the enlarged image, the user can drag the called magnifying glass to the position of the image to be scaled.
  • the size of the magnifying glass corresponding to the preset graphic invoked by the touch screen is a fixed size.
  • the size of the magnifying glass corresponding to the preset graphic invoked by the touch screen corresponds to the size of the sliding track drawn by the user, for example, the sliding track drawn by the user is identified as a preset circle with a radius of 10 cm shape, the touch screen is called a circular magnifying glass with a radius of 10 cm.
  • the first operation area refers to the magnifying glass
  • the second operation area refers to the touch screen except the first operation area
  • the first target image refers to the target image corresponding to the first operation area
  • the second target image refers to the target image corresponding to the second operation area.
  • the size of the first target image is gradually reduced to the first size; the first touch instruction means that the user uses at least two fingers to approach each other in the first operation area.
  • the distance between the touch points corresponding to the at least two fingers is recorded as the first initial distance.
  • the distance between the corresponding touch points is recorded as the first end distance, and it is determined whether the size of the first target image is affected by comparing whether the distance between the touch points corresponding to at least two fingers recorded twice before and after has decreased.
  • Perform zooming out if the first ending distance is smaller than the first initial distance, it is proved that at least two fingers are close to each other on the zoomed-in area, and the size of the first target image is gradually reduced to the first size.
  • the ratio at which the size of the first target image is reduced is determined by the difference between the first initial distance and the first ending distance. The greater the difference between the first initial distance and the first ending distance, the greater the size is reduced even more.
  • the size of the first target image is gradually increased to a second size in response to the user's second touch instruction;
  • the second touch instruction refers to the user using the At least two fingers are separated from each other in the first operating area.
  • the distance between the touch points corresponding to the at least two fingers is recorded as the second initial distance.
  • the distance between the corresponding touch points is recorded as the second end distance, and it is judged whether the size of the first target image is affected by comparing whether the distance between the touch points corresponding to at least two fingers recorded twice before and after has increased.
  • Enlarging is performed, and if the second ending distance is greater than the second initial distance, at least two fingers are kept away from each other on the enlarged area, and the size of the first target image is gradually increased to the second size.
  • the ratio at which the size of the first target image is increased is determined by the difference between the second initial distance and the second ending distance. The greater the difference between the second ending distance and the second initial distance, the greater the The size of the image is increased to a greater extent.
  • the size of the second target image is gradually reduced to a third size;
  • the third touch instruction means that the user uses at least two fingers to touch each other in the second operation area. near.
  • the distance between the touch points corresponding to the at least two fingers is recorded as the third initial distance.
  • the distance between the touch points corresponding to at least two fingers is recorded as the third end distance.
  • the size of the target image is reduced. If the third end distance is smaller than the third initial distance, it is proved that at least two fingers are close to each other on the second operation area, and the size of the second target image is gradually reduced to the third size.
  • the ratio at which the size of the second target image is reduced is determined by the difference between the third initial distance and the third ending distance. The greater the difference between the third initial distance and the third ending distance, the greater the size is reduced even more.
  • the size of the second target image is gradually increased to a fourth size in response to the user's fourth touch instruction;
  • the fourth touch instruction means that the user uses at least two fingers to operate the second away from each other in the area.
  • the distance between the touch points corresponding to at least two fingers is recorded as the fourth end distance, and it is judged whether the second The size of the target image is increased, and if the fourth end distance is greater than the fourth initial distance, at least two fingers are moved away from each other on the second operation area, and the size of the second target image is gradually increased to a fourth size.
  • the ratio at which the size of the second target image is increased is determined by the difference between the fourth initial distance and the fourth end distance. The larger the difference between the fourth end distance and the fourth initial distance, the greater the The size of the image is increased to a greater extent.
  • a main touch screen is connected to multiple extended touch screens that only have display functions
  • the magnifying glass calling method when the sliding track satisfies the identification conditions of the preset graphics, the magnifying glass corresponding to the preset graphics is called on the main touch screen; when the user implements one or more implementations of the present application on any extended touch screen
  • the magnifying glass calling method when using the magnifying glass calling method provided by the example, when the sliding track satisfies the identification conditions of the preset graphics, the magnifying glass corresponding to the preset graphics is called on the extended touch screen.
  • a processor with data processing is connected to multiple touch display devices that only have a display function
  • the user implements one or more implementations of the present application on any touch display device
  • the magnifying glass corresponding to the preset graphics is invoked on the touch display device.
  • a method for invoking a touch screen magnifier includes: in response to a user's sliding touch instruction on any touch screen, determining a sliding track, displaying The sliding track enables the operating user to clearly see the drawn track.
  • the sliding track does not meet the identification conditions of the preset graphics, the sliding track can be redrawn according to the drawn track; it is judged whether the sliding track meets the identification conditions of the preset graphics. ; If satisfied, call the magnifying glass corresponding to the preset graphic on the touch screen.
  • the magnifying glass corresponding to the preset graphic can be called on the touch screen for the user to use.
  • the present application can identify whether the sliding trajectory meets the conditions for calling the magnifying glass by determining the sliding trajectory drawn by the user on the touch screen, so that the sliding After the track satisfies the identification condition, the magnifying glass in the shape of the preset graphic corresponding to the sliding track is called to improve the user experience, thereby simplifying the calling operation of the touch screen magnifying glass.
  • the method provided by one or more embodiments of the present application can use gestures, that is, the user can touch the touch screen with at least two fingers, so that the image in the magnifying area of the magnifying glass can be enlarged or reduced, and at the same time, it can also be Enlarge or reduce the image except the magnifying area of the magnifying glass, which enriches the operation of the touch screen magnifying glass and further improves the user's operation experience.
  • gestures that is, the user can touch the touch screen with at least two fingers, so that the image in the magnifying area of the magnifying glass can be enlarged or reduced, and at the same time, it can also be Enlarge or reduce the image except the magnifying area of the magnifying glass, which enriches the operation of the touch screen magnifying glass and further improves the user's operation experience.
  • one or more embodiments of the present application further provide a touch screen magnifying glass calling device, including: a trajectory determination module 901 , a judgment module 902 and a calling module 903 .
  • the trajectory determination module 901 is configured to determine a sliding trajectory in response to a user's sliding touch instruction on any touch screen;
  • the judgment module 902 is configured to judge whether the sliding track satisfies the identification condition of the preset graphic
  • the calling module 903 is configured to call the magnifying glass corresponding to the preset graphic on the touch screen if satisfied.
  • the judging module 902 is configured to:
  • Extract a set of key points according to the sliding track includes at least five key points: a first key point, a second key point, a third key point, a fourth key point and a fifth key point; the The first key point is the track start point of the sliding track; the fifth key point is the track end point of the sliding track;
  • the judging module 902 is configured to:
  • the preset graphics include: a first preset graphics; the determination module 902 is configured to:
  • the preset graphic further includes: a second preset graphic; the judgment module 902 is configured to:
  • the preset graphic further includes: a third preset graphic; the judging module 902 is configured to:
  • the preset graphic further includes: a fourth preset graphic; the judging module 902 is configured to:
  • the key trajectory refers to the sliding trajectory between the endpoints of each of the key line segments
  • the calling module 903 is configured to:
  • the size of the first target image is gradually reduced to the first size;
  • the first touch instruction means that the user uses at least two fingers to approach each other in the first operation area;
  • the The first operation area refers to the magnifying area of the magnifying glass, and the first target image refers to the target image corresponding to the first operation area;
  • the size of the first target image is gradually increased to a second size;
  • the second touch instruction means that the user uses at least two fingers to touch the first target image. away from each other in the operating area.
  • FIG. 10 shows a more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment.
  • the device may include: a processor 1001 , a memory 1002 , an input/output interface 1003 , a communication interface 1004 and a bus 1005 .
  • the processor 1001 , the memory 1002 , the input/output interface 1003 and the communication interface 1004 realize the communication connection among each other within the device through the bus 1005 .
  • the processor 1001 can be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. program to implement the technical solutions provided by the embodiments of this specification.
  • a general-purpose CPU Central Processing Unit, central processing unit
  • a microprocessor central processing unit
  • an application specific integrated circuit Application Specific Integrated Circuit, ASIC
  • ASIC Application Specific Integrated Circuit
  • the memory 1002 can be implemented in the form of a ROM (Read Only Memory, read-only memory), a RAM (Random Access Memory, random access memory), a static storage device, a dynamic storage device, and the like.
  • the memory 1002 may store an operating system and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1002 and invoked by the processor 1001 for execution.
  • the input/output interface 1003 is used to connect the input/output module to realize information input and output.
  • the input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions.
  • the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc.
  • the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
  • the communication interface 1004 is used to connect a communication module (not shown in the figure), so as to realize the communication interaction between the device and other devices.
  • the communication module may implement communication through wired means (eg, USB, network cable, etc.), or may implement communication through wireless means (eg, mobile network, WIFI, Bluetooth, etc.).
  • the bus 1005 includes a path to transfer information between the various components of the device (eg, the processor 1001, the memory 1002, the input/output interface 1003, and the communication interface 1004).
  • the bus 1005 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, Infiniband interconnect, Low Pin Count (LPC) bus, Memory bus, Micro Channel Architecture (MCA) bus, Peripheral components Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or two or more of these The combination.
  • Bus 1005 may include one or more buses, where appropriate. Although embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
  • the above-mentioned device only shows the processor 1001, the memory 1002, the input/output interface 1003, the communication interface 1004 and the bus 1005, in the specific implementation process, the device may also include necessary components for normal operation. other components.
  • the above-mentioned device may only include components necessary for realizing the solutions of the embodiments of the present specification, instead of all the components shown in the figures.
  • one or more embodiments of the present specification further provide a non-transitory computer-readable storage medium corresponding to the method in any of the foregoing embodiments, where the non-transitory computer-readable storage medium stores computer instructions , the computer instructions are used to make the computer execute the method for invoking a magnifying glass on a touch screen as described in any of the above embodiments.
  • the non-transitory computer-readable storage medium of this embodiment includes persistent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology.
  • Information may be computer readable instructions, data structures, modules of programs, 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, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • PRAM phase-change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM Electrically Era
  • the functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof.
  • it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, and the like.
  • ASIC application specific integrated circuit
  • elements of the present application are programs or code segments used to perform the required tasks.
  • the program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave.
  • a "machine-readable medium” may include any medium that can store or transmit information.
  • machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, etc. Wait.
  • the code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.
  • processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It will also be understood that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can also be implemented by special purpose hardware for performing the specified functions or actions, or by special purpose hardware and/or A combination of computer instructions is implemented.

Abstract

一种触控屏放大镜调用方法、装置、电子设备及存储介质,包括:响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹(S101);判断滑动轨迹是否满足预设图形的识别条件(S102);若满足,则在触控屏上调用预设图形对应的放大镜(S103)。实现用户通过在触控屏上进行滑动轨迹的勾画,在将滑动轨迹识别为预设图形后,在触控屏上调用与预设图形的形状相对应的放大镜,并且通过用户使用至少两指在触控屏上进行触控操作,实现对放大镜的放大区域内的图像进行缩放的同时,对除放大区域外的触控屏区域上的图像进行不同程度的缩放,提高了用户的操作体验。

Description

触控屏放大镜调用方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求享有于2020年10月21日提交的名称为“一种触控屏放大镜调用方法、装置、电子设备及存储介质”的中国专利申请202011134935.0的优先权,该申请的全部内容通过引用并入本文中。
技术领域
本申请中一个或多个实施例涉及触控显示装置技术领域,尤其涉及一种触控屏放大镜调用方法、装置、电子设备及存储介质。
背景技术
现有技术中,在触控屏上操作的教学软件中,放大触控屏上的图像需要利用鼠标点击放大镜功能图标后,调用出放大镜功能,将触控屏上的图像整体进行放大或缩小,从而造成用户操作不方便的问题。
发明内容
有鉴于此,本申请中一个或多个实施例的目的在于提出一种触控屏放大镜调用方法、装置、电子设备及存储介质,以解决现有技术存在的上述至少一个问题。
基于上述目的,本申请中一个或多个实施例提供了一种触控屏放大镜调用方法,方法包括:
响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹;
判断所述滑动轨迹是否满足预设图形的识别条件;
若满足,则在所述触控屏上调用所述预设图形对应的放大镜。
可选的,所述判断所述滑动轨迹是否满足预设图形的识别条件,包括:
根据所述滑动轨迹提取关键点集合;所述关键点集合,至少包括五个关键点:第一关键点、第二关键点、第三关键点、第四关键点和第五关键点;所述第一关键点为所述滑动轨迹的轨迹起点;所述第五关键点为所述滑动轨迹的轨迹终点;
基于所述关键点集合中的关键点判断所述滑动轨迹是否满足所述预设图形的识别条件。
可选的,所述根据所述滑动轨迹提取关键点集合,包括:
连接所述第一关键点和所述第五关键点确定第一判断线段;
在所述滑动轨迹上,选取与所述第一判断线段之间垂直距离最大的点,确定为所述第三关键点;
连接所述第一关键点与所述第三关键点以确定第二判断线段;
连接所述第三关键点与所述第五关键点以确定第三判断线段;
在所述第一关键点与所述第三关键点之间的所述滑动轨迹上,选取与所述第二判断线段之间垂直距离最大的点,确定为所述第二关键点;
在所述第三关键点与所述第五关键点之间的所述滑动轨迹上,选取与所述第三判断线段之间垂直距离最大的点,确定为所述第四关键点。
可选的,所述预设图形,包括:第一预设图形;所述基于所述关键点集合中的关 键点判断所述滑动轨迹是否满足所述预设图形的识别条件,包括:
从所述第一关键点至所述第五关键点按序号顺序依次连接所述关键点集合中所有所述关键点以确定所述关键点集合中相邻两个关键点之间的关键线段;
确定任意相邻两所述关键线段的夹角,得到若干关键夹角;
判断全部所述关键夹角是否均满足预设夹角阈值;
若均满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第一预设图形的识别条件。
可选的,所述预设图形,还包括:第二预设图形;在所述判断全部所述关键夹角是否均满足预设夹角阈值之后,方法还包括:
若至少一个所述关键夹角不满足所述预设夹角阈值,则进一步判断所有所述关键线段在预设误差范围内是否近似相等;
若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第二预设图形的识别条件。
可选的,所述预设图形,还包括:第三预设图形;在所述判断所有所述关键线段的长度在预设误差范围内是否近似相等之后,方法还包括:
若所有所述关键线段在预设误差范围内不近似相等,则进一步判断是否至少一个所述关键夹角满足预设平角阈值范围;
若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第三预设图形的识别条件。
可选的,所述预设图形,还包括:第四预设图形;在所述判断是否至少一个所述关键夹角满足预设平角阈值范围之后,方法还包括:
若所述关键夹角均不满足所述预设平角阈值,则依次在每条所述关键轨迹上,选取与该条所述关键轨迹对应的所述关键线段之间垂直距离最大的点,确定为辅助点,所述关键轨迹指所述每条所述关键线段的端点之间的所述滑动轨迹;
根据所述关键点和所述辅助点确定拟合椭圆轨迹;
判断所述滑动轨迹上每个点与所述拟合椭圆轨迹之间的距离的总和是否满足预设拟合阈值;
若满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第四预设图形的识别条件。
可选的,在所述触控屏上调用所述预设图形对应的所述放大镜后,方法还包括:
响应于用户的第一触控指令,将第一目标图像的尺寸逐渐缩小至第一尺寸;所述第一触控指令是指所述用户使用至少两指在第一操作区域内相互靠近;所述第一操作区域指所述放大镜的放大区域,所述第一目标图像指所述第一操作区域对应的目标图像;
响应于所述用户的第二触控指令,将所述第一目标图像的尺寸逐渐增大至第二尺寸;所述第二触控指令是指所述用户使用至少两指在所述第一操作区域内相互远离。
基于同一发明构思,本申请中一个或多个实施例还提出了一种触控屏放大镜调用装置,装置包括:
轨迹确定模块,被配置为响应于用户对任意一个触控屏的滑动触控指令,确定滑 动轨迹;
判断模块,被配置为判断所述滑动轨迹是否满足预设图形的识别条件;
调用模块,被配置为若满足,则在所述触控屏上调用所述预设图形对应的放大镜。
基于同一发明构思,本申请中一个或多个实施例还提供了一种电子设备,电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任意一项所述的触控屏放大镜调用方法。
基于同一发明构思,本申请中一个或多个实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述任意一项所述的触控屏放大镜调用方法。
从上面所述可以看出,本申请中一个或多个实施例提供的一种触控屏放大镜调用方法,包括:响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹;判断所述滑动轨迹是否满足预设图形的识别条件;若满足,则在触控屏上调用预设图形对应的放大镜,在滑动轨迹被识别为预设图形时,能够在触控屏上调用与预设图形相对应形状的放大镜以供用户使用,实现根据用户需求快速调用用户需求形状的放大镜,使得用户能够通过调用出的放大镜放大或缩小整体或部分图像。无需通过传统方法利用鼠标点击触控屏上的放大镜功能图标,从而调用出放大镜,本申请能够通过确定用户在触摸屏上勾画的滑动轨迹,识别该滑动轨迹是否满足调用放大镜的条件,从而在该滑动轨迹满足识别条件后,调用与该滑动轨迹相对应的预设图形的形状的放大镜,提升用户体验,从而简化触控屏放大镜调用操作。
附图说明
为了更清楚地说明本申请中一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中一个或多个实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请中一个或多个实施例中一种触控屏放大镜调用方法的流程图;
图2为本申请中一个或多个实施例中根据滑动轨迹提取关键点的流程图;
图3为本申请中一个或多个实施例中第一预设图形的识别条件的判断流程图;
图4为本申请中一个或多个实施例中第二预设图形的识别条件的判断流程图;
图5为本申请中一个或多个实施例中第三预设图形的识别条件的判断流程图;
图6为本申请中一个或多个实施例中第四预设图形的识别条件的判断流程图;
图7为本申请中一个或多个实施例中矩形放大镜调用效果图;
图8为本申请中一个或多个实施例中圆形放大镜调用效果图;
图9为本申请中一个或多个实施例中一种触控屏放大镜调用装置的结构示意图;
图10为本申请中一个或多个实施例中一种电子设备的结构示意图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。
需要说明的是,除非另外定义,本申请中一个或多个实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本申请中一个或多个实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其 等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。
发明人通过研究发现现有技术中,在使用触控屏中的放大镜时,需要频繁使用鼠标点击放大镜,而如此频繁的点击必然会造成操作的繁琐,从而带来用户体检较差的问题。现有技术中用户想要使用触控屏的放大镜功能,需要使用鼠标、手指或触控笔点击放大镜功能图标,然后将调用出来的放大镜拖动至需要放大的图像位置,点击放大或缩小的倍数,将图像进行放大或缩小,而且放大镜的形状被固定。因此现有技术存在无法通过在触控屏上勾画图形调用相对应形状的放大镜,需要点击操作控制放大镜的缩放倍数,造成用户操作不方便,用户体验较差的问题。发明人通过研究发现,利用手指或其他能够在触控屏上实现触控操作的设备在触控屏上进行一条滑动轨迹的勾画,通过对滑动轨迹是否满足预设图形的判断,调用出与滑动轨迹形状相对应的不同形状的放大镜,能够实现更加快速地调用放大镜功能,不需要对放大镜进行频繁的点击,便能够调用放大镜。本申请通过判断滑动轨迹与预设图形是否近似,调用与滑动轨迹近似的图形形状的放大镜,使得用户在使用放大镜时,能够调用出不同形状的放大镜,满足用户对于一些特殊形状的图像进行放大的需求,大大提升用户的使用体验。
鉴于上述发明人的研究发现,如图1所示,本申请中一个或多个实施例提供的一种触控屏放大镜调用方法,包括步骤S101和S102。
S101:响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹。
本实施例中,根据具体实施场景的需求,在一个主触控屏上可以连接多个只具备显示功能的扩展触控屏,通过分屏技术实现在任意一个触控屏上进行触控操作,都能够在被触控的相应触控屏上确定滑动轨迹。具体地,用户通过手指或触控笔在任意一个触控屏上进行滑动,通过持续触控滑动,勾画出一条滑动轨迹,响应于用户对任意一个触控屏的滑动触控指令,确定用户所画的滑动轨迹,并在触控屏上显示该滑动轨迹,其中滑动轨迹可以为任意图形。在不同触控屏上勾画滑动轨迹则在该触控屏上确定滑动轨迹,实现用户在不同触控屏之间的灵活调用,提高用户体验。
作为一个可选的实施例,用户勾画的滑动轨迹,可以为闭合图形、非闭合图形、线段、圆弧或任意不规则轨迹。
S102:判断所述滑动轨迹是否满足预设图形的识别条件。
本实施例中,在确定滑动轨迹后,需要判断滑动轨迹是否满足预设图形的识别条件,实际上,就是根据滑动轨迹提取关键信息从而判断滑动轨迹能否近似于预设图形。作为一个可选的实施例,S102具体可以包括:根据滑动轨迹提取关键点集合;关键点集合,至少包括五个关键点:第一关键点、第二关键点、第三关键点、第四关键点和第五关键点;第一关键点为滑动轨迹的轨迹起点;第五关键点为滑动轨迹的轨迹终点;再基于关键点集合中的关键点判断滑动轨迹是否满足预设图形的识别条件。此外,还可以根据任意一种判断一条轨迹是否近似于一个具体的图形的判断方法,判断滑动轨迹是否满足预设图形的识别条件。在一个具体例子中,首先可以基于机器学习算法构建识别模型;接着通过利用不同滑动轨迹和预设图形对识别模型进行训练,得到最终的识别模型;然后将确定的滑动轨迹输入识别模型,从而判断滑动轨迹是否满足预设图形的识别条件。
作为一个可选的实施例,选取关键点集合能够仅仅利用少数点便表征出整个滑动 轨迹,在确定轨迹起点和轨迹终点后,能够快速提取关键点集合。参考图2,在一个例子中,根据滑动轨迹提取关键点集合,具体可以包括步骤S201、S202、S203、S204和S205。
S201:连接所述第一关键点和所述第五关键点确定第一判断线段。
本实施例中,连接第一关键点和第五关键点,即连接轨迹起点和轨迹终点,从而确定第一判断线段。
S202:在所述滑动轨迹上,选取与所述第一判断线段之间垂直距离最大的点,确定为所述第三关键点。
本实施例中,在滑动轨迹上,选取一个与第一判断线段之间垂直距离最大的点,将该点确定为第三关键点。选取与第一判断线段之间垂直距离最大的点,能够尽可能找到相互间隔更加平均的关键点,避免找到间距过小的关键点,造成后续对滑动轨迹的判断的不准确性。
S203:连接所述第一关键点与所述第三关键点以确定第二判断线段,连接所述第三关键点与所述第五关键点以确定第三判断线段。
本实施例中,连接第一关键点和第三关键点,即连接轨迹起点和第三关键点,从而确定第二判断线段。连接第三关键点和第五关键点,即连接第三关键点和轨迹终点,从而确定第三判断线段。即,可以将滑动轨迹划分为两部分,一部分为轨迹起点和第三关键点之间的轨迹,另一部分为第三关键点和轨迹终点之间的轨迹。将滑动轨迹划分为两部分后,分别从两个不同的部分上挑选关键点,能够得到分布均匀的关键点,避免多个关键点间距过小,而其余关键点之间间距过大,造成对滑动轨迹的表征的不准确。
S204:在所述第一关键点与所述第三关键点之间的所述滑动轨迹上,选取与所述第二判断线段之间垂直距离最大的点,确定为所述第二关键点。
本实施例中,在第一关键点(即轨迹起点)与第三关键点之间的轨迹上,选取与第二判断线段之间垂直距离最大的点,将该点确定为第二关键点。
S205:在所述第三关键点与所述第五关键点之间的所述滑动轨迹上,选取与所述第三判断线段之间垂直距离最大的点,确定为所述第四关键点。
本实施例中,在第三关键点与第五关键点(即轨迹终点)之间的轨迹上,选取与第三判断线段之间垂直距离最大的点,将该点确定为第四关键点。
在根据上述步骤得到关键点集合中全部关键点之后,进一步,基于关键点集合中的关键点判断滑动轨迹是否满足预设图形的识别条件,参考图3,预设图形可以包括第一预设图形;在一个具体例子中,第一预设图形为预设矩形。基于关键点集合中的关键点判断滑动轨迹是否满足预设图形的识别条件,具体包括以下步骤S301、S302、S303、S304和S305。
S301:从所述轨迹起点至所述轨迹终点顺次连接所述关键点集合中所有所述关键点,以确定所述关键点集合中相邻两个关键点之间的关键线段。
本实施例中,关键线段可以包括:第一关键线段、第二关键线段、第三关键线段和第四关键线段。由于第二关键点在滑动轨迹上的位置处于轨迹起点和第三关键点之间,第四关键点在滑动轨迹上的位置处于第三关键点和轨迹终点之间,所以依次连接第一关键点(即轨迹起点)和第二关键点,确定第一关键线段;连接第二关键点和第三关键点,确定第二关键线段;连接第三关键点和第四关键点,确定第三关键线段;连接第四关键点和第五关键点(即轨迹终点),确定第四关键线段。
S302:确定任意相邻两关键线段的夹角,得到若干个关键夹角。
本实施例中,关键夹角可以包括:第一关键夹角、第二关键夹角和第三关键夹角。第一关键线段与第二关键线段的夹角为第一关键夹角,第二关键线段与第三关键线段的夹角为第二关键夹角,第三关键线段与第四关键线段的夹角为第三关键夹角。
S303:判断全部所述关键夹角是否均满足预设夹角阈值。若均满足,则执行S304。
本实施例中,将关键夹角设为θ,判断全部关键夹角是否均满足预设夹角阈值。在一个具体例子中,预设夹角阈值为关键夹角的余弦值的上下限,即0≤|cosθ|≤0.1,如果全部关键夹角的余弦值均满足预设夹角阈值,则全部关键夹角均满足预设夹角阈值,执行S304。在另一个具体例子中,设定预设夹角角度,当85°<θ<95°时,则该关键夹角满足预设夹角角度,如果全部关键夹角的角度均满足预设夹角角度,则全部关键夹角均满足预设夹角阈值,执行S304。
S304:判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值。若不大于,则执行S305。
本实施例中,当全部关键夹角均满足预设夹角阈值后,进一步判断第一关键点(即轨迹起点)与第五关键点(即轨迹终点)之间的距离是否大于预设距离阈值,即判断轨迹起点与轨迹终点之间是否近似重合,以此来判断滑动轨迹是否近似闭合。在一个具体例子中,预设距离阈值为5个像素点,判断第一关键点与第五关键点之间的距离是否大于5个像素点,从而判断第一关键点与第五关键点是否近似重合,即滑动轨迹是否近似闭合。若不大于,则证明第一关键点与第五关键点之间的距离不大于预设距离阈值,执行S305。
S305:确定所述滑动轨迹满足所述第一预设图形的识别条件。
本实施例中,在关键夹角的角度均近似为直角的情况下,滑动轨迹近似闭合,则确定滑动轨迹满足预设图形的识别条件,滑动轨迹被识别为第一预设图形。
作为一个可选的实施例,经过S304的判断,若第一关键点与第五关键点之间的距离大于预设距离阈值,则滑动轨迹不能够近似闭合,则通过S101,响应于用户对任意一个触控屏的滑动触控指令,重新确定滑动轨迹,经上述步骤判断重新确定的滑动轨迹是否满足第一预设图形的识别条件。
作为一个可选的实施例,若S303中至少一个关键夹角不满足预设夹角阈值,则证明滑动轨迹不能被识别为第一预设图形,则进行下一步判断。参考图4,预设图形可以包括:第二预设图形。在一个具体例子中,第二预设图形为预设菱形。判断全部关键夹角是否均满足预设夹角阈值之后,具体包括步骤S401、S402和S403。
S401:若至少一个所述关键夹角不满足所述预设夹角阈值,则进一步判断所有所述关键线段的长度在预设误差范围内是否近似相等。若是,则执行S402。
本实施例中,求取所有关键线段的长度,比较所有关键线段的长度,以所有关键线段的长度在预设误差范围内是否近似相等为判断条件,就是判断最长的关键线段与最短的关键线段之差是否在预设误差范围内。在一个具体例子中,预设误差范围为3个像素点,判断最长的关键线段的长度与最短的关键线段的长度之差是否小于3个像素点,若是,则证明所有关键线段的长度在预设误差范围内近似相等,则执行S402。。
S402:判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值。若不大于,则执行S403。
本实施例中,若所有关键线段的长度在预设误差范围内近似相等,即最长的关键线段的长度与最短的关键线段的长度小于预设长度判断阈值,进一步判断第一关键点(即轨迹起点)与第五关键点(即轨迹终点)之间的距离是否大于预设距离阈值,即 判断轨迹起点与轨迹终点之间是否近似重合,以此来判断滑动轨迹是否近似闭合。在一个具体例子中,预设距离阈值为5个像素点,判断第一关键点与第五关键点之间的距离是否大于5个像素点,从而判断第一关键点与第五关键点是否近似重合,即滑动轨迹是否近似闭合。若不大于,则证明第一关键点与第五关键点之间的距离不大于预设距离阈值,则执行S403。
S403:确定所述滑动轨迹满足所述第二预设图形的识别条件。
本实施例中,在所有关键线段的长度在预设误差范围内近似相等的情况下,滑动轨迹近似闭合,则滑动轨迹满足第二预设图形的识别条件,滑动轨迹被识别为第二预设图形。
作为一个可选的实施例,经过S402的判断,若所述第一关键点与所述第五关键点之间的距离大于预设距离阈值,则滑动轨迹不能够近似闭合,则通过S101,响应于用户对任意一个触控屏的滑动触控指令,重新确定滑动轨迹,经上述步骤判断重新确定的滑动轨迹是否满足第二预设图形的识别条件。
作为一个可选的实施例,若S401中所有关键线段的长度在预设误差范围内不近似相等,则证明滑动轨迹不能被识别为第二预设图形,则进行下一步判断。参考图5,预设图形可以包括:第三预设图形。在一个具体例子中,第三预设图形为预设三角形。判断所有关键线段的长度在预设误差范围内是否近似相等之后,具体包括步骤S501、S502和S503。
S501:若所有所述关键线段的长度在预设误差范围内不近似相等,则进一步判断是否至少一个所述关键夹角满足预设平角阈值范围。若是,则执行S502。
本实施例中,求取所有关键夹角的角度值,比较所有关键夹角的角度值与预设平角阈值。在一个具体例子中,判断关键夹角是否在175°至185°之间,从而判断是否至少一个关键夹角满足预设平角阈值范围,判断该关键夹角是否近似平角,通过判断该关键夹角近似平角,则构成该关键夹角的两条相邻的关键线段近似在同一直线上,继续进行下一步判断,执行S502。
S502:判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值。若不大于,则执行S503。
本实施例中,若至少有一个关键夹角的角度值满足预设平角阈值范围,进一步判断第一关键点(即轨迹起点)与第五关键点(即轨迹终点)之间的距离是否大于预设距离阈值,即判断轨迹起点与轨迹终点之间是否近似重合,以此来判断滑动轨迹是否近似闭合。在一个具体例子中,预设距离阈值为5个像素点,判断第一关键点与第五关键点之间的距离是否大于5个像素点,从而判断第一关键点与第五关键点是否近似重合,即滑动轨迹是否近似闭合。若不大于,则证明第一关键点与第五关键点之间的距离不大于预设距离阈值,则执行S503。
S503:确定所述滑动轨迹满足所述第三预设图形的识别条件。
本实施例中,在至少有一个关键夹角的角度值满足预设平角阈值范围的情况下,滑动轨迹近似闭合,则滑动轨迹满足第三预设图形的识别条件,滑动轨迹被识别为第三预设图形。
作为一个可选的实施例,经过S502的判断,若所述第一关键点与所述第五关键点之间的距离大于预设距离阈值,则滑动轨迹不能够近似闭合,则通过S101,响应于用户对任意一个触控屏的滑动触控指令,重新确定滑动轨迹,经上述步骤判断重新确定的滑动轨迹是否满足第三预设图形的识别条件。
作为一个可选的实施例,若S501中所有关键夹角均不满足所述预设平角阈值范 围,则证明滑动轨迹不能被识别为第三预设图形,则进行下一步判断。参考图6,预设图形可以包括:第四预设图形。在一个具体例子中,第四预设图形为预设圆形。判断是否至少一个关键夹角满足预设平角阈值范围之后,具体包括步骤S601、S602、S603、S604和S605。
S601:若所述关键夹角均不满足所述预设平角阈值范围,则依次在每条所述关键轨迹上,选取与该条所述关键轨迹对应的所述关键线段之间垂直距离最大的点,确定为辅助点,所述关键轨迹指所述每条所述关键线段的端点之间的所述滑动轨迹。
本实施例中,将关键线段的端点之间的滑动轨迹确定为关键线段对应的关键轨迹,关键轨迹,包括:第一关键轨迹、第二关键轨迹、第三关键轨迹和第四关键轨迹。具体地,将第一关键点(即轨迹起点)与第二关键点之间的滑动轨迹确定为第一关键线段对应的第一关键轨迹;将第二关键点与第三关键点之间的滑动轨迹确定为第二关键线段对应的第二关键轨迹;将第三关键点与第四关键点之间的滑动轨迹确定为第三关键线段对应的第三关键轨迹;将第四关键点与第五关键点(即轨迹终点)之间的滑动轨迹确定为第四关键线段对应的第四关键轨迹。
依次在每条关键轨迹上,选取与对应的关键线段之间垂直距离最大的点,确定为辅助点,具体地,在第一关键轨迹上,选取与第一关键线段之间垂直距离最大的点,将该点确定为辅助点;在第二关键轨迹上,选取与第二关键线段之间垂直距离最大的点,将该点确定为辅助点;在第三关键轨迹上,选取与第三关键线段之间垂直距离最大的点,将该点确定为辅助点;在第四关键轨迹上,选取与第四关键线段之间垂直距离最大的点,将该点确定为辅助点。
S602:根据所述关键点和所述辅助点确定拟合椭圆轨迹。
本实施例中,根据全部关键点和辅助点确定拟合椭圆轨迹,其中,滑动轨迹,包括:若干个初始信息点,关键点和辅助点全部选自于初始信息点,在一个具体例子中,初始信息点根据系统算法得到,在选取出所有关键点和辅助点之后,根据关键点和辅助点确定拟合椭圆轨迹。在另一个具体例子中,也能够基于机器学习算法构建信息点选取模型,通过信息点选取模型进行初始信息点的选取,再从初始信息点中选取出所有关键点和辅助点,根据关键点和辅助点确定拟合椭圆轨迹。
S603:判断所述滑动轨迹上每个点与所述拟合椭圆轨迹之间的距离的总和是否满足预设拟合阈值。若满足,则执行S604。
本实施例中,求取滑动轨迹上每个点与拟合椭圆轨迹之间的距离,判断滑动轨迹上每个点与拟合椭圆轨迹之间的距离的总和是否满足预设拟合阈值。在一个具体例子中,D 1,D 2,……,D n表示滑动轨迹上每个点与拟合椭圆轨迹之间的距离,n表示初始信息点的个数,若
Figure PCTCN2020140948-appb-000001
个像素点,则滑动轨迹上每个点与拟合椭圆轨迹之间的距离的总和满足预设拟合阈值。通过判断滑动轨迹上每个点与拟合椭圆轨迹之间的距离的总和是否满足预设拟合阈值,能够快速判断滑动轨迹是否近似于拟合椭圆轨迹,在判断出滑动轨迹上每个点与拟合椭圆轨迹之间的距离的总和满足预设拟合阈值之后,则继续进行下一步判断,执行S604。
S604:判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值。若不大于,则执行S605。
本实施例中,当滑动轨迹上每个点与拟合椭圆轨迹之间的距离的总和满足预设拟合阈值后,进一步判断第一关键点(即轨迹起点)与第五关键点(即轨迹终点)之间的距离是否大于预设距离阈值,即判断轨迹起点与轨迹终点之间是否近似重合,以此 来判断滑动轨迹是否近似闭合。在一个具体例子中,预设距离阈值为5个像素点,判断第一关键点与第五关键点之间的距离是否大于5个像素点,从而判断第一关键点与第五关键点是否近似重合,即滑动轨迹是否近似闭合。若不大于,则证明第一关键点与第五关键点之间的距离不大于预设距离阈值,则执行S605。
S605:确定所述滑动轨迹满足所述第四预设图形的识别条件。
本实施例中,在滑动轨迹上每个点与拟合椭圆轨迹之间的距离的总和满足预设拟合阈值的情况下,滑动轨迹近似闭合,则滑动轨迹满足第四预设图形的识别条件,滑动轨迹被识别为第四预设图形。
作为一个可选的实施例,经过S604的判断,若所述第一关键点与所述第五关键点之间的距离大于预设距离阈值,则滑动轨迹不能够近似闭合,则通过S101,响应于用户对任意一个触控屏的滑动触控指令,重新确定滑动轨迹,经上述步骤判断重新确定的滑动轨迹是否满足第四预设图形的识别条件。
S103:若满足,则在所述触控屏上调用所述预设图形对应的放大镜。
本实施例中,若滑动轨迹满足预设图形的识别条件,则在触控屏上调用预设图形对应的放大镜。在一个具体例子中,若滑动轨迹满足第一预设图形的识别条件,则在触控屏上调用第一预设图形对应的放大镜;若滑动轨迹满足第二预设图形的识别条件,则在触控屏上调用第二预设图形对应的放大镜;若滑动轨迹满足第三预设图形的识别条件,则在触控屏上调用第三预设图形对应的放大镜;若滑动轨迹满足第四预设图形的识别条件,则在触控屏上调用第四预设图形对应的放大镜。
作为一个可选的实施例,预设图形对应的放大镜可以包括:矩形放大镜、菱形放大镜、三角形放大镜和圆形放大镜。在一个具体例子中,参考图7,若滑动轨迹被识别为第一预设图形,即预设矩形,则在触控屏上调用矩形放大镜;在另一个具体例子中,参考图8,若滑动轨迹被识别为第四预设图形,即预设圆形,则在触控屏上调用圆形放大镜。
作为一个可选的实施例,无论用户将滑动轨迹勾画在触控屏的任何位置,预设图形对应的放大镜均在触控屏中心位置被调用,用户能够通过拖动调用出的放大镜至需要被缩放的图像位置,将需要被放大的图像进行缩小或放大。
作为一个可选的实施例,当滑动轨迹满足预设图形的识别条件后,在滑动轨迹对应的触控屏位置,调用预设图形对应的放大镜,用户能够通过调用出的放大镜将需要被放大的图像进行缩小或放大,若用户需要改变被放大的图像位置,用户能够通过拖动调用出的放大镜至需要被缩放的图像位置。
作为一个可选的实施例,触控屏调用出的预设图形对应的放大镜的尺寸为固定尺寸。
作为一个可选的实施例,触控屏调用出的预设图形对应的放大镜的尺寸与用户勾画的滑动轨迹的尺寸相对应,例如用户勾画的滑动轨迹被识别为半径为10厘米的预设圆形,则触控屏调用为半径为10厘米的圆形放大镜。
作为一个可选的实施例,在触控屏上调用预设图形对应的放大镜后,确定第一操作区域、第二操作区域、第一目标图像和第二目标图像;第一操作区域指放大镜的放大区域,第二操作区域指除第一操作区域外的触摸屏,第一目标图像指第一操作区域对应的目标图像,第二目标图像指第二操作区域对应的所述目标图像。响应于用户的第一触控指令,将第一目标图像的尺寸逐渐缩小至第一尺寸;第一触控指令是指用户使用至少两指在第一操作区域内相互靠近。用户使用至少两指开始触控放大区域时,至少两指对应的触控点之间的距离被记录为第一初始距离,当用户使用至少两指完成 对放大区域的触控时,至少两指对应的触控点之间的距离被记录为第一结束距离,通过比较前后两次被记录的至少两指对应的触控点之间的距离是否减少,来判断是否对第一目标图像的尺寸进行缩小,若第一结束距离小于第一初始距离,则证明至少两指在放大区域上相互靠近,将第一目标图像的尺寸逐渐缩小至第一尺寸。通过第一初始距离与第一结束距离之间的差值,决定第一目标图像的尺寸被缩小的比例,第一初始距离与第一结束距离之间的差值越大,则第一目标图像的尺寸被缩小的程度更大。
作为一个可选的实施例,响应于所述用户的第二触控指令,将所述第一目标图像的尺寸逐渐增大至第二尺寸;所述第二触控指令是指所述用户使用至少两指在所述第一操作区域内相互远离。用户使用至少两指开始触控放大区域时,至少两指对应的触控点之间的距离被记录为第二初始距离,当用户使用至少两指完成对放大区域的触控时,至少两指对应的触控点之间的距离被记录为第二结束距离,通过比较前后两次被记录的至少两指对应的触控点之间的距离是否增加,来判断是否对第一目标图像的尺寸进行增大,若第二结束距离大于第二初始距离,则至少两指在放大区域上相互远离,将第一目标图像的尺寸逐渐增大至第二尺寸。通过第二初始距离与第二结束距离之间的差值,决定第一目标图像的尺寸被增大的比例,第二结束距离与第二初始距离之间的差值越大,则第一目标图像的尺寸被增大的程度更大。
作为一个可选的实施例,响应于用户的第三触控指令,将第二目标图像的尺寸逐渐缩小至第三尺寸;第三触控指令指用户使用至少两指在第二操作区域内相互靠近。用户使用至少两指开始触控第二操作区域时,至少两指对应的触控点之间的距离被记录为第三初始距离,当用户使用至少两指完成对第二操作区域的触控时,至少两指对应的触控点之间的距离被记录为第三结束距离,通过比较前后两次被记录的至少两指对应的触控点之间的距离是否减少,来判断是否对第二目标图像的尺寸进行缩小,若第三结束距离小于第三初始距离,则证明至少两指在第二操作区域上相互靠近,将第二目标图像的尺寸逐渐缩小至第三尺寸。通过第三初始距离与第三结束距离之间的差值,决定第二目标图像的尺寸被缩小的比例,第三初始距离与第三结束距离之间的差值越大,则第二目标图像的尺寸被缩小的程度更大。
作为一个可选的实施例,响应于用户的第四触控指令,将第二目标图像的尺寸逐渐增大至第四尺寸;第四触控指令指所述用户使用至少两指在第二操作区域内相互远离。用户使用至少两指开始触控第二操作区域时,至少两指对应的触控点之间的距离被记录为第四初始距离,当用户使用至少两指完成对第二操作区域的触控时,至少两指对应的触控点之间的距离被记录为第四结束距离,通过比较前后两次被记录的至少两指对应的触控点之间的距离是否增加,来判断是否对第二目标图像的尺寸进行增大,若第四结束距离大于第四初始距离,则至少两指在第二操作区域上相互远离,将第二目标图像的尺寸逐渐增大至第四尺寸。通过第四初始距离与第四结束距离之间的差值,决定第二目标图像的尺寸被增大的比例,第四结束距离与第四初始距离之间的差值越大,则第二目标图像的尺寸被增大的程度更大。
作为一个可选的实施例,在一个主触控屏连接了多个只具备显示功能的扩展触控屏的情况下,当用户在主触控屏上实施本申请一个或多个实施例提供的放大镜调用方法时,当滑动轨迹满足预设图形的识别条件后,预设图形对应的放大镜在主触控屏上被调用;当用户在任意一个扩展触控屏上实施本申请一个或多个实施例提供的放大镜调用方法时,当滑动轨迹满足预设图形的识别条件后,预设图形对应的放大镜在该扩展触控屏上被调用。
作为一个可选的实施例,在一个具备数据处理的处理器连接多个只具备显示功能 的触控显示装置的情况下,当用户在任意一个触控显示装置上实施本申请一个或多个实施例提供的放大镜调用方法时,当滑动轨迹满足预设图形的识别条件后,预设图形对应的放大镜在该触控显示装置上被调用。
从上面所述可以看出,本申请中一个或多个实施例提供的一种触控屏放大镜调用方法,包括:响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹,显示滑动轨迹能够使操作用户清晰地看到所画轨迹,在滑动轨迹不满足预设图形的识别条件时,能够依据所画轨迹重新勾画滑动轨迹;判断所述滑动轨迹是否满足预设图形的识别条件;若满足,则在触控屏上调用预设图形对应的放大镜,在滑动轨迹被识别为预设图形时,能够在触控屏上调用与预设图形相对应形状的放大镜以供用户使用,使得用户能够通过调用出的放大镜放大或缩小整体或部分图像。无需通过传统方法利用鼠标点击触控屏上的放大镜功能图标,从而调用出放大镜,本申请能够通过确定用户在触摸屏上勾画的滑动轨迹,识别该滑动轨迹是否满足调用放大镜的条件,从而在该滑动轨迹满足识别条件后,调用与该滑动轨迹相对应的预设图形的形状的放大镜,提升用户体验,从而简化触控屏放大镜调用操作。本申请一个或多个实施例提供的方法,能够通过手势,即用户通过至少两指对触控屏进行触控操作,能够实现对放大镜的放大区域内的图像进行放大或缩小的同时,还能够实现对除放大镜的放大区域外的图像进行放大或缩小,丰富了触控屏放大镜的操作,进一步提升了用户的操作体验。
上述对本申请中特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
参考图9,基于同一发明构思,本申请中一个或多个实施例还提出了一种触控屏放大镜调用装置,包括:轨迹确定模块901、判断模块902和调用模块903。
轨迹确定模块901,被配置为响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹;
判断模块902,被配置为判断所述滑动轨迹是否满足预设图形的识别条件;
调用模块903,被配置为若满足,则在所述触控屏上调用所述预设图形对应的放大镜。
作为一个可选的实施例,所述判断模块902被配置为:
根据所述滑动轨迹提取关键点集合;所述关键点集合,至少包括五个关键点:第一关键点、第二关键点、第三关键点、第四关键点和第五关键点;所述第一关键点为所述滑动轨迹的轨迹起点;所述第五关键点为所述滑动轨迹的轨迹终点;
基于所述关键点集合中的关键点判断所述滑动轨迹是否满足所述预设图形的识别条件。
作为一个可选的实施例,所述判断模块902被配置为:
连接所述第一关键点和所述第五关键点确定第一判断线段;
在所述滑动轨迹上,选取与所述第一判断线段之间垂直距离最大的点,确定为所述第三关键点;
连接所述第一关键点与所述第三关键点以确定第二判断线段,连接所述第三关键点与所述第五关键点以确定第三判断线段;
在所述第一关键点与所述第三关键点之间的所述滑动轨迹上,选取与所述第二判断线段之间垂直距离最大的点,确定为所述第二关键点;在所述第三关键点与所述第 五关键点之间的所述滑动轨迹上,选取与所述第三判断线段之间垂直距离最大的点,确定为所述第四关键点。
作为一个可选的实施例,所述预设图形包括:第一预设图形;所述判断模块902被配置为:
从所述第一关键点至所述第五关键点按序号顺序依次连接所述关键点集合中所有所述关键点以确定所述关键点集合中相邻两个关键点之间的关键线段;
确定任意相邻两所述关键线段的夹角,得到若干关键夹角;
判断全部所述关键夹角是否均满足预设夹角阈值;
若均满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第一预设图形的识别条件。
作为一个可选的实施例,所述预设图形还包括:第二预设图形;所述判断模块902被配置为:
若至少一个所述关键夹角不满足所述预设夹角阈值,则进一步判断所有所述关键线段的长度在预设误差范围内是否近似相等;
若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第二预设图形的识别条件。
作为一个可选的实施例,所述预设图形还包括:第三预设图形;所述判断模块902被配置为:
若所有所述关键线段的长度在预设误差范围内不近似相等,则进一步判断是否至少一个所述关键夹角满足预设平角阈值范围;
若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第三预设图形的识别条件。
作为一个可选的实施例,所述预设图形还包括:第四预设图形;所述判断模块902被配置为:
若所述关键夹角均不满足所述预设平角阈值范围,则依次在每条所述关键轨迹上,选取与该条所述关键轨迹对应的所述关键线段之间垂直距离最大的点,确定为辅助点,所述关键轨迹指所述每条所述关键线段的端点之间的所述滑动轨迹;
根据所述关键点和所述辅助点确定拟合椭圆轨迹;
判断所述滑动轨迹上每个点与所述拟合椭圆轨迹之间的距离的总和是否满足预设拟合阈值;
若满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
若不大于,则确定所述滑动轨迹满足所述第四预设图形的识别条件。
作为一个可选的实施例,所述调用模块903被配置为:
响应于用户的第一触控指令,将第一目标图像的尺寸逐渐缩小至第一尺寸;所述第一触控指令是指所述用户使用至少两指在第一操作区域内相互靠近;所述第一操作区域指所述放大镜的放大区域,所述第一目标图像指所述第一操作区域对应的目标图像;
响应于所述用户的第二触控指令,将所述第一目标图像的尺寸逐渐增大至第二尺寸;所述第二触控指令是指所述用户使用至少两指在所述第一操作区域内相互远离。
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本说明书一个或多个实施例时可以把各模块的功能在同一个或多个软件和/或硬件中实现。
上述实施例的装置用于实现前述实施例中相应的方法,并且具有相应的方法实施例的有益效果,在此不再赘述。
基于同一发明构思,本说明书一个或多个实施例还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上任意一实施例所述的一种触控屏放大镜调用方法。图10示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图,该设备可以包括:处理器1001、存储器1002、输入/输出接口1003、通信接口1004和总线1005。其中处理器1001、存储器1002、输入/输出接口1003和通信接口1004通过总线1005实现彼此之间在设备内部的通信连接。
处理器1001可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。
存储器1002可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1002可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1002中,并由处理器1001来调用执行。
输入/输出接口1003用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。
通信接口1004用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。
总线1005包括一通路,在设备的各个组件(例如处理器1001、存储器1002、输入/输出接口1003和通信接口1004)之间传输信息。举例来说而非限制,总线1005可包括加速图形端口(Accelerated Graphics Port,AGP)或其他图形总线、增强工业标准架构(Extended Industry Standard Architecture,EISA)总线、前端总线(Front Side Bus,FSB)、超传输(Hyper Transport,HT)互连、工业标准架构(Industry Standard Architecture,ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线1005可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。
需要说明的是,尽管上述设备仅示出了处理器1001、存储器1002、输入/输出接口1003、通信接口1004以及总线1005,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组 件。
基于同一发明构思,与上述任意实施例方法相对应的,本说明书一个或多个实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的一种触控屏放大镜调用方法。
本实施例的非暂态计算机可读存储介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(Application Specific Integrated Circuit,ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(Radio Frequency,RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。
上面参考根据本申请的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请中一个或多个实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。
本申请中一个或多个实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本申请中一个或多个实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (15)

  1. 一种触控屏放大镜调用方法,包括:
    响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹;
    判断所述滑动轨迹是否满足预设图形的识别条件;
    若满足,则在所述触控屏上调用所述预设图形对应的放大镜。
  2. 根据权利要求1所述的方法,其中,所述判断所述滑动轨迹是否满足预设图形的识别条件,包括:
    根据所述滑动轨迹提取关键点集合,所述关键点集合至少包括五个关键点:第一关键点、第二关键点、第三关键点、第四关键点和第五关键点,其中,所述第一关键点为所述滑动轨迹的轨迹起点,所述第五关键点为所述滑动轨迹的轨迹终点;
    基于所述关键点集合中的关键点判断所述滑动轨迹是否满足所述预设图形的识别条件。
  3. 根据权利要求2所述的方法,其中,所述根据所述滑动轨迹提取关键点集合,包括:
    连接所述第一关键点和所述第五关键点确定第一判断线段;
    在所述滑动轨迹上,选取与所述第一判断线段之间垂直距离最大的点,确定为所述第三关键点;
    连接所述第一关键点与所述第三关键点以确定第二判断线段,连接所述第三关键点与所述第五关键点以确定第三判断线段;
    在所述第一关键点与所述第三关键点之间的所述滑动轨迹上,选取与所述第二判断线段之间垂直距离最大的点,确定为所述第二关键点;在所述第三关键点与所述第五关键点之间的所述滑动轨迹上,选取与所述第三判断线段之间垂直距离最大的点,确定为所述第四关键点。
  4. 根据权利要求3所述的方法,其中,所述预设图形包括:第一预设图形;
    所述基于所述关键点集合中的关键点判断所述滑动轨迹是否满足所述预设图形的识别条件,包括:
    从所述第一关键点至所述第五关键点按序号顺序依次连接所述关键点集合中所有所述关键点以确定所述关键点集合中相邻两个关键点之间的关键线段;
    确定任意相邻两所述关键线段的夹角,得到若干关键夹角;
    判断全部所述关键夹角是否均满足预设夹角阈值;
    若均满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
    若不大于,则确定所述滑动轨迹满足所述第一预设图形的识别条件。
  5. 根据权利要求4所述的方法,其中,所述预设图形还包括:第二预设图形;
    在所述判断全部所述关键夹角是否均满足预设夹角阈值之后,方法还包括:
    若至少一个所述关键夹角不满足所述预设夹角阈值,则进一步判断所有所述关键线段的长度在预设误差范围内是否近似相等;
    若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
    若不大于,则确定所述滑动轨迹满足所述第二预设图形的识别条件。
  6. 根据权利要求5所述的方法,其中,所述预设图形还包括:第三预设图形;
    在所述判断所有所述关键线段的长度在预设误差范围内是否近似相等之后,方法还包括:
    若所有所述关键线段的长度在预设误差范围内不近似相等,则进一步判断是否至少一个所述关键夹角满足预设平角阈值范围;
    若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
    若不大于,则确定所述滑动轨迹满足所述第三预设图形的识别条件。
  7. 根据权利要求6所述的方法,其中,所述预设图形还包括:第四预设图形;
    在所述判断是否至少一个所述关键夹角满足预设平角阈值范围之后,方法还包括:
    若所述关键夹角均不满足所述预设平角阈值范围,则依次在每条所述关键轨迹上,选取与该条所述关键轨迹对应的所述关键线段之间垂直距离最大的点,确定为辅助点,所述关键轨迹指所述每条所述关键线段的端点之间的所述滑动轨迹;
    根据所述关键点和所述辅助点确定拟合椭圆轨迹;
    判断所述滑动轨迹上每个点与所述拟合椭圆轨迹之间的距离的总和是否满足预设拟合阈值;
    若满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离 阈值;
    若不大于,则确定所述滑动轨迹满足所述第四预设图形的识别条件。
  8. 根据权利要求1所述的方法,其中,在所述触控屏上调用所述预设图形对应的所述放大镜后,还包括:
    响应于用户的第一触控指令,将第一目标图像的尺寸逐渐缩小至第一尺寸;所述第一触控指令是指所述用户使用至少两指在第一操作区域内相互靠近;所述第一操作区域指所述放大镜的放大区域,所述第一目标图像指所述第一操作区域对应的目标图像;
    响应于所述用户的第二触控指令,将所述第一目标图像的尺寸逐渐增大至第二尺寸;所述第二触控指令是指所述用户使用至少两指在所述第一操作区域内相互远离。
  9. 一种触控屏放大镜调用装置,包括:
    轨迹确定模块,被配置为响应于用户对任意一个触控屏的滑动触控指令,确定滑动轨迹;
    判断模块,被配置为判断所述滑动轨迹是否满足预设图形的识别条件;
    调用模块,被配置为若满足,则在所述触控屏上调用所述预设图形对应的放大镜。
  10. 根据权利要求9所述的装置,其中,所述判断模块被配置为:
    根据所述滑动轨迹提取关键点集合,所述关键点集合至少包括五个关键点:第一关键点、第二关键点、第三关键点、第四关键点和第五关键点其中,所述第一关键点为所述滑动轨迹的轨迹起点,所述第五关键点为所述滑动轨迹的轨迹终点;
    基于所述关键点集合中的关键点判断所述滑动轨迹是否满足所述预设图形的识别条件。
  11. 根据权利要求10所述的装置,其中,所述判断模块被配置为:
    连接所述第一关键点和所述第五关键点确定第一判断线段;
    在所述滑动轨迹上,选取与所述第一判断线段之间垂直距离最大的点,确定为所述第三关键点;
    连接所述第一关键点与所述第三关键点以确定第二判断线段,连接所述第三关键点与所述第五关键点以确定第三判断线段;
    在所述第一关键点与所述第三关键点之间的所述滑动轨迹上,选取与所述第二判 断线段之间垂直距离最大的点,确定为所述第二关键点;在所述第三关键点与所述第五关键点之间的所述滑动轨迹上,选取与所述第三判断线段之间垂直距离最大的点,确定为所述第四关键点。
  12. 根据权利要求11所述的装置,其中,所述预设图形包括:第一预设图形;
    所述判断模块被配置为:
    从所述第一关键点至所述第五关键点按序号顺序依次连接所述关键点集合中所有所述关键点以确定所述关键点集合中相邻两个关键点之间的关键线段;
    确定任意相邻两所述关键线段的夹角,得到若干关键夹角;
    判断全部所述关键夹角是否均满足预设夹角阈值;
    若均满足,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
    若不大于,则确定所述滑动轨迹满足所述第一预设图形的识别条件。
  13. 根据权利要求12所述的装置,其中,所述预设图形还包括:第二预设图形;
    所述判断模块被配置为:若至少一个所述关键夹角不满足所述预设夹角阈值,则进一步判断所有所述关键线段的长度在预设误差范围内是否近似相等;
    若是,则判断所述第一关键点与所述第五关键点之间的距离是否大于预设距离阈值;
    若不大于,则确定所述滑动轨迹满足所述第二预设图形的识别条件。
  14. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1至8任意一项所述的方法。
  15. 一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1至8任意一项所述方法。
PCT/CN2020/140948 2020-10-21 2020-12-29 触控屏放大镜调用方法、装置、电子设备及存储介质 WO2022083003A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/032,813 US11899918B2 (en) 2020-10-21 2020-12-29 Method, apparatus, electronic device and storage medium for invoking touch screen magnifier

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011134935.0 2020-10-21
CN202011134935.0A CN112214156B (zh) 2020-10-21 2020-10-21 一种触控屏放大镜调用方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022083003A1 true WO2022083003A1 (zh) 2022-04-28

Family

ID=74056272

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140948 WO2022083003A1 (zh) 2020-10-21 2020-12-29 触控屏放大镜调用方法、装置、电子设备及存储介质

Country Status (3)

Country Link
US (1) US11899918B2 (zh)
CN (1) CN112214156B (zh)
WO (1) WO2022083003A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185424A (zh) * 2022-08-09 2022-10-14 杭州云合智网技术有限公司 文件上传按钮大小自适应调整的上传方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884863B (zh) * 2021-01-21 2022-07-19 广州朗国电子科技股份有限公司 基于电子白板自动矫正三角形的绘图方法及其应用

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854982A (zh) * 2012-08-01 2013-01-02 华平信息技术(南昌)有限公司 一种识别自定义手势轨迹的方法
CN103702156A (zh) * 2013-12-09 2014-04-02 乐视致新电子科技(天津)有限公司 一种自定义手势轨迹的方法及装置
CN104850264A (zh) * 2015-05-29 2015-08-19 北京拉酷网络科技有限公司 一种触控板上多样化手势操作的检测控制方法及系统
CN106445368A (zh) * 2015-08-07 2017-02-22 联想移动通信软件(武汉)有限公司 一种终端显示控制方法、装置及终端
US20190087654A1 (en) * 2017-09-15 2019-03-21 Huazhong University Of Science And Technology Method and system for csi-based fine-grained gesture recognition

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876877A (zh) * 2009-04-28 2010-11-03 鸿富锦精密工业(深圳)有限公司 触控屏幕缩放显示系统及方法
JP5326802B2 (ja) * 2009-05-19 2013-10-30 ソニー株式会社 情報処理装置、画像拡大縮小方法及びそのプログラム
US20120174029A1 (en) * 2010-12-30 2012-07-05 International Business Machines Corporation Dynamically magnifying logical segments of a view
TWI494842B (zh) * 2011-06-28 2015-08-01 Chiun Mai Comm Systems Inc 網頁輔助放大系統和方法
JP6249652B2 (ja) * 2012-08-27 2017-12-20 三星電子株式会社Samsung Electronics Co.,Ltd. タッチ機能制御方法及びその電子装置
CN104424473A (zh) * 2013-09-06 2015-03-18 北京三星通信技术研究有限公司 一种手绘草图识别和编辑的方法及装置
CN103616973B (zh) * 2013-12-04 2017-07-14 惠州Tcl移动通信有限公司 一种触摸屏的操作方法及触摸屏设备
CN104731396B (zh) * 2013-12-19 2018-03-02 鸿合科技有限公司 一种魔术笔及其显示控制方法
CN104951223B (zh) 2014-03-28 2018-10-30 华为技术有限公司 一种触摸屏实现放大镜的方法、装置及主机
CN204731396U (zh) 2015-05-19 2015-10-28 国家电网公司 一种避雷器计数器带电测试工具及系统
CN107656788A (zh) * 2017-09-26 2018-02-02 努比亚技术有限公司 一种操作界面处理方法、终端及计算机可读存储介质
JP7070003B2 (ja) * 2018-04-13 2022-05-18 京セラドキュメントソリューションズ株式会社 表示装置及び画像形成装置
CN111651527B (zh) * 2020-04-21 2023-06-13 高新兴科技集团股份有限公司 基于轨迹相似度的身份关联方法、装置、设备及存储介质
US11132433B1 (en) * 2020-05-25 2021-09-28 International Business Machines Corporation Device and method for increasing security of a gesture based login

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854982A (zh) * 2012-08-01 2013-01-02 华平信息技术(南昌)有限公司 一种识别自定义手势轨迹的方法
CN103702156A (zh) * 2013-12-09 2014-04-02 乐视致新电子科技(天津)有限公司 一种自定义手势轨迹的方法及装置
CN104850264A (zh) * 2015-05-29 2015-08-19 北京拉酷网络科技有限公司 一种触控板上多样化手势操作的检测控制方法及系统
CN106445368A (zh) * 2015-08-07 2017-02-22 联想移动通信软件(武汉)有限公司 一种终端显示控制方法、装置及终端
US20190087654A1 (en) * 2017-09-15 2019-03-21 Huazhong University Of Science And Technology Method and system for csi-based fine-grained gesture recognition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185424A (zh) * 2022-08-09 2022-10-14 杭州云合智网技术有限公司 文件上传按钮大小自适应调整的上传方法
CN115185424B (zh) * 2022-08-09 2023-11-21 杭州云合智网技术有限公司 文件上传按钮大小自适应调整的上传方法

Also Published As

Publication number Publication date
CN112214156B (zh) 2022-07-15
US11899918B2 (en) 2024-02-13
CN112214156A (zh) 2021-01-12
US20230384923A1 (en) 2023-11-30

Similar Documents

Publication Publication Date Title
US20170139589A1 (en) Display device, display controlling method, and computer program
US8701050B1 (en) Gesture completion path display for gesture-based keyboards
WO2022083003A1 (zh) 触控屏放大镜调用方法、装置、电子设备及存储介质
US9329775B2 (en) Figure drawing apparatus, figure drawing method and recording medium on which figure drawing programs are recorded
AU2014201249B2 (en) Method for controlling display function and an electronic device thereof
JP2009169493A (ja) タッチパネル表示制御システム、タッチパネル表示制御方法、タッチパネル表示制御プログラム
US20160132478A1 (en) Method of displaying memo and device therefor
WO2015145570A1 (ja) 端末装置、表示制御方法及びプログラム
CN110515527B (zh) 一种书写笔迹显示方法、装置及相关系统
US11269511B2 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium storing program
JP5620895B2 (ja) 表示制御装置、方法及びプログラム
US9916084B2 (en) Enlarging or reducing an image on a display screen
EP3051401B1 (en) Image display apparatus, image enlargement method, and image enlargement program
WO2021147897A1 (en) Apparatus and method for controlling a vehicle-mounted device, and vehicle-mounted device
CN110618776B (zh) 一种图片缩放方法、装置、设备及存储介质
CN110162251B (zh) 图像缩放方法及装置、存储介质、电子设备
JP6373664B2 (ja) 電子機器、方法及びプログラム
JP4754653B2 (ja) タッチパネル表示制御システム、タッチパネル表示制御方法、タッチパネル表示制御プログラム
KR102245706B1 (ko) 데이터 처리 방법 및 그 전자 장치
JP2017162272A (ja) 情報処理装置、及びプログラム
JP2017534121A (ja) 手書き内容区分方法およびその機器、並びに手書き内容編集機器
JP2018501555A (ja) オブジェクトを操作する方法および電子機器
US20200249832A1 (en) Information processing terminal
CN111383238B (zh) 目标检测方法、目标检测装置及智能终端
US20230060045A1 (en) Systems and methods for grid-aligned inking

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18032813

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20958576

Country of ref document: EP

Kind code of ref document: A1