CN114442819A - Control identification method based on laser interaction, storage medium and terminal equipment - Google Patents

Control identification method based on laser interaction, storage medium and terminal equipment Download PDF

Info

Publication number
CN114442819A
CN114442819A CN202011195700.2A CN202011195700A CN114442819A CN 114442819 A CN114442819 A CN 114442819A CN 202011195700 A CN202011195700 A CN 202011195700A CN 114442819 A CN114442819 A CN 114442819A
Authority
CN
China
Prior art keywords
control
laser
distance
coordinate
position information
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.)
Pending
Application number
CN202011195700.2A
Other languages
Chinese (zh)
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 TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011195700.2A priority Critical patent/CN114442819A/en
Publication of CN114442819A publication Critical patent/CN114442819A/en
Pending legal-status Critical Current

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means

Abstract

The invention discloses a control identification method based on laser interaction, a storage medium and a terminal device, wherein the method comprises the following steps: acquiring spot position information of a laser spot; calculating the control distance between the laser light spot and each control according to the control position information and the light spot position information; and determining a control corresponding to the laser spot in the controls as a target control according to the control distance. The invention can effectively improve the accuracy of control identification based on laser.

Description

Control identification method based on laser interaction, storage medium and terminal equipment
Technical Field
The invention relates to a laser sensing technology, in particular to a control identification method based on laser interaction, a storage medium and a terminal device.
Background
At present, in multi-person occasions, such as teaching, exhibition, meeting, lecture and other occasions, in order to enable a user to clearly see the content of a speaker, a projector or a large screen mode is generally adopted for content exhibition, but the interaction between the speaker and a computer is still limited to a keyboard and a mouse, and the traditional interaction mode limits the speaker beside the computer and cannot freely move. Therefore, many people use the laser of the laser pen as an indication mark when performing lecture. However, the laser emitted by the conventional laser pen is generally used for indication, and although many laser pens can issue simple instructions such as page turning and returning through wireless connection with a computer, for operations such as clicking a certain control, since the point indicated by the laser cannot be located, such operations cannot be performed, and a user needs to run back to the computer from a place where the user stands at the moment or let a companion assist the user at the computer.
Although some people adopt a camera to take pictures at present, then process the pictures obtained by taking pictures, determine the position of the laser, and then send the position to a computer for operation, the identification of the control of the laser pointing realized by means of the shooting of a third-party camera is easy to generate errors due to the parameters of the camera and the external environment, so that the accuracy rate is often low. In addition, when the laser pen is used at a certain distance from the screen, due to errors of sight lines, the laser pen may not be accurately irradiated on a control to be pointed, and at the moment, the user cannot accurately hit the laser on the control to be selected, so that the user cannot respond to subsequent click selection. Thus, the accuracy of laser-based control identification is still low today.
Disclosure of Invention
The invention aims to solve the technical problem that the control identification accuracy based on laser is low in the prior art, and provides a control identification method based on laser.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a control identification method based on laser interaction, the method comprising:
acquiring spot position information of a laser spot;
calculating the control distance between the laser light spot and each control according to the control position information and the light spot position information;
and determining a control corresponding to the laser spot in the controls as a target control according to the control distance.
The control identification method based on laser interaction specifically comprises the following steps: the laser spot position information comprises laser coordinates, the laser coordinates are coordinates of the laser spots in a laser coordinate axis, and the laser coordinate axis is a coordinate axis set according to the laser induction screen; the control position information comprises control coordinates, the control coordinates are coordinates of the control in a display coordinate axis, and the display coordinate axis is a coordinate axis set according to a display screen.
The control identification method based on laser interaction specifically comprises the following steps: the calculating the control distances between the laser spots and the controls according to the control position information and the spot position information specifically comprises:
according to the laser coordinates, calculating corresponding display coordinates of the laser spots in the display coordinate axis;
and calculating the distance between the display coordinate and each control according to the control coordinate and the display coordinate, and generating the control distance corresponding to each control.
The control identification method based on laser interaction specifically comprises the following steps: the control coordinates comprise a plurality of control edge coordinates; the calculating the distance between the display coordinate and each control according to the control position information and the display coordinate, and generating the control distance corresponding to each control specifically includes:
and calculating distance information between each control edge coordinate of each control and the display coordinate for each control, and taking the distance information as the control distance corresponding to the control.
The control identification method based on laser interaction specifically comprises the following steps: the control position information also comprises a control edge value; the determining that the control corresponding to the laser spot in the controls is the target control according to the control distance specifically includes:
judging whether a control including the display coordinate exists in a control range corresponding to the control according to a preset control range rule and the control distance;
if so, taking a control including the display coordinates as a target control;
if not, determining a target control in the control according to the control edge value.
The control identification method based on laser interaction specifically comprises the following steps: the control distance comprises a decomposition distance value; the step of judging whether a control including the display coordinate exists in a control range corresponding to the control according to a preset control range rule and the control distance specifically includes:
and for each control, judging whether the control range corresponding to the control covers the display coordinate or not according to whether the decomposition distance value less than or equal to zero exists in the control distance corresponding to the control or not.
The control identification method based on laser interaction specifically comprises the following steps: the determining, according to the control edge value, a target control in the controls specifically includes:
judging whether a control distance with a decomposition distance value smaller than the control edge value exists in the control distance corresponding to the control;
and if so, taking the control corresponding to the control distance with the decomposition distance value smaller than the control edge value as the target control.
The control identification method based on laser interaction specifically comprises the following steps: after determining that the control corresponding to the laser spot in the controls is the target control according to the control distance, the method further includes: and controlling the target control to acquire a focus.
A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the laser interaction based control identification method as any one of the above.
A terminal device, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the laser interaction based control identification method as described in any one of the above.
Has the advantages that: compared with the prior art, the invention provides a control identification method based on laser interaction, a storage medium and terminal equipment, wherein the method comprises the steps of obtaining spot position information of laser spots; calculating the control distance between the laser light spot and each control according to the control position information and the light spot position information; and determining a control corresponding to the laser spot in the controls as a target control according to the control distance. When the user is far away from the screen, whether the user wants to click the control and the type of the control which the user wants to click can be determined according to the distance between the laser spot and the control, so that the control which the user wants to click can be accurately identified even if the user cannot accurately hit the laser on the control, and the identification accuracy of the control based on the laser is improved.
Drawings
Fig. 1 is a flowchart of a control identification method based on laser interaction according to the present invention.
Fig. 2 is a system framework diagram of a control identification method based on laser interaction according to the present invention.
Fig. 3 is a schematic diagram of determining a target control in the control identification method based on laser interaction provided by the present invention.
Fig. 4 is a logic diagram of a control identification method based on laser interaction according to the present invention.
Fig. 5 is a schematic structural diagram of a terminal device according to the present invention.
Detailed Description
The invention provides a control identification method based on laser interaction, a storage medium and a terminal device, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
The inventor finds that when the distance between the user and the display screen is far, the user cannot accurately click the control to be selected, and the subsequent click selection of the user cannot be responded. Thus, the accuracy of laser-based control identification is still low today.
In order to solve the above problem, in the embodiment of the present invention, spot position information of a laser spot is acquired; calculating the control distance between the laser light spot and each control according to the control position information and the light spot position information; and determining a control corresponding to the laser spot in the controls as a target control according to the control distance. When the user is far away from the screen, whether the user wants to click the control and the type of the control which the user wants to click can be determined according to the distance between the laser spot and the control, so that the control which the user wants to click can be accurately identified even if the user cannot accurately hit the laser on the control, and the identification accuracy of the control based on the laser is improved.
The embodiment provides a control method based on laser interaction, which can be applied to an electronic device, wherein the electronic device is configured with a laser sensing panel capable of sensing laser and can interact with a user based on laser, and the electronic device can be implemented in various forms, such as a PC, a mobile phone, a tablet computer, a television, a Personal Digital Assistant (PDA), and the like. In addition, the functions realized by the method can be realized by calling the program code by a processor in the electronic equipment, and the program code can be saved in a computer storage medium.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The invention will be further explained by the description of the embodiments with reference to the drawings.
As shown in fig. 1, the present implementation provides a control identification method based on laser interaction, which may include the following steps:
and S10, acquiring the spot position information of the laser spot and the control position information of each control.
Specifically, a display panel mounted with a laser sensor panel is taken as an example. Referring to fig. 2, when a user projects a laser to the laser sensing screen, the laser sensing screen may sense a position of a laser spot, generate corresponding spot position information, and send the spot position information to a processing center where the display television is installed. The processing center in this embodiment is a Field-Programmable Gate Array (FPGA) installed in the display television, and the FPGA is used to realize that the display television obtains the spot position information of the laser spot. In addition, the display television can also acquire control information of each control in the display screen. The display television comprises two screens, one is a laser sensing screen and the other is a display screen. The display screen is used for displaying text, images, controls and other contents. When content display is carried out, in order to ensure the orderliness of the content, a control, an image and the like all have corresponding positions, and the position corresponding to the control is used as control position information of the control.
In order to facilitate subsequent identification, in this embodiment, the spot position information of the laser spot includes a corresponding laser coordinate.
In this embodiment, the laser sensor panel is provided with a plurality of photosensors, and each photosensor may be a photosite. When a user projects laser to the laser sensing screen, the position of a laser spot on the laser sensing screen can be determined according to the photosensitive sensor. For example, according to the laser sensing screen, a corresponding laser coordinate axis is set, the photosensitive sensor at the upper left corner of the laser display screen is taken as an origin, the horizontal right side is taken as a horizontal axis, the vertical downward side is taken as a vertical axis, and each photosensitive sensor is taken as a unit, so that the coordinate corresponding to each photosensitive sensor is determined. There are generally two types of photosensitive sensors, one is used for detecting the intensity of light, and when the intensity of light changes, the resistance of the photosensitive sensor also changes; the other is a wavelength for detecting light, and when the wavelength of light is changed, the resistance value is also changed. And determining the photosensitive sensor corresponding to the laser spot according to the change of the resistance value of the photosensitive sensor, and taking the coordinate of the photosensitive sensor as the laser coordinate of the laser spot.
And S20, calculating the control distance between the laser spot and each control according to the control position information and the spot position information.
Specifically, the distance between the laser spot and the control can be calculated according to the spot position information of the laser spot and the control position information of the control. In one implementation, the spot position information of the laser spot and the spot position information of the control may be directly corresponding, for example, because the resolution of the display screen corresponds to the distribution of the photosensitive sensors of the laser sensing screen, for example, the resolution is 200 × 200, the photosensitive sensors are horizontally arranged 200 and vertically arranged 200, and therefore the coordinate axes of the two are the same, the distance between the spot and each control can be directly calculated according to the spot position information and the control position information, and the distance is used as the corresponding control distance.
In another implementation, in order to meet the requirements of display screens with different resolutions and improve the utilization rate of the photosensitive sensors in the laser sensing screen, the resolution of the display screen does not correspond to that of the laser sensing screen, for example, the resolution is 1920 × 1080, the photosensitive sensors are horizontally arranged 325, and the photosensitive sensors are vertically arranged 169. Based on this situation, the manner of calculating the control distance provided by this embodiment is as follows:
and A10, calculating the corresponding display coordinate of the laser spot in the display coordinate axis according to the laser coordinate.
Specifically, after the laser coordinates are acquired, the laser driver calculates corresponding coordinates of the laser driver in the display coordinate axis, which is named as display coordinates. The conversion relation between the display coordinate axis and the laser coordinate axis is stored in advance, and when the laser coordinate is obtained, the corresponding coordinate of the laser spot in the display coordinate axis can be calculated according to the conversion relation between the display coordinate axis and the laser coordinate axis, namely the display coordinate. The translation relationship may be stored in a System-on-Chip (SoC).
And A20, calculating the distance between the display coordinate and each control according to the control coordinate and the display coordinate, and generating the control distance corresponding to each control.
Specifically, after the display coordinates are determined, the display coordinates are reported to a framework (framework) through laser driving in the display television, and the framework determines the control which the laser wants to click according to the control range and the distance corresponding to each control. Because the control coordinates and the display coordinates are generated based on the display coordinate axis, the distance between the display coordinates and the control coordinates of each control can be directly calculated according to the coordinate values of the control coordinates and the display coordinates, and therefore the control distance corresponding to each space is generated.
Since a control generally occupies a certain area, its corresponding control coordinates should include a plurality of coordinates for describing the control. Taking a round control as an example, in one embodiment, when determining the corresponding shape of the round control, the round control is represented by parameters x, y, w and h, where x and y are respectively an abscissa and an ordinate of one of a pair of opposite angles in a rectangle corresponding to the round in a display coordinate axis; h and w are the length of the rectangle on the horizontal axis and the length on the vertical axis, respectively, so that x + w and y + h are the abscissa and ordinate of the other corner of the rectangle in the real coordinate axis. The matrix is the size of the image file for displaying the control, the image file is generated in a rectangular form, and the part of the image except for the circle is transparent, so that the control is visually displayed in a circle.
In this embodiment, the control coordinates include a number of control edge coordinates, and the step includes: and calculating a distance value between each control edge coordinate of each control and the display coordinate for each control, and taking the distance value as a control distance corresponding to the control.
Specifically, the edge coordinates of the control are coordinates of the boundary of the display image corresponding to the control, and taking the circular control as an example, the edge coordinates of the control are coordinates of four corners of the image corresponding to the control in the display coordinate axis, which are (x, y), (x + w, y), (x, y + h), and (x + w, y + h), respectively. A distance value between each control edge coordinate and the display coordinate is then calculated. For example, the edge coordinates of a control are (0, 0), (0, 3), (4, 0) and (3, 4), and the display coordinates are (0, 0), which is described by the euclidean distance, and the corresponding distance values include 0, 3, 4 and 5. These distance values are taken as the control distance between the control and the laser spot. And after calculation is carried out on each control, the control distance between the laser spot and each control can be obtained.
And S30, determining the control corresponding to the laser spot in the controls as a target control according to the control distance.
Specifically, after the control distances are obtained, the control corresponding to the laser spot can be determined according to the control distance corresponding to each control, and the control is used as a target control.
For example, the control corresponding to the minimum control distance value is taken as a target control, and the control corresponding to the control distance smaller than a preset control distance threshold is taken as a target control.
In a first implementation manner provided by this embodiment, the control position information further includes a control edge value; the method comprises the following steps:
and B10, judging whether a control including the display coordinate exists in a control range corresponding to the control according to a preset control range rule and the control distance.
Specifically, referring to fig. 4, a control range rule is preset, the control is displayed in an image, so that a range of the image corresponding to the control is used as the control range, and the control range rule is used to determine whether the display coordinate is located in the control range, and is described in a coordinate form, that is, whether the display coordinate is included in the control range.
There are many judgment ways, taking the controls with edge coordinates of (0, 0), (0, 3), (4, 0) and (3, 4) as an example, in the first judgment way, the control distance further includes the distance direction, and the judgment can be made according to whether the distance directions are the same in the same control distance. For example, if the display coordinate is (5, 5), the display coordinate is taken as a starting point, and the edge coordinate is taken as an end point, the distance directions are all directed in the negative direction (the horizontal axis direction of the coordinate axis is taken as a positive direction), and therefore the display coordinate is not included in the range of the control corresponding to the control. If the display coordinate is (0, 2), the distance direction is a negative direction, a positive direction and a positive direction in order, and therefore the control range corresponding to the control encompasses the display coordinate. In addition, the distance direction may also use the edge coordinates as a starting point and the display coordinates as an end point, and the starting point and the end point of the distance direction corresponding to the same control are fixed, but the end point and the starting point of the distance direction corresponding to different controls may be different.
In addition, in a second determination manner, the control distance includes a decomposition distance value; the steps include
And for each control, judging whether the control range corresponding to the control covers the display coordinate or not according to whether the decomposition distance value less than or equal to zero exists in the control distance corresponding to the control or not.
Specifically, the decomposed distance value refers to a numerical value described in terms of distance in terms of numerical values on the abscissa and the ordinate. For example, the display coordinate is (5, 5), the corresponding decomposition distance values are (5, 5), (5, 2), (1, 5) and (2, 1), and each decomposition distance value is greater than zero, so that the control range corresponding to the control does not include the display coordinate. If the display coordinate is (0, 2), the corresponding values of the decomposition distances are (0, 2) (0, -1) (-4, 2) and (-3, -2), respectively, so that there are three values of the decomposition distances less than or equal to zero, and the range of the control corresponding to the control encompasses the display coordinate.
And B20, if yes, taking the control containing the display coordinates as a target control.
Specifically, if yes, it is stated that the user applies laser to the display image corresponding to the control, and therefore the control is taken as the target control.
And B30, if not, determining a target control in the controls according to the control edge value.
Specifically, if not, it is determined that the display coordinate is located outside the display image corresponding to the control, and therefore, it is necessary to further determine through the control edge value in the control information. A control edge value refers to a length value of the control outside of the edge coordinates. For example, the controls with edge coordinates (0, 0), (0, 3), (4, 0) and (3, 4), the display coordinates (5, 5) and the edge values (2, 2), and then the edge value 2 is added to the edge coordinates, so as to obtain the corresponding control range. And then judging whether the display coordinate is positioned in the control range of the control, and if so, determining that the control is the target control. And executing the judgment aiming at each control, and if the target control does not exist, indicating that the probability of using the laser spot by the user is not suitable for using the control.
It should be noted that the size of the edge value may be determined according to the size of the control, the frequency of use, and the distance from other controls, and the abscissa value and the ordinate value in the edge value may be different. Referring to fig. 3, the control View1 is adjacent to the control View2, and if a preset edge value is directly adopted, the two controls may have an overlapping region, so that when the preset edge value is adopted, a region in which control ranges corresponding to the controls overlap exists, a middle line between the controls is used as a division label, and a distance between the middle line and the controls is used as the edge value of the control. If the display coordinates are on the left side of the middle line, the target control is control View1, and if the laser coordinates are right on the middle line, none of the controls is the target control; and if the laser coordinate is on the right side of the middle line, the target control is control View 2.
Further, based on the above decomposition distance value, step B30 may include:
and C10, judging whether a control distance with a decomposition distance value smaller than the control edge value exists in the control distance corresponding to the control.
Specifically, when it is determined that there is no control covering the display coordinates, for each control, the size of the decomposition distance value and the control edge value corresponding to the control is calculated.
Taking the above controls with edge coordinates of (0, 0), (0, 3), (4, 0) and (3, 4) as examples, the display coordinates are (5, 5), the edge values are (3, 3), and the corresponding decomposition distance values of the controls are (5, 5), (5, 2), (1, 5) and (2, 1). Then, the values of the decomposition distance values are compared, wherein the values are smaller than the control edge value, (2, 1), so that the control decomposition distance value is smaller than the control edge value.
And C20, if so, taking the control corresponding to the control distance with the decomposition distance value smaller than the control edge value as the target control.
Specifically, if yes, it is indicated that the display coordinate is located in the control range corresponding to the control, and the control is taken as the target control.
If the target control does not exist, the event of the focusing control is cancelled.
Further, after step S30, the method further includes:
and controlling the target control to acquire a focus.
After the target control corresponding to the selected coordinate is determined, the target control can be controlled to obtain a focus (Focused). When input data are received through a keyboard, one window only has one control with a focus at the same time, so that the content can be displayed in the input box with the focus, and the condition that the focus is obtained by the control A is intuitively shown. The currently focused acquisition Mode includes a Touch Mode (Touch Mode) and a normal Mode. The television adopts a touch mode, the touch mode is set in an xml layout in advance, and the command can be' android: the setFocusableTouchMode may be "true", i.e., a touch mode in which focus acquisition is enabled. And after the target control corresponding to the selected coordinate is determined, the target control is made to acquire the focus through a requestFocus () method for acquiring the focus.
Based on the control identification method based on laser interaction, the embodiment provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps in the control identification method based on laser interaction according to the embodiment.
Based on the above control identification method based on laser interaction, the present invention further provides a terminal device, as shown in fig. 5, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. Processor 20 may call logic instructions in memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional applications and data processing, i.e. implements the methods in the above embodiments, by running software programs, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A control identification method based on laser interaction is characterized by comprising the following steps:
acquiring spot position information of laser spots and control position information of each control;
calculating the control distance between the laser light spot and each control according to the control position information and the light spot position information;
and determining a control corresponding to the laser spot in the controls as a target control according to the control distance.
2. The control identification method based on laser interaction of claim 1, wherein the spot position information includes a laser coordinate, the laser coordinate is a coordinate of the laser spot in a laser coordinate axis, and the laser coordinate axis is a coordinate axis set according to a laser sensing screen; the control position information comprises control coordinates, the control coordinates are coordinates of the control in a display coordinate axis, and the display coordinate axis is a coordinate axis set according to a display screen.
3. The method for identifying a control based on laser interaction according to claim 2, wherein the calculating, according to the control position information and the spot position information, the control distance between the laser spot and each control specifically comprises:
according to the laser coordinates, calculating corresponding display coordinates of the laser spots in the display coordinate axis;
and calculating the distance between the display coordinate and each control according to the control coordinate and the display coordinate, and generating the control distance corresponding to each control.
4. The method for identifying a control based on laser interaction as claimed in claim 3, wherein the control coordinates comprise a number of control edge coordinates; the calculating the distance between the display coordinate and each control according to the control position information and the display coordinate, and the generating the control distance corresponding to each control specifically includes:
and calculating distance information between each control edge coordinate of each control and the display coordinate for each control, and taking the distance information as the control distance corresponding to the control.
5. The method for identifying a control based on laser interaction as claimed in claim 4, wherein the control position information further comprises a control edge value; the determining that the control corresponding to the laser spot in the controls is the target control according to the control distance specifically includes:
judging whether a control including the display coordinate exists in a control range corresponding to the control according to a preset control range rule and the control distance;
if so, taking a control including the display coordinates as a target control;
if not, determining a target control in the control according to the control edge value.
6. The method of claim 5, wherein the control distance comprises a decomposition distance value; the step of judging whether a control including the display coordinate exists in a control range corresponding to the control according to a preset control range rule and the control distance specifically includes:
and for each control, judging whether the control range corresponding to the control covers the display coordinate or not according to whether the decomposition distance value less than or equal to zero exists in the control distance corresponding to the control or not.
7. The method for identifying a control based on laser interaction according to claim 6, wherein the determining a target control in the controls according to the control edge value specifically comprises:
judging whether a control distance with a decomposition distance value smaller than the control edge value exists in the control distance corresponding to the control;
and if so, taking the control corresponding to the control distance with the decomposition distance value smaller than the control edge value as the target control.
8. The method for identifying the control based on the laser interaction according to any one of claims 1 to 7, wherein after determining that the control corresponding to the laser spot in the controls is the target control according to the control distance, the method further comprises:
and controlling the target control to acquire a focus.
9. A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the method for identifying a control based on laser interaction according to any one of claims 1 to 8.
10. A terminal device, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps of the method for identifying a control based on laser interaction according to any one of claims 1 to 8.
CN202011195700.2A 2020-10-30 2020-10-30 Control identification method based on laser interaction, storage medium and terminal equipment Pending CN114442819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011195700.2A CN114442819A (en) 2020-10-30 2020-10-30 Control identification method based on laser interaction, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011195700.2A CN114442819A (en) 2020-10-30 2020-10-30 Control identification method based on laser interaction, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN114442819A true CN114442819A (en) 2022-05-06

Family

ID=81356997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011195700.2A Pending CN114442819A (en) 2020-10-30 2020-10-30 Control identification method based on laser interaction, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114442819A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060244719A1 (en) * 2005-04-29 2006-11-02 Microsoft Corporation Using a light pointer for input on an interactive display surface
US20110025818A1 (en) * 2006-11-07 2011-02-03 Jonathan Gallmeier System and Method for Controlling Presentations and Videoconferences Using Hand Motions
CN103376894A (en) * 2012-04-27 2013-10-30 深圳富泰宏精密工业有限公司 Laser indication sharing method and system
CN106960559A (en) * 2017-03-24 2017-07-18 微鲸科技有限公司 Screen display device, display content control method, remote control system and remote control thereof
CN206532260U (en) * 2017-01-16 2017-09-29 广西科技大学鹿山学院 Based on the laser pen-based input device positioned in projection screen
CN107765918A (en) * 2017-10-18 2018-03-06 广州视源电子科技股份有限公司 A kind of method and system for optimizing capacitance touch platen edge and touching effect
CN111625177A (en) * 2020-05-26 2020-09-04 意诺科技有限公司 Method and device for determining effective touch area and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060244719A1 (en) * 2005-04-29 2006-11-02 Microsoft Corporation Using a light pointer for input on an interactive display surface
US20110025818A1 (en) * 2006-11-07 2011-02-03 Jonathan Gallmeier System and Method for Controlling Presentations and Videoconferences Using Hand Motions
CN103376894A (en) * 2012-04-27 2013-10-30 深圳富泰宏精密工业有限公司 Laser indication sharing method and system
CN206532260U (en) * 2017-01-16 2017-09-29 广西科技大学鹿山学院 Based on the laser pen-based input device positioned in projection screen
CN106960559A (en) * 2017-03-24 2017-07-18 微鲸科技有限公司 Screen display device, display content control method, remote control system and remote control thereof
CN107765918A (en) * 2017-10-18 2018-03-06 广州视源电子科技股份有限公司 A kind of method and system for optimizing capacitance touch platen edge and touching effect
CN111625177A (en) * 2020-05-26 2020-09-04 意诺科技有限公司 Method and device for determining effective touch area and electronic equipment

Similar Documents

Publication Publication Date Title
CN103092432B (en) The trigger control method of man-machine interactive operation instruction and system and laser beam emitting device
US20140118268A1 (en) Touch screen operation using additional inputs
US20230025945A1 (en) Touch control method for display, terminal device, and storage medium
US20140062863A1 (en) Method and apparatus for setting electronic blackboard system
CN108733296B (en) Method, device and equipment for erasing handwriting
CN102436327B (en) Screen input system and implementation method thereof
US20230280837A1 (en) Interaction method, display device, and non-transitory storage medium
US10073586B2 (en) Method and system for mouse pointer to automatically follow cursor
US9665260B2 (en) Method and apparatus for controlling screen of mobile device
JP6287861B2 (en) Information processing apparatus, information processing method, and program storage medium
CN114442819A (en) Control identification method based on laser interaction, storage medium and terminal equipment
US10057315B2 (en) Communication support system, information processing apparatus, control method, and storage medium that display an output image obtained by superposing a reference image over a captured image
CN101714032A (en) Device for processing optical control information
US9323364B2 (en) Interactive method, apparatus and system
WO2013076824A1 (en) Information processing method for touch panel device and touch panel device
US9639768B2 (en) Methods and systems to adaptively detect object borders from electronic device images
CN113485590A (en) Touch operation method and device
CN201859424U (en) Touch control system of display
WO2019100547A1 (en) Projection control method, apparatus, projection interaction system, and storage medium
US9575576B2 (en) Display control system
US20210027750A1 (en) Display apparatus, display system, and display method
US11675496B2 (en) Apparatus, display system, and display control method
KR101592977B1 (en) Display apparatus and control method thereof
CN116385599B (en) Text interaction method, text interaction device, electronic equipment and storage medium
CN113457117B (en) Virtual unit selection method and device in game, storage medium and electronic equipment

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