CN114356133B - Method and device for analyzing size of touch object, terminal equipment and storage medium - Google Patents

Method and device for analyzing size of touch object, terminal equipment and storage medium Download PDF

Info

Publication number
CN114356133B
CN114356133B CN202111593327.0A CN202111593327A CN114356133B CN 114356133 B CN114356133 B CN 114356133B CN 202111593327 A CN202111593327 A CN 202111593327A CN 114356133 B CN114356133 B CN 114356133B
Authority
CN
China
Prior art keywords
preset
target
information
size analysis
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111593327.0A
Other languages
Chinese (zh)
Other versions
CN114356133A (en
Inventor
林冀蓬
吕健
徐文树
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuangyi Lianhe Technology Co ltd
Original Assignee
Shenzhen Chuangyi Lianhe Technology Co ltd
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 Shenzhen Chuangyi Lianhe Technology Co ltd filed Critical Shenzhen Chuangyi Lianhe Technology Co ltd
Priority to CN202111593327.0A priority Critical patent/CN114356133B/en
Publication of CN114356133A publication Critical patent/CN114356133A/en
Application granted granted Critical
Publication of CN114356133B publication Critical patent/CN114356133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses a size analysis method of a touch object, which comprises the following steps: when detecting that a target object transmits touch operation to the screen, acquiring target shielding infrared information corresponding to the touch operation; obtaining target description information of the target object according to the information of shielding infrared rays by the target; and inputting the target description information into a size analysis model to obtain a size analysis result of the target object. The application also discloses a size analysis device of the touch object, terminal equipment and a storage medium. In the application, the target description information reflects the shape and form information of the target object more accurately, so that the accuracy of the size analysis result obtained by using the target description information is higher, thereby ensuring the higher color accuracy determined by using the size analysis result, and further realizing the technical effect of improving the accuracy of the mark.

Description

Method and device for analyzing size of touch object, terminal equipment and storage medium
Technical Field
The present application relates to the field of touch recognition technologies, and in particular, to a method and apparatus for size analysis of a touch object, a terminal device, and a storage medium.
Background
The infrared touch technology has become the mainstream of the present large-size screen touch technology, and the large-size touch screen in the present market is used in many application scenarios, such as teaching complete machines used by teachers, conference machines used in enterprises, and the like.
At present, the infrared touch technology comprises large pen identification and small pen identification, and the specific type (large pen or small pen) of a shielding object is judged through shielding conditions of infrared signals, so that indication colors corresponding to the specific type are output, and the screen shows identification of the indication colors.
However, with the existing method, the accuracy of the output identifier is low.
Disclosure of Invention
The application mainly aims to provide a size analysis method, a device, terminal equipment and a storage medium of a touch object, and aims to solve the technical problem that the accuracy of an output mark is low by adopting the existing method in the prior art.
In order to achieve the above objective, the present application provides a method for analyzing the size of a touch object, for a terminal device, where the terminal device includes a screen; the method comprises the following steps:
when detecting that a target object transmits touch operation to the screen, acquiring target shielding infrared information corresponding to the touch operation;
obtaining target description information of the target object according to the information of shielding infrared rays by the target;
and inputting the target description information into a size analysis model to obtain a size analysis result of the target object.
Optionally, the size analysis result includes a target size indication value corresponding to the target object; after the step of inputting the target description information into a size analysis model to obtain the size analysis result of the target object, the method further includes:
determining selected colors corresponding to the target size marking values in a preset color library, wherein the preset color library comprises colors corresponding to different size marking values;
determining a touch area corresponding to the touch operation in the screen;
and outputting a touch identifier corresponding to the selected color in the touch area.
Optionally, before the step of inputting the target description information into a size analysis model to obtain a size analysis result of the target object, the method further includes:
collecting a plurality of preset shielding infrared information corresponding to a plurality of preset objects with different sizes;
obtaining a plurality of preset description information corresponding to a plurality of preset objects according to a plurality of preset shielding infrared information;
determining a plurality of preset size identification values corresponding to a plurality of preset description information;
obtaining a preset color library according to a plurality of preset size identification values and a plurality of preset colors;
inputting each piece of preset description information and a preset size marking value corresponding to each piece of preset description information into an initial classifier for training so as to obtain the size analysis model.
Optionally, after the step of collecting the information of shielding infrared rays corresponding to the touch operation when the touch operation is detected to be sent to the screen by the target object, the method further includes:
obtaining movement track information of the target object according to the information of shielding infrared rays;
determining an editing area corresponding to the movement track information in the screen;
determining editing operation corresponding to the moving track;
and carrying out the editing operation on the data information in the editing area.
Optionally, the editing operation includes at least one of a modification operation, an erasing operation, and a marking operation.
Optionally, the target infrared shielding information at least includes the number of infrared shielding rays corresponding to the target object.
Optionally, the target description information includes at least one of a contact area, a contact width, a contact height, and a contact coordinate of the target object.
In addition, in order to achieve the above purpose, the application also provides a size analysis device of a touch object, which is used for terminal equipment, wherein the terminal equipment comprises a screen; the device comprises:
the acquisition module is used for acquiring target shielding infrared information corresponding to the touch operation when detecting that a target object transmits the touch operation to the screen;
the first acquisition module is used for acquiring target description information of the target object according to the information of shielding infrared rays by the target;
and the second obtaining module is used for inputting the target description information into a size analysis model to obtain a size analysis result of the target object.
In addition, to achieve the above object, the present application also proposes a terminal device including: the method comprises the steps of a memory, a processor and a size analysis program of a touch object, wherein the size analysis program of the touch object is stored in the memory and runs on the processor, and the size analysis program of the touch object is executed by the processor to realize the size analysis method of the touch object.
In addition, in order to achieve the above object, the present application further provides a storage medium, where a size analysis program of a touch object is stored, where the size analysis program of the touch object, when executed by a processor, implements the steps of the size analysis method of a touch object according to any one of the above objects.
The technical scheme of the application provides a size analysis method of a touch object, which is used for terminal equipment, wherein the terminal equipment comprises a screen; the method comprises the following steps: when detecting that a target object transmits touch operation to the screen, acquiring target shielding infrared information corresponding to the touch operation; obtaining target description information of the target object according to the information of shielding infrared rays by the target; and inputting the target description information into a size analysis model to obtain a size analysis result of the target object.
In the prior art, when an object is detected to send touch operation to a screen, the quantity of shielding infrared rays corresponding to the touch operation is collected, and the size analysis result of the object is directly determined according to the quantity of shielding infrared rays, however, when the same object sends the touch operation at different angles or actions, the determined size analysis results are different, so that the accuracy of the size analysis results obtained by the existing method is lower, the color accuracy determined by the size analysis results is lower, and the output identification accuracy is lower. By using the method of the application, the corresponding target description information is determined according to the quantity of the target shielding infrared rays corresponding to the target object, then the target description information is input into the size analysis model to obtain the size analysis result, and the target description information more accurately reflects the appearance and the form information of the target object, so that the accuracy of the size analysis result obtained by using the target description information is higher, thereby ensuring higher color accuracy determined by using the size analysis result, and further realizing the technical effect of improving the accuracy of the identification.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a terminal device structure of a hardware running environment according to an embodiment of the present application;
FIG. 2 is a flowchart of a first embodiment of a method for analyzing dimensions of a touch object according to the present application;
fig. 3 is a block diagram of a first embodiment of a size analysis device for a touch object according to the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal device structure of a hardware running environment according to an embodiment of the present application.
In general, a terminal device includes: at least one processor 301, a memory 302 and a size analysis program of a touch object stored on the memory and executable on the processor, the size analysis program of the touch object being configured to implement the steps of the size analysis method of a touch object as described above.
Processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 301 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central ProcessingUnit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. The processor 301 may also include an AI (Artificial Intelligence ) processor for processing the size analysis method operations on the touch object so that the size analysis method model of the touch object may be self-training learned, improving efficiency and accuracy.
Memory 302 may include one or more storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, the non-transitory storage medium in the memory 302 is configured to store at least one instruction for execution by the processor 301 to implement the method for size analysis of a touch object provided by the method embodiment of the present application.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 304 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 305 is a touch screen, the display 305 also has the ability to collect touch signals at or above the surface of the display 305. The touch signal may be input as a control signal to the processor 301 for processing. At this point, the display 305 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 305 may be one, the front panel of an electronic device; in other embodiments, the display screen 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or a folded surface of the electronic device. Even more, the display screen 305 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 305 may be made of LCD (LiquidCrystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The power supply 306 is used to power the various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the terminal device, and may include more or less components than illustrated, or may combine certain components, or may be arranged in different components.
In addition, the embodiment of the application also provides a storage medium, wherein the storage medium stores a size analysis program of the touch object, and the size analysis program of the touch object realizes the steps of the size analysis method of the touch object when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the storage medium according to the present application, please refer to the description of the method embodiments of the present application. As determined as an example, the program instructions may be deployed to be executed on one terminal device or on multiple terminal devices located at one site or, alternatively, on multiple terminal devices distributed across multiple sites and interconnected by a communication network.
Those skilled in the art will appreciate that all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware, and the above-described program may be stored in a storage medium, and the program may include the steps of the above-described embodiments of the methods when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random access Memory (Random AccessMemory, RAM), or the like.
Based on the hardware structure, an embodiment of the size analysis method of the touch object is provided.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a method for analyzing dimensions of a touch object according to the present application, the method includes the following steps:
step S11: and when detecting that a target object transmits touch operation to the screen, acquiring target shielding infrared information corresponding to the touch operation.
It should be noted that, the execution body of the present application is a terminal device, the terminal device is provided with a size analysis program of the touch object, and when the terminal device executes the size analysis program of the touch object, the step of the size analysis method of the touch object of the present application is implemented. The terminal device is provided with a screen, and the touch operation is mainly the touch operation sent by the screen.
The terminal device generally refers to an electronic device based on an infrared touch technology, an infrared sensor is installed around a screen of the terminal device, the infrared sensor is provided with a monitoring area, and when an object enters the monitoring area (which is expressed as approaching to the screen or touching the screen), the infrared sensor collects information of shielding infrared rays, and the information of shielding infrared rays generally refers to the amount of the shielded infrared rays, namely the amount of shielding infrared rays.
The user sends touch operation to a screen of the terminal equipment by using a target object (an object used for touch operation, such as a hand, a pen or other objects), and an infrared sensor of the terminal equipment acquires information of shielding infrared rays of the target object when the touch operation is performed, namely information of shielding infrared rays of the target, wherein the information of shielding infrared rays of the target at least comprises the quantity of shielding infrared rays of the target object when the touch operation is performed by the target object.
Step S12: and obtaining target description information of the target object according to the information of shielding infrared rays by the target.
The touch operation is to have a contact corresponding to the screen, and the contact is the contact point between the touch operation and the screen. And determining the contact area, the contact width, the contact height and the contact coordinates corresponding to the touch operation of the target object according to the infrared information shielded by the target corresponding to the touch operation of the target object, wherein the target description information comprises at least one of the contact area, the contact width, the contact height and the contact coordinates of the target object. The touch point coordinates refer to the position coordinates of the touch point position of the target object on the screen.
Step S13: and inputting the target description information into a size analysis model to obtain a size analysis result of the target object.
The size analysis model may refer to a trained classifier such as an SVM, a CNN or a decision tree, and the target description information is input into the size analysis model, so that after the size analysis model analyzes the target description information, an output size identification value (may refer to a specific size value, that is, a marking value is a specific size value such as a diameter of 3mm or a side length of 2mm×3 mm) or a digital value (for example, 1 and 2 represent sizes of different objects), and a size marking value of the target object is a target size marking value.
The target size marking value is obtained through a size analysis model, and the accuracy of the input target description information is higher, so that the accuracy of the target size marking value is higher.
Further, the size analysis result comprises a target size marking value corresponding to the target object; after the step of inputting the target description information into a size analysis model to obtain the size analysis result of the target object, the method further includes: determining selected colors corresponding to the target size marking values in a preset color library, wherein the preset color library comprises colors corresponding to different size marking values; determining a touch area corresponding to the touch operation in the screen; and outputting a touch identifier corresponding to the selected color in the touch area.
The touch operation may be a click operation, a drag operation, a handwriting operation, or the like. Different size marking values correspond to different colors, different colors in a preset color library correspond to different size marking values, and the color corresponding to the target size marking value is the selected color. The touch identifier is an identifier indicating a touch operation, for example, a dot identifier corresponding to a clicking operation, a track identifier corresponding to a dragging operation, and the like.
The touch operation corresponds to a touch area, the touch area may be an area corresponding to the touch operation, the touch operation corresponds to a contact, and the area where the contact is located is the touch area.
The touch operation can be click operation, dragging operation or handwriting operation, and the touch operation of objects with different sizes is identified through different colors, so that the touch operation corresponding to different objects can be accurately displayed, and the user experience is improved.
Further, before the step of inputting the target description information into a size analysis model to obtain the size analysis result of the target object, the method further includes: collecting a plurality of preset shielding infrared information corresponding to a plurality of preset objects with different sizes; obtaining a plurality of preset description information corresponding to a plurality of preset objects according to a plurality of preset shielding infrared information; determining a plurality of preset size identification values corresponding to a plurality of preset description information; obtaining a preset color library according to a plurality of preset size identification values and a plurality of preset colors; inputting each piece of preset description information and a preset size marking value corresponding to each piece of preset description information into an initial classifier for training so as to obtain the size analysis model.
The shielding infrared information of the preset objects is the preset shielding infrared information, one preset object at least corresponds to one preset shielding infrared information, when the same preset object performs touch operation on the screen in different postures or angles, different preset shielding infrared information is collected, the different preset shielding infrared information can be regarded as a plurality of preset shielding infrared information corresponding to the preset objects, namely, after the posture or angle of one preset object is changed, the other preset object is regarded as the other preset object, and the different preset shielding infrared information is different from the previous one.
Then, according to the above manner, based on the preset infrared shielding information (also may refer to the amount of shielding infrared) of one preset object, the description information of the preset object, that is, the preset description information, is obtained, where one preset object corresponds to one preset description information (the preset description information may also include the contact area, the contact width, the contact height, and the contact coordinates).
For the preset object whose size is known, the known size of the preset object is the preset size identification value, and a preset size identification value of a preset object corresponds to the preset description information of the preset object, the corresponding relationship of the preset object and the preset description information needs to be determined, and the preset object is used as a group of data for training.
And inputting each piece of preset description information and the corresponding preset size marking value of each piece of preset description information into an initial classifier for training, and obtaining a size analysis model when the training of all pieces of preset description information and all pieces of preset size marking values is completed.
Meanwhile, a mapping relation between each preset size marking value and each preset color is also established, and the preset color library is obtained according to each preset size marking value, each preset color and the mapping relation.
Further, after the step of acquiring the information of shielding the infrared ray corresponding to the touch operation when the touch operation of the target object to the screen is detected, the method further includes: obtaining movement track information of the target object according to the information of shielding infrared rays; determining an editing area corresponding to the movement track information in the screen; determining editing operation corresponding to the moving track; and carrying out the editing operation on the data information in the editing area. Wherein the editing operation includes at least one of a modification operation (including an operation of writing characters or the like), an erasing operation, and a marking operation.
According to the information of shielding external rays at different moments within a shorter preset time length (for example, the preset time length is 2 s), determining a moving track of a target object for touch operation sent by a screen, wherein the moving track is the moving track information, and the different moving track information corresponds to different editing operations, for example, a circle track is a marking operation, a round trip straight line is a smearing operation or a moving operation in a fixed area is a writing operation, and the like.
Based on the steps similar to the above, the region where the movement track information corresponding to the touch operation is located is the editing region, and the corresponding editing operation is required to be performed on the editing region according to the determined editing operation.
It will be appreciated that the editing operation may correspond to the identification of the editing operation, and likewise the identification of the editing operation is output with the selected color of the target object, for example, the editing operation is a writing operation, and the written character is output with the selected color.
The technical scheme of the application provides a size analysis method of a touch object, which is used for terminal equipment, wherein the terminal equipment comprises a screen; the method comprises the following steps: when detecting that a target object transmits touch operation to the screen, acquiring target shielding infrared information corresponding to the touch operation; obtaining target description information of the target object according to the information of shielding infrared rays by the target; and inputting the target description information into a size analysis model to obtain a size analysis result of the target object.
In the prior art, when an object is detected to send touch operation to a screen, the quantity of shielding infrared rays corresponding to the touch operation is collected, and the size analysis result of the object is directly determined according to the quantity of shielding infrared rays, however, when the same object sends the touch operation at different angles or actions, the determined size analysis results are different, so that the accuracy of the size analysis results obtained by the existing method is lower, the color accuracy determined by the size analysis results is lower, and the output identification accuracy is lower. By using the method of the application, the corresponding target description information is determined according to the quantity of the target shielding infrared rays corresponding to the target object, then the target description information is input into the size analysis model to obtain the size analysis result, and the target description information more accurately reflects the appearance and the form information of the target object, so that the accuracy of the size analysis result obtained by using the target description information is higher, thereby ensuring higher color accuracy determined by using the size analysis result, and further realizing the technical effect of improving the accuracy of the identification.
Referring to fig. 3, fig. 3 is a block diagram illustrating a first embodiment of a size analysis apparatus for a touch object according to the present application, the apparatus being used for a terminal device, the terminal device including a screen; based on the same inventive concept as the previous embodiments, the device comprises:
the acquisition module 10 is used for acquiring target shielding infrared information corresponding to a touch operation when detecting that a target object transmits the touch operation to the screen;
a first obtaining module 20, configured to obtain target description information of the target object according to the target shielding infrared information;
and a second obtaining module 30, configured to input the target description information into a size analysis model, and obtain a size analysis result of the target object.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as those of the foregoing method embodiment, specific implementation manners and technical effects that can be achieved of the apparatus of this embodiment may refer to the foregoing embodiment, and will not be repeated herein.
The foregoing description is only of the optional embodiments of the present application, and is not intended to limit the scope of the application, and all the equivalent structural changes made by the description of the present application and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the application.

Claims (9)

1. The size analysis method of the touch object is characterized by being used for terminal equipment, wherein the terminal equipment comprises a screen; the method comprises the following steps:
when detecting that a target object transmits touch operation to the screen, acquiring target shielding infrared information corresponding to the touch operation;
obtaining target description information of the target object according to the information of shielding infrared rays by the target; the target description information is used for representing the appearance and the form information of a target object;
inputting the target description information into a size analysis model to obtain a size analysis result of the target object;
before the step of inputting the target description information into a size analysis model to obtain the size analysis result of the target object, the method further includes:
collecting a plurality of preset shielding infrared information corresponding to a plurality of preset objects with different sizes;
obtaining a plurality of preset description information corresponding to a plurality of preset objects according to a plurality of preset shielding infrared information;
determining a plurality of preset size identification values corresponding to a plurality of preset description information;
obtaining a preset color library according to a plurality of preset size identification values and a plurality of preset colors;
inputting each piece of preset description information and a preset size marking value corresponding to each piece of preset description information into an initial classifier for training so as to obtain the size analysis model.
2. The method of claim 1, wherein the dimensional analysis result includes a target dimensional indicator value corresponding to the target object; after the step of inputting the target description information into a size analysis model to obtain the size analysis result of the target object, the method further includes:
determining selected colors corresponding to the target size marking values in a preset color library, wherein the preset color library comprises colors corresponding to different size marking values;
determining a touch area corresponding to the touch operation in the screen;
and outputting a touch identifier corresponding to the selected color in the touch area.
3. The method according to claim 1, wherein after the step of collecting information of shielding infrared rays corresponding to the touch operation when the touch operation is detected to be sent to the screen by the target object, the method further comprises:
obtaining movement track information of the target object according to the information of shielding infrared rays;
determining an editing area corresponding to the movement track information in the screen;
determining editing operation corresponding to the moving track;
and carrying out the editing operation on the data information in the editing area.
4. The method of claim 3, wherein the editing operation comprises at least one of a modifying operation, an erasing operation, and a marking operation.
5. The method of any of claims 1-4, wherein the target blocked infrared information includes at least a corresponding amount of blocked infrared for the target object.
6. The method of claim 5, wherein the target description information includes at least one of a contact area, a contact width, a contact height, and a contact coordinate of the target object.
7. The size analysis device of the touch object is characterized by being used for terminal equipment, wherein the terminal equipment comprises a screen; the device comprises:
the acquisition module is used for acquiring target shielding infrared information corresponding to the touch operation when detecting that a target object transmits the touch operation to the screen;
the first acquisition module is used for acquiring target description information of the target object according to the information of shielding infrared rays by the target; the target description information is used for representing the appearance and the form information of a target object;
the second obtaining module is used for inputting the target description information into a size analysis model to obtain a size analysis result of the target object;
the second obtaining module is further used for collecting a plurality of preset shielding infrared information corresponding to a plurality of preset objects with different sizes; obtaining a plurality of preset description information corresponding to a plurality of preset objects according to a plurality of preset shielding infrared information; determining a plurality of preset size identification values corresponding to a plurality of preset description information; obtaining a preset color library according to a plurality of preset size identification values and a plurality of preset colors; inputting each piece of preset description information and a preset size marking value corresponding to each piece of preset description information into an initial classifier for training so as to obtain the size analysis model.
8. A terminal device, characterized in that the terminal device comprises: a memory, a processor and a size analysis program stored on the memory and running on the processor, the size analysis program of the touch object, when executed by the processor, implementing the steps of the size analysis method of the touch object according to any one of claims 1 to 6.
9. A storage medium, wherein a size analysis program of a touch object is stored on the storage medium, and the size analysis program of the touch object, when executed by a processor, implements the steps of the size analysis method of a touch object according to any one of claims 1 to 6.
CN202111593327.0A 2021-12-23 2021-12-23 Method and device for analyzing size of touch object, terminal equipment and storage medium Active CN114356133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111593327.0A CN114356133B (en) 2021-12-23 2021-12-23 Method and device for analyzing size of touch object, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111593327.0A CN114356133B (en) 2021-12-23 2021-12-23 Method and device for analyzing size of touch object, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114356133A CN114356133A (en) 2022-04-15
CN114356133B true CN114356133B (en) 2023-12-01

Family

ID=81102215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111593327.0A Active CN114356133B (en) 2021-12-23 2021-12-23 Method and device for analyzing size of touch object, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114356133B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630223A (en) * 2009-07-25 2010-01-20 深圳华为通信技术有限公司 Method and terminal for adjusting interface
CN101882026A (en) * 2010-06-30 2010-11-10 北京捷通华声语音技术有限公司 Method and device for handwriting and training method and device of handwriting template classifier
WO2017097097A1 (en) * 2015-11-20 2017-06-15 努比亚技术有限公司 Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal
WO2018090727A1 (en) * 2016-10-10 2018-05-24 广州视源电子科技股份有限公司 Method of erasing writing trace on infrared touch apparatus, and system
CN108595047A (en) * 2018-04-20 2018-09-28 北京硬壳科技有限公司 Touch control object recognition methods and device
CN109240509A (en) * 2018-10-24 2019-01-18 青岛科锐斯光电科技有限公司 A kind of infrared induction system
CN109947300A (en) * 2019-03-18 2019-06-28 深圳市康冠商用科技有限公司 A kind of method, apparatus and medium for adjusting infrared touch-control machine and writing color
CN110275646A (en) * 2019-06-27 2019-09-24 深圳市康冠商用科技有限公司 A kind of Writing method and relevant apparatus applied to infrared touch panel
CN110400304A (en) * 2019-07-25 2019-11-01 腾讯科技(深圳)有限公司 Object detecting method, device, equipment and storage medium based on deep learning

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101303017B1 (en) * 2011-05-11 2013-09-03 엘지전자 주식회사 Methof for resizing an image, method for transmitting an image, and electronic device thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630223A (en) * 2009-07-25 2010-01-20 深圳华为通信技术有限公司 Method and terminal for adjusting interface
CN101882026A (en) * 2010-06-30 2010-11-10 北京捷通华声语音技术有限公司 Method and device for handwriting and training method and device of handwriting template classifier
WO2017097097A1 (en) * 2015-11-20 2017-06-15 努比亚技术有限公司 Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal
WO2018090727A1 (en) * 2016-10-10 2018-05-24 广州视源电子科技股份有限公司 Method of erasing writing trace on infrared touch apparatus, and system
CN108595047A (en) * 2018-04-20 2018-09-28 北京硬壳科技有限公司 Touch control object recognition methods and device
CN109240509A (en) * 2018-10-24 2019-01-18 青岛科锐斯光电科技有限公司 A kind of infrared induction system
CN109947300A (en) * 2019-03-18 2019-06-28 深圳市康冠商用科技有限公司 A kind of method, apparatus and medium for adjusting infrared touch-control machine and writing color
CN110275646A (en) * 2019-06-27 2019-09-24 深圳市康冠商用科技有限公司 A kind of Writing method and relevant apparatus applied to infrared touch panel
CN110400304A (en) * 2019-07-25 2019-11-01 腾讯科技(深圳)有限公司 Object detecting method, device, equipment and storage medium based on deep learning

Also Published As

Publication number Publication date
CN114356133A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN103472916B (en) A kind of man-machine interaction method based on human body gesture identification
CN110942479B (en) Virtual object control method, storage medium and electronic device
CN104679246A (en) Wearable type equipment based on interactive interface human hand roaming control and interactive interface human hand roaming control method
CN109324749A (en) Drawing practice, device, storage medium and electronic equipment
CN103164022A (en) Multi-finger touch method, device and portable type terminal device
CN109314727A (en) A kind of method and device controlling mobile terminal screen
CN110536006A (en) A kind of object's position method of adjustment and electronic equipment
CN104951064A (en) Efficient free-space finger recognition
CN108415646A (en) touch function setting method and device
CN113761255B (en) Robot indoor positioning method, device, equipment and storage medium
US20230135661A1 (en) Image processing method and apparatus for smart pen, and electronic device
US20230214028A1 (en) Image processing method and apparatus for smart pen, and electronic device
CN114356133B (en) Method and device for analyzing size of touch object, terminal equipment and storage medium
CN111610869A (en) Touch pen, electronic device and control method
CN205809821U (en) A kind of digital pen
CN107885450A (en) Realize the method and mobile terminal of mouse action
US11853483B2 (en) Image processing method and apparatus for smart pen including pressure switches, and electronic device
CN114298895B (en) Image realism style migration method, device, equipment and storage medium
CN115623271A (en) Processing method of video to be injected and electronic equipment
CN108062186A (en) A kind of multifunction laser dummy keyboard
CN110750193B (en) Scene topology determination method and device based on artificial intelligence
CN113223048B (en) Method and device for determining hand-eye calibration precision, terminal equipment and storage medium
CN114742983B (en) Flexible cable characteristic creation method and device based on dimension marking drive
CN105117014B (en) A kind of friend-making management method and intelligent watch
CN107885439A (en) A kind of note dividing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant