WO2013097487A1 - 简易空中鼠标的实现方法、视频终端及系统 - Google Patents
简易空中鼠标的实现方法、视频终端及系统 Download PDFInfo
- Publication number
- WO2013097487A1 WO2013097487A1 PCT/CN2012/081221 CN2012081221W WO2013097487A1 WO 2013097487 A1 WO2013097487 A1 WO 2013097487A1 CN 2012081221 W CN2012081221 W CN 2012081221W WO 2013097487 A1 WO2013097487 A1 WO 2013097487A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- triangle
- projected area
- air mouse
- current
- initial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of two-dimensional [2D] relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03543—Mice or pucks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/002—Specific input/output arrangements not covered by G06F3/01 - G06F3/16
- G06F3/005—Input arrangements through a video camera
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/0304—Detection arrangements using opto-electronic means
- G06F3/0325—Detection arrangements using opto-electronic means using a plurality of light emitters or reflectors or a plurality of detectors forming a reference frame from which to derive the orientation of the object, e.g. by triangulation or on the basis of reference deformation in the picked up image
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/4223—Cameras
Definitions
- the present invention relates to the field of network television technologies, and in particular, to a method, a video terminal and a system for implementing a simple air mouse applied to a network television.
- TV can not only play video, but also browse the web like a computer.
- the existing remote controller can no longer meet the user's needs, and the air mouse has emerged.
- the air mouse As an input device, the air mouse combines the remote control directly pointing to the screen with the mouse function supporting multimedia applications by means of a mouse remote control, and is compatible with the dual application of the computer and the television, which greatly improves the user experience. It does not need to be placed on any plane to operate the screen cursor like a traditional mouse. Users only need to shake the mouse in the air to move the cursor on the TV screen. It is extremely free and convenient. For example, in the office field, the air mouse can be used as The briefing pen enables the person who does the PPT presentation to sit on the conference table and play with the computer. Through the air remote control, functions such as mouse operation and page turning can be realized.
- the main object of the present invention is to provide a simple air mouse implementation method, video terminal and system which are simple in structure, low in cost and can improve the accuracy of cursor positioning of an aerial mouse on a terminal screen.
- the present invention provides a method for implementing a simple air mouse, including:
- the video terminal acquires an air mouse current position parameter;
- the current position parameter is a deflection angle and a direction of the air mouse relative to the original calibration coordinate position;
- the step of the video terminal acquiring the current position parameter of the air mouse includes:
- the video terminal scans the first, second, and third reference points preset in the air mouse by using an imaging device
- the step of calculating the deflection angle of the plane of the triangle according to the current projected area of the triangle and the initial projected area of the triangle comprises:
- a predetermined reference axis other than one side or a triangle of the triangle is a rotation axis
- the triangle is a right triangle
- the step of calculating the deflection angle of the plane of the triangle according to the current projected area of the triangle and the initial projected area of the triangle includes:
- the first, second, third and fourth reference points are illumination reference points.
- the invention also provides a video terminal for realizing a simple air mouse, comprising:
- a position parameter obtaining module configured to acquire an air mouse current position parameter;
- the current position parameter is a deflection angle and a direction of the air mouse relative to the original calibration coordinate position;
- a cursor positioning module configured to determine a cursor position on the video terminal according to the current position parameter and a preset proportional parameter, where the preset proportional parameter is a moving distance and a direction of the cursor on a video terminal screen The ratio of the angle of deflection and the direction of the air mouse.
- the location parameter obtaining module includes:
- a scanning unit configured to scan, by the camera device, the first, second, and third reference points preset in the air mouse;
- An area calculation unit configured to calculate a current projected area of the triangle formed by the first, second, and third reference points in the imaging device
- a deflection angle calculation unit configured to calculate a deflection angle of a plane of the triangle according to a current projected area of the triangle and an initial projected area of the triangle, the initial projected area being the first, second, and third a projected area in the imaging device when the reference point is at the predetermined initial position;
- a direction acquiring unit configured to acquire a rotation direction of the triangle according to a fourth reference point preset in the air mouse, where the fourth reference point is located outside a plane where the triangle is located.
- the triangle is a right-angled triangle
- the first, second, third and fourth reference points are illumination reference points.
- the invention also provides a simple air mouse implementation system, comprising: a video terminal and an air mouse, wherein the air mouse is provided with at least four reference points, wherein:
- the video terminal is configured to acquire a current location parameter of the air mouse according to the at least four reference points, and determine a cursor position on the video terminal according to the current location parameter and a preset ratio parameter;
- the position parameter is a deflection angle and a direction of the air mouse relative to the original calibration coordinate position;
- the preset proportional parameter is a movement distance and a direction of the cursor on the screen of the video terminal corresponding to a deflection angle and a direction of the air mouse. Proportional value.
- the system further comprises camera means coupled to the video terminal for scanning current position parameters of the air mouse and providing to the video terminal.
- the video terminal comprises:
- a position parameter obtaining module configured to acquire the current position parameter of the air mouse;
- the current position parameter is a deflection angle and a direction of the air mouse relative to the original calibration coordinate position;
- a cursor positioning module configured to determine a cursor position on the video terminal according to the current position parameter and a preset proportional parameter, where the preset proportional parameter is a moving distance and a direction of the cursor on a video terminal screen The ratio of the angle of deflection and the direction of the air mouse.
- the location parameter obtaining module includes:
- a scanning unit configured to scan, by the camera device, the first, second, and third reference points preset in the air mouse;
- An area calculation unit configured to calculate a current projected area of the triangle formed by the first, second, and third reference points in the imaging device
- a deflection angle calculation unit configured to calculate a deflection angle of a plane of the triangle according to a current projected area of the triangle and an initial projected area of the triangle, the initial projected area being the first, second, and third a projected area in the imaging device when the reference point is at the predetermined initial position;
- a direction acquiring unit configured to acquire a rotation direction of the triangle according to a fourth reference point preset in the air mouse, where the fourth reference point is located outside a plane where the triangle is located.
- the triangle is a right-angled triangle
- the first, second, third and fourth reference points are illumination reference points.
- the invention provides a simple air mouse implementation method, a video terminal and a system, and a reference point is built in an air mouse, and the deflection angle and direction of the air mouse relative to the initial position are obtained by the camera device based on the reference point and The deflection angle and direction and the preset proportional parameter adjust the cursor position on the video terminal, which greatly reduces the complexity of the air mouse and reduces the cost, and the change of the coordinate data of the cursor on the terminal screen is only related to the rotation angle of the air mouse.
- the problem that the cursor of the conventional air mouse changes relative to the original calibration coordinates due to the displacement is avoided, and the positioning accuracy of the cursor and the user experience effect are improved.
- FIG. 1 is a schematic flow chart of a preferred embodiment of a method for implementing a simple air mouse according to the present invention
- FIG. 2 is a schematic flow chart of a video terminal acquiring a current position parameter of an air mouse in a preferred embodiment of the method for implementing a simple air mouse according to the present invention
- 3a is a schematic diagram of a triangle formed by the first, second, and third points built in the air mouse in the preferred embodiment of the method for implementing the simple air mouse of the present invention
- FIG. 3b is a schematic diagram showing the principle of calculating the rotation angle of the air mouse in the preferred embodiment of the method for implementing the simple air mouse of the present invention
- 3c is a schematic diagram showing the principle of determining the angular rotation direction of the air mouse in the preferred embodiment of the method for implementing the simple air mouse of the present invention
- Figure 3d is a schematic diagram showing the principle of determining the clockwise rotation direction of the triangle built in the air mouse of Figure 3c;
- 3e is a schematic diagram showing the principle of determining the counterclockwise rotation direction of the triangle built in the air mouse of FIG. 3c;
- FIG. 4 is a schematic structural diagram of a preferred embodiment of a video terminal for implementing a simple air mouse according to the present invention
- FIG. 5 is a schematic structural diagram of a position parameter acquisition module in a preferred embodiment of a video terminal for implementing a simple air mouse according to the present invention
- FIG. 6 is a schematic structural view of a preferred embodiment of an air mouse implementation system of the present invention.
- the solution of the embodiment of the present invention is mainly: by inserting a light-emitting reference point in the air mouse, acquiring the deflection angle and direction of the air mouse relative to the initial position based on the above-mentioned light-emitting reference point, and thereby deflecting the angle and direction and pre-
- the proportional parameter is adjusted to adjust the position of the cursor on the video terminal, and the implementation method is simple, and the positioning accuracy of the cursor can be improved.
- the video terminal is a terminal having a video and a network function, such as a network television.
- a network television such as a Wi-Fi connection.
- a preferred embodiment of the present invention provides a method for implementing a simple air mouse, including:
- Step S101 the video terminal acquires a current position parameter of the air mouse
- the network television is connected to the camera device, and the camera module can be built in the network television (the camera device is taken as an example in the embodiment), and four air guns are built in the air mouse.
- the four reference points may specifically be four illumination reference points formed by four illumination devices.
- the four illumination reference points are defined as first, second, third, and fourth reference points, wherein the first, second, and third reference points form a triangle, and the fourth reference point is located at the first
- the second and third reference points form an arbitrary position outside the plane of the triangle.
- the first embodiment In order to accurately position the cursor position of the air mouse on the network television screen, the first embodiment first sets an initial position for the first, second, third and fourth reference points, and the initial position is used as the original calibration of the air mouse. The coordinate position is subsequently determined based on the original calibration coordinate position to determine the position change of the air mouse.
- the position of the air mouse changes with respect to the original calibration coordinate position
- the embodiment specifically limits the position change of the air mouse by the angle and direction of the angle of the air mouse relative to the original calibration coordinate position, and the air mouse is
- the angular deflection magnitude and direction relative to the original calibration coordinate position are used as the current positional parameters of the air mouse.
- the network television scans the first, second and third reference points in the air mouse through the camera device, and acquires the projected area formed by the triangle formed by the first, second and third reference points in the imaging device. .
- the network television pre-stores locally the initial projected area formed by the triangle formed by the first, second and third reference points in the imaging device when the air mouse is in the original calibration coordinate position, and then, with the movement of the air mouse, The network television scans the first, second and third reference points in the air mouse through the camera device, and acquires a current projected area formed by imaging the triangle formed by the first, second and third reference points in the imaging device.
- the deflection angle of the above-described triangle with respect to the initial position can be calculated.
- the deflection angle of the plane where the triangle is located is the deflection angle of the air mouse relative to the original calibration coordinate position, and the triangle may be determined according to the positional relationship of the fourth reference point and a certain point of the first, second and third reference points. Deflection direction.
- FIG. 3a a schematic diagram of a triangle formed by the first, second, and third points built in the air mouse of this embodiment is shown.
- the first, second and third points are defined as a, b, and c, respectively.
- the embodiment calculates the deflection angles of the abc triangles embedded in the air mouse in the horizontal direction and the vertical direction respectively, and then combines the deflection angles of the two directions to obtain the rotation angle of the air mouse.
- the deflection angles in the horizontal direction and the vertical direction by calculating the change in the projection length of each side of the triangle abc, the area change of the triangle is calculated, and by changing the area, the angle of the triangle in the horizontal direction and the vertical direction can be calculated.
- the network television can calculate the precise change angle with respect to the original calibration coordinate value by the above angle change.
- FIG. 3b is a schematic diagram of the calculation principle of the rotation angle of the air mouse of the present embodiment.
- one of the triangles may be selected as the rotation axis, or a reference rotation axis may be set outside the triangle, wherein the length A is the initial of the ab edge of the abc triangle on the projection surface (horizontal plane) of the camera device.
- the projection distance (imaging edge) in order to facilitate the calculation, the triangle is set to have a bottom edge perpendicular to the ab side, that is, the ab side is a straight edge, and the bottom edge is a rotation axis, and the bottom edge is perpendicular to FIG. 3b.
- the x-axis of the mid-projection surface Therefore, in this simplified example, the area change of the triangle is converted into a change in the length of the side length ab.
- the calculation method of the deflection angle when the triangle is deflected in the horizontal direction is the same as above.
- FIG. 3c is a schematic diagram of the principle of determining the angle deflection direction of the air mouse of the embodiment.
- the fourth reference point d is introduced in this embodiment. If the clockwise direction (clockwise outward in point a in FIG. 3c) is rotated, the imaging point of a is above d, as shown in the figure. 3d; if rotated counterclockwise, the imaged point of d will be above a, as shown in Figure 3e. Thus, the rotation direction of the air mouse in the horizontal and vertical directions can be judged by the above method.
- Step S102 Determine a cursor position on the video terminal according to the current position parameter and the preset proportional parameter.
- the position of the cursor on the network television screen can be adjusted according to the magnitude and direction of the deflection angle of the air mouse.
- the network television sets a position shifting parameter corresponding to the magnitude and direction of the deflection angle of the screen cursor and the air mouse.
- the set proportional parameter is the moving distance and direction of the cursor on the screen of the video terminal corresponding to the deflection angle and direction of the air mouse. According to the proportional parameter, the position of the cursor on the network television screen can be synchronously adjusted according to the magnitude and direction of the deflection angle of the current air mouse, so as to accurately position the screen cursor.
- step S101 includes:
- Step S1011 the video terminal scans the preset first, second, and third reference points in the air mouse by using the camera.
- Step S1012 calculating a current projected area of a triangle formed by the first, second, and third reference points in the imaging device
- Step S1013 calculating a deflection angle of a plane where the triangle is located according to a current projected area of the triangle and an initial projected area of the triangle, where the initial projected area is when the first, second, and third reference points are at a predetermined initial position, in the camera device.
- the projected area is a deflection angle of a plane where the triangle is located according to a current projected area of the triangle and an initial projected area of the triangle, where the initial projected area is when the first, second, and third reference points are at a predetermined initial position, in the camera device. The projected area.
- step S1014 the rotation direction of the triangle is obtained according to the fourth reference point preset in the air mouse, and the fourth reference point is located outside the plane of the triangle.
- the embodiment greatly reduces the complexity of the air mouse, and the change of the coordinate data of the cursor on the terminal screen is only related to the rotation angle of the air mouse, thereby avoiding the relative cursor of the traditional air mouse due to the displacement.
- the problem of calibrating coordinate changes improves the positioning accuracy of the cursor and the user experience.
- a preferred embodiment of the present invention provides a video terminal for implementing a simple air mouse, including: a position parameter acquisition module 401 and a cursor positioning module 402, wherein:
- a position parameter obtaining module 401 configured to acquire an air mouse current position parameter
- the cursor positioning module 402 is configured to adjust a cursor position on the video terminal according to the current position parameter and the preset proportional parameter.
- the network television is connected to the camera device, and the camera module can be built in the network television (the camera device is taken as an example in the embodiment), and four air guns are built in the air mouse.
- the four reference points may specifically be four illumination reference points formed by four illumination devices.
- the four illumination reference points are defined as first, second, third, and fourth reference points, wherein the first, second, and third reference points form a triangle, and the fourth reference point is located at the first
- the second and third reference points form an arbitrary position outside the plane of the triangle.
- the first embodiment In order to accurately position the cursor position of the air mouse on the network television screen, the first embodiment first sets an initial position for the first, second, third and fourth reference points, and the initial position is used as the original calibration of the air mouse. The coordinate position is subsequently determined based on the original calibration coordinate position to determine the position change of the air mouse.
- the position of the air mouse changes with respect to the original calibration coordinate position
- the embodiment specifically limits the position change of the air mouse by the angle and direction of the angle of the air mouse relative to the original calibration coordinate position, and the air mouse is
- the angular deflection magnitude and direction relative to the original calibration coordinate position are used as the current positional parameters of the air mouse.
- the position parameter acquisition module 401 of the network television scans the first, second and third reference points in the air mouse by the camera device, and acquires a triangle formed by the first, second and third reference points in the camera device.
- the network television pre-stores locally the initial projected area formed by the triangle formed by the first, second and third reference points in the imaging device when the air mouse is in the original calibration coordinate position, and then, with the movement of the air mouse, The network television scans the first, second and third reference points in the air mouse through the camera device, and acquires a current projected area formed by imaging the triangle formed by the first, second and third reference points in the imaging device.
- the deflection angle of the above-described triangle with respect to the initial position can be calculated.
- the deflection angle of the plane where the triangle is located is the deflection angle of the air mouse relative to the original calibration coordinate position, and the triangle may be determined according to the positional relationship of the fourth reference point and a certain point of the first, second and third reference points. Deflection direction.
- FIG. 3a a schematic diagram of a triangle formed by the first, second, and third points built in the air mouse of this embodiment is shown.
- the first, second and third points are defined as a, b, and c, respectively.
- the embodiment calculates the deflection angles of the abc triangles embedded in the air mouse in the horizontal direction and the vertical direction respectively, and then combines the deflection angles of the two directions to obtain the rotation angle of the air mouse.
- the deflection angles in the horizontal direction and the vertical direction by calculating the change in the projection length of each side of the triangle abc, the area change of the triangle is calculated, and by changing the area, the angle of the triangle in the horizontal direction and the vertical direction can be calculated.
- the network television can calculate the precise change angle with respect to the original calibration coordinate value by the above angle change.
- FIG. 3b is a schematic diagram of the calculation principle of the rotation angle of the air mouse of the present embodiment.
- one of the triangles may be selected as the rotation axis, or a reference rotation axis may be set outside the triangle, wherein the length A is the initial of the ab edge of the abc triangle on the projection surface (horizontal plane) of the camera device.
- the projection distance (imaging edge) in order to facilitate the calculation, the triangle is set to have a bottom edge perpendicular to the ab side, that is, the ab side is a straight edge, and the bottom edge is a rotation axis, and the bottom edge is perpendicular to FIG. 3b.
- the x-axis of the mid-projection surface Therefore, in this simplified example, the area change of the triangle is converted into a change in the length of the side length ab.
- the calculation method of the deflection angle when the triangle is deflected in the horizontal direction is the same as above.
- FIG. 3c is a schematic diagram of the principle of determining the angle deflection direction of the air mouse of the embodiment.
- the fourth reference point d is introduced in this embodiment. If the clockwise direction (clockwise outward in point a in FIG. 3c) is rotated, the imaging point of a is above d, as shown in the figure. 3d; if rotated counterclockwise, the imaged point of d will be above a, as shown in Figure 3e. Thus, the rotation direction of the air mouse in the horizontal and vertical directions can be judged by the above method.
- the cursor positioning module 402 adjusts the network television screen according to the magnitude and direction of the deflection angle of the air mouse. The position of the cursor.
- the network television sets a position shifting parameter corresponding to the magnitude and direction of the deflection angle of the screen cursor and the air mouse.
- the set proportional parameter is the moving distance and direction of the cursor on the screen of the video terminal corresponding to the deflection angle and direction of the air mouse. According to the proportional parameter, the position of the cursor on the network television screen can be synchronously adjusted according to the magnitude and direction of the deflection angle of the current air mouse, so as to accurately position the screen cursor.
- the position parameter obtaining module 401 includes: a scanning unit 4011, an area calculating unit 4012, a deflection angle calculating unit 4013, and a direction acquiring unit 4014.
- the scanning unit 4011 is configured to scan, by the camera device, the first, second, and third reference points preset in the air mouse;
- the area calculating unit 4012 is configured to calculate a current projected area of the triangle formed by the first, second, and third reference points in the imaging device;
- the deflection angle calculation unit 4013 is configured to calculate a deflection angle of a plane where the triangle is located according to a current projection area of the triangle and an initial projection area of the triangle, where the initial projection area is when the first, second, and third reference points are at a predetermined initial position, The projected area in the camera.
- the direction obtaining unit 4014 is configured to obtain a rotation direction of the triangle according to a fourth reference point preset in the air mouse, and the fourth reference point is located outside the plane where the triangle is located.
- the present invention further provides a simple air mouse implementation system, including: a video terminal 601, an air mouse 602, and an imaging device 603 connected to the video terminal 601.
- the air mouse is provided with at least three reference points, wherein :
- the video terminal 601 is configured to acquire a current position parameter of the air mouse 602, and adjust a cursor position on the video terminal 601 according to the current position parameter and a preset proportional parameter.
- the camera device 603 is configured to scan the current position parameter of the air mouse 602 and provide it to the video terminal 601.
- the imaging device 603 may be replaced by an imaging module built in the video terminal 601.
- the video terminal 601 in this embodiment may use the video terminal in the foregoing embodiment, and details are not described herein again.
- the reference point is built in the air mouse
- the deflection angle and direction of the air mouse relative to the initial position are obtained by the camera device based on the reference point, and the angle is deflected
- Adjusting the position of the cursor on the video terminal with the direction and the preset proportional parameter greatly reduces the complexity of the air mouse, and the change of the coordinate data of the cursor on the terminal screen is only related to the rotation angle of the air mouse, avoiding the traditional aerial mouse.
- the problem of the cursor changing relative to the original calibration coordinates due to the displacement improves the positioning accuracy of the cursor and the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Position Input By Displaying (AREA)
Abstract
本发明涉及一种简易空中鼠标的实现方法、视频终端及系统,其方法包括:视频终端获取空中鼠标当前位置参数,该当前位置参数为空中鼠标相对原始校准坐标位置的偏转角度及方向;根据当前位置参数及预设的比例参数确定视频终端上的光标位置。本发明通过在空中鼠标中内置参考点,基于上述参考点并通过摄像装置获取空中鼠标相对初始位置的偏转角度和方向,并以此偏转角度和方向及预设的比例参数确定视频终端上的光标位置,大大降低了空中鼠标的复杂程度,从而降低了成本,并且终端屏幕上光标的坐标数据的改变只与空中鼠标的旋转角度相关,避免了传统的空中鼠标由于位移而导致光标相对原始校准坐标变化的问题,提高了光标的定位精度及用户体验效果。
Description
技术领域
本发明涉及网络电视技术领域,尤其涉及一种应用于网络电视的简易空中鼠标的实现方法、视频终端及系统。
背景技术
随着网络电视技术的发展,电视不仅可以播放视频,还可以如电脑一样浏览网页。但是现有的遥控器由于受到按键数量限制以及功能限制,已无法满足用户的使用需求,空中鼠标由此应运而生。
空中鼠标作为一种输入设备,以鼠标遥控器的方式,将直接指向屏幕的遥控器和支持多媒体应用的鼠标功能结合在一起,兼容电脑与电视的双重应用,极大改善了用户的使用体验,其不需要放在任何平面上即可像传统鼠标一样操作屏幕光标,用户只需在空中晃动鼠标即可在电视屏幕上移动光标,使用极为自由、方便,例如在办公领域,空中鼠标可以当作简报笔,使做PPT演示的人员不需坐在会议桌上摆弄电脑,通过空中遥控,即可实现鼠标操作和翻页等功能。
但是,现有的空中鼠标内部大多使用陀螺仪和加速测试设备来控制屏幕光标的移动速度和位置,这些设备的使用不仅增加了空中鼠标的成本,而且使得空中鼠标在屏幕上的光标的坐标位置相比原始校准坐标存在较大误差,由此降低了用户的体验效果。
发明内容
本发明的主要目的在于提供一种结构简单、成本低并可提高空中鼠标在终端屏幕上的光标定位精度的简易空中鼠标的实现方法、视频终端及系统。
为了达到上述目的,本发明提出一种简易空中鼠标的实现方法,包括:
视频终端获取空中鼠标当前位置参数;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;
根据所述当前位置参数及预设的比例参数确定所述视频终端上的光标位置,所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
优选地,所述视频终端获取空中鼠标当前位置参数的步骤包括:
所述视频终端通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;
计算所述第一、第二、第三参考点形成的三角形在所述摄像装置中的当前投影面积;
根据所述三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度,所述初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在所述摄像装置中的投影面积;
根据所述空中鼠标中预设的第四参考点获取所述三角形的旋转方向,所述第四参考点位于所述三角形所在平面之外。
优选地,所述根据三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度的步骤包括:
以所述三角形中的一边或三角形之外的预设基准轴为旋转轴;
获取所述三角形的初始投影面积以及所述三角形旋转后的当前投影面积;
根据所述三角形的当前投影面积以及初始投影面积,计算所述三角形所在平面的偏转角度,所述三角形所在平面的偏转角度α=90°-arcSin(初始投影面积/当前投影面积)。
优选地,所述三角形为直角三角形,所述根据三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度的步骤包括:
以所述三角形的一直角边为旋转轴;
获取所述三角形另一直角边的初始投影长度以及所述三角形旋转后,该另一直角边的当前投影长度;
根据所述三角形的另一直角边的初始投影长度及当前投影长度,计算所述三角形所在平面的旋转角度,所述三角形所在平面的旋转角度α=90°-arcSin(初始投影长度/当前投影长度)。
优选地,所述第一、第二、第三及第四参考点均为发光参考点。
本发明还提出一种实现简易空中鼠标的视频终端,包括:
位置参数获取模块,用于获取空中鼠标当前位置参数;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;
光标定位模块,用于根据所述当前位置参数及预设的比例参数确定所述视频终端上的光标位置,所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
优选地,所述位置参数获取模块包括:
扫描单元,用于通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;
面积计算单元,用于计算所述第一、第二、第三参考点形成的三角形在所述摄像装置中的当前投影面积;
偏转角度计算单元,用于根据所述三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度,所述初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在所述摄像装置中的投影面积;
方向获取单元,用于根据所述空中鼠标中预设的第四参考点获取三角形的旋转方向,所述第四参考点位于所述三角形所在的平面之外。
优选地,所述偏转角度计算单元还用于以所述三角形中的一边或三角形之外的预设基准轴为旋转轴;获取所述三角形的初始投影面积以及所述三角形旋转后的当前投影面积;根据所述三角形的当前投影面积以及初始投影面积,计算所述三角形所在平面的偏转角度,所述三角形所在平面的偏转角度α=90°-arcSin(初始投影面积/当前投影面积)。
优选地,所述三角形为直角三角形,所述偏转角度计算单元还用于以所述三角形的一直角边为旋转轴;获取所述三角形另一直角边的初始投影长度以及所述三角形旋转后,该另一直角边的当前投影长度;根据所述三角形的另一直角边的初始投影长度及当前投影长度,计算所述三角形所在平面的旋转角度,所述三角形所在平面的旋转角度α=90°-arcSin(初始投影长度/当前投影长度)。
优选地,所述第一、第二、第三及第四参考点均为发光参考点。
本发明还提出一种简易空中鼠标实现系统,包括:视频终端以及空中鼠标,所述空中鼠标内设有至少四个参考点,其中:
所述视频终端,用于根据所述至少四个参考点获取所述空中鼠标的当前位置参数,并根据所述当前位置参数及预设比例参数确定所述视频终端上的光标位置;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
优选地,该系统还包括与所述视频终端连接的摄像装置,用于扫描所述空中鼠标的当前位置参数,并提供给所述视频终端。
优选地,所述视频终端包括:
位置参数获取模块,用于获取所述空中鼠标当前位置参数;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;
光标定位模块,用于根据所述当前位置参数及预设的比例参数确定所述视频终端上的光标位置,所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
优选地,所述位置参数获取模块包括:
扫描单元,用于通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;
面积计算单元,用于计算所述第一、第二、第三参考点形成的三角形在所述摄像装置中的当前投影面积;
偏转角度计算单元,用于根据所述三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度,所述初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在所述摄像装置中的投影面积;
方向获取单元,用于根据所述空中鼠标中预设的第四参考点获取三角形的旋转方向,所述第四参考点位于所述三角形所在的平面之外。
优选地,所述偏转角度计算单元还用于以所述三角形中的一边或三角形之外的预设基准轴为旋转轴;获取所述三角形的初始投影面积以及所述三角形旋转后的当前投影面积;根据所述三角形的当前投影面积以及初始投影面积,计算所述三角形所在平面的偏转角度,所述三角形所在平面的偏转角度α=90°-arcSin(初始投影面积/当前投影面积)。
优选地,所述三角形为直角三角形,所述偏转角度计算单元还用于以所述三角形的一直角边为旋转轴;获取所述三角形另一直角边的初始投影长度以及所述三角形旋转后,该另一直角边的当前投影长度;根据所述三角形的另一直角边的初始投影长度及当前投影长度,计算所述三角形所在平面的旋转角度,所述三角形所在平面的旋转角度α=90°-arcSin(初始投影长度/当前投影长度)。
优选地,所述第一、第二、第三及第四参考点均为发光参考点。
本发明提出的一种简易空中鼠标的实现方法、视频终端及系统,通过在空中鼠标中内置参考点,基于上述参考点并通过摄像装置获取空中鼠标相对初始位置的偏转角度和方向,并以此偏转角度和方向及预设的比例参数调整视频终端上的光标位置,大大降低了空中鼠标的复杂程度,降低了成本,并且终端屏幕上光标的坐标数据的改变只与空中鼠标的旋转角度相关,避免了传统的空中鼠标由于位移而导致光标相对原始校准坐标变化的问题,提高了光标的定位精度及用户体验效果。
附图说明
图1是本发明简易空中鼠标的实现方法较佳实施例的流程示意图;
图2是本发明简易空中鼠标的实现方法较佳实施例中视频终端获取空中鼠标当前位置参数的流程示意图;
图3a是本发明简易空中鼠标的实现方法较佳实施例中空中鼠标内置的第一、第二、第三点形成的三角形的示意图;
图3b是本发明简易空中鼠标的实现方法较佳实施例中空中鼠标的旋转角度计算原理示意图;
图3c是本发明简易空中鼠标的实现方法较佳实施例中空中鼠标的角度旋转方向判定原理示意图;
图3d是图3c中空中鼠标内置的三角形顺时针旋转方向的判定原理示意图;
图3e是图3c中空中鼠标内置的三角形逆时针旋转方向的判定原理示意图;
图4是本发明实现简易空中鼠标的视频终端较佳实施例的结构示意图;
图5是本发明实现简易空中鼠标的视频终端较佳实施例中位置参数获取模块的结构示意图;
图6是本发明空中鼠标实现系统较佳实施例的结构示意图。
为了使本发明的技术方案更加清楚、明了,下面将结合附图作进一步详述。
具体实施方式
本发明实施例的解决方案主要是:通过在空中鼠标中内置发光参考点,基于上述发光参考点并通过摄像装置获取空中鼠标相对初始位置的偏转角度和方向,并以此偏转角度和方向及预设的比例参数调整视频终端上的光标位置,实现方法简单,且可提高光标的定位精度。
本发明中视频终端为具有视频及网络功能的终端,比如网络电视等,以下实施例均以网络电视为例进行说明。
如图1所示,本发明较佳实施例提出一种简易空中鼠标的实现方法,包括:
步骤S101,视频终端获取空中鼠标当前位置参数;
以网络电视为例,本实施例中网络电视连接有摄像装置,也可以在在网络电视中内置摄像模块(本实施例以摄像装置为例进行说明),同时,在空中鼠标中内置有四个参考点,该四个参考点可以具体为四个发光设备形成的四个发光参考点。
本实施例定义上述四个发光参考点分别为第一、第二、第三及第四参考点,其中,第一、第二及第三参考点构成一三角形,第四参考点为位于第一、第二及第三参考点构成的三角形所在的平面之外的任意位置。
为了对空中鼠标在网络电视屏幕上的光标位置进行精确定位,本实施例首先为第一、第二、第三及第四参考点分别设定一初始位置,该初始位置作为空中鼠标的原始校准坐标位置,后续以该原始校准坐标位置为基准来确定空中鼠标的位置变化。
随着空中鼠标的移动,空中鼠标的位置相对该原始校准坐标位置产生变化,本实施例具体以空中鼠标相对原始校准坐标位置的角度偏转大小及方向来限定空中鼠标的位置变化,并将空中鼠标相对原始校准坐标位置的角度偏转大小及方向作为空中鼠标的当前位置参数。
网络电视通过摄像装置对空中鼠标中的第一、第二及第三参考点进行扫描,并获取该第一、第二及第三参考点构成的三角形在该摄像装置中成像所形成的投影面积。
网络电视预先在本地保存有空中鼠标在原始校准坐标位置时,第一、第二及第三参考点构成的三角形在摄像装置中成像所形成的初始投影面积,之后,随着空中鼠标的移动,网络电视通过摄像装置对空中鼠标中的第一、第二及第三参考点进行扫描,获取该第一、第二及第三参考点构成的三角形在摄像装置中成像所形成的当前投影面积。
然后,根据初始投影面积和当前投影面积之间的关系可以计算出上述三角形相对初始位置的偏转角度。
其具体计算过程可以为:以三角形中的一边或三角形之外的预设基准轴为旋转轴;获取三角形的初始投影面积以及三角形旋转后的当前投影面积;根据三角形的当前投影面积以及初始投影面积,计算三角形所在平面的偏转角度,该三角形所在平面的偏转角度=90°-arcSin(初始投影面积/当前投影面积)。
上述三角形所在平面的偏转角度即为空中鼠标相对原始校准坐标位置的偏转角度,同时可以根据第四参考点与第一、第二及第三参考点构成的三角形中某一点的位置关系,判断三角形的偏转方向。
具体地,如图3a所示,本实施例空中鼠标内置的第一、第二、第三点形成的三角形的示意图。其中,第一、第二及第三点分别定义为a、b、c。
为了获取空中鼠标的旋转角度,本实施例分别计算空中鼠标中内置的abc三角形在水平方向和垂直方向的偏转角度,然后将两个方向的偏转角度合成后,即得到空中鼠标的旋转角度。在计算水平方向和垂直方向的偏转角度时,通过计算该三角形abc各边的投影长度变化,进而计算该三角形的面积变化,通过该面积变化,则可以计算出三角形在水平方向和垂直方向的角度变化,网络电视通过上述角度变化可以计算出相对于原始校准坐标值的精确改变角度。
以垂直方向为例,如图3b所示,图3b是本实施例空中鼠标的旋转角度计算原理示意图。在计算旋转角度时,可以选择三角形中某一边为旋转轴,也可以在三角形之外设定一基准旋转轴,其中长度A为abc三角形中ab边在摄像装置的投影面(水平面)上的初始投影距离(成像边),为了便于计算,本实施例设定三角形具有与ab边垂直的底边,即ab边为一直角边,并以该底边为旋转轴,该底边垂直于图3b中投影面的x轴。因此,在此简化后的实例中,三角形的面积变化则转换为边长ab的长度的变化。
当三角形在垂直方向发生偏转时,比如按图3b中顺时针偏转α角度时,ab边在摄像装置中的投影距离变为A’,根据数据公式,其中A
与A’的关系可以表示为:A’=Sin(90-α)*A,由此可知:
偏转角度为α=90-arcSin(A’/A)。
对于三角形在垂直方向逆时针偏转时,偏转角度为α的计算公式同上。若三角形按图3b中逆时针偏转α角度时,ab边在摄像装置中的投影距离变为A’’,根据数据公式,其中A
与A’’的关系可以表示为:A’’=Sin(90-α)*A,由此可知:
偏转角度为α=90°-arcSin(A’’/A)。
对于三角形在水平方向偏转时偏转角度的计算方法同上。
通过上述计算公式可知,三角形在垂直方向偏转时,由于顺时针和逆时针同样旋转α角度时,A的长度变化相同,因此,需要区分三角形的角度偏转方向。
如图3c所示,图3c是本实施例空中鼠标的角度偏转方向判定原理示意图。
为了判定三角形的角度偏转方向,本实施例引入了第四参考点d,若顺时针方向(以图3c中a点向外为顺时针方向)旋转,a的成像点在d之上,如图3d所示;若为逆时针方向旋转,d的成像点将处于a之上,如图3e所示。由此通过上述方法可以判断出空中鼠标在水平和垂直方向的旋转方向。
步骤S102,根据当前位置参数及预设的比例参数确定视频终端上的光标位置。
当获取到空中鼠标相对于原始校准坐标位置的偏转角度大小及方向的当前位置参数后,则可根据空中鼠标的偏转角度大小和方向相应的调整网络电视屏幕上光标的位置。
通常网络电视设定有屏幕光标与空中鼠标的偏转角度大小和方向对应的位置移动比例参数,该设定的比例参数为光标在视频终端屏幕上的移动距离和方向对应空中鼠标的偏转角度及方向的比例值,根据该比例参数,则可以根据当前空中鼠标的偏转角度大小和方向,同步调整网络电视屏幕上光标的位置,实现对屏幕光标的精确定位。
具体实施过程中,如图2所示,上述步骤S101包括:
步骤S1011,视频终端通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;
步骤S1012,计算第一、第二、第三参考点形成的三角形在摄像装置中的当前投影面积;
步骤S1013,根据三角形的当前投影面积以及三角形的初始投影面积,计算三角形所在平面的偏转角度,初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在摄像装置中的投影面积。
步骤S1014,根据空中鼠标中预设的第四参考点获取三角形的旋转方向,第四参考点位于三角形所在平面之外。
相比现有技术,本实施例大大降低了空中鼠标的复杂程度,并且终端屏幕上光标的坐标数据的改变只与空中鼠标的旋转角度相关,避免了传统的空中鼠标由于位移而导致光标相对原始校准坐标变化的问题,提高了光标的定位精度及用户体验效果。
如图4所示,本发明较佳实施例提出一种实现简易空中鼠标的视频终端,包括:位置参数获取模块401以及光标定位模块402,其中:
位置参数获取模块401,用于获取空中鼠标当前位置参数;
光标定位模块402,用于根据当前位置参数及预设的比例参数调整视频终端上的光标位置。
以网络电视为例,本实施例中网络电视连接有摄像装置,也可以在在网络电视中内置摄像模块(本实施例以摄像装置为例进行说明),同时,在空中鼠标中内置有四个参考点,该四个参考点可以具体为四个发光设备形成的四个发光参考点。
本实施例定义上述四个发光参考点分别为第一、第二、第三及第四参考点,其中,第一、第二及第三参考点构成一三角形,第四参考点为位于第一、第二及第三参考点构成的三角形所在的平面之外的任意位置。
为了对空中鼠标在网络电视屏幕上的光标位置进行精确定位,本实施例首先为第一、第二、第三及第四参考点分别设定一初始位置,该初始位置作为空中鼠标的原始校准坐标位置,后续以该原始校准坐标位置为基准来确定空中鼠标的位置变化。
随着空中鼠标的移动,空中鼠标的位置相对该原始校准坐标位置产生变化,本实施例具体以空中鼠标相对原始校准坐标位置的角度偏转大小及方向来限定空中鼠标的位置变化,并将空中鼠标相对原始校准坐标位置的角度偏转大小及方向作为空中鼠标的当前位置参数。
网络电视中位置参数获取模块401通过摄像装置对空中鼠标中的第一、第二及第三参考点进行扫描,并获取该第一、第二及第三参考点构成的三角形在该摄像装置中成像所形成的投影面积。
网络电视预先在本地保存有空中鼠标在原始校准坐标位置时,第一、第二及第三参考点构成的三角形在摄像装置中成像所形成的初始投影面积,之后,随着空中鼠标的移动,网络电视通过摄像装置对空中鼠标中的第一、第二及第三参考点进行扫描,获取该第一、第二及第三参考点构成的三角形在摄像装置中成像所形成的当前投影面积。
然后,根据初始投影面积和当前投影面积之间的关系可以计算出上述三角形相对初始位置的偏转角度。
其具体计算过程可以为:以三角形中的一边或三角形之外的预设基准轴为旋转轴;获取三角形的初始投影面积以及三角形旋转后的当前投影面积;根据三角形的当前投影面积以及初始投影面积,计算三角形所在平面的偏转角度,该三角形所在平面的偏转角度=90°-arcSin(初始投影面积/当前投影面积)。
上述三角形所在平面的偏转角度即为空中鼠标相对原始校准坐标位置的偏转角度,同时可以根据第四参考点与第一、第二及第三参考点构成的三角形中某一点的位置关系,判断三角形的偏转方向。
具体地,如图3a所示,本实施例空中鼠标内置的第一、第二、第三点形成的三角形的示意图。其中,第一、第二及第三点分别定义为a、b、c。
为了获取空中鼠标的旋转角度,本实施例分别计算空中鼠标中内置的abc三角形在水平方向和垂直方向的偏转角度,然后将两个方向的偏转角度合成后,即得到空中鼠标的旋转角度。在计算水平方向和垂直方向的偏转角度时,通过计算该三角形abc各边的投影长度变化,进而计算该三角形的面积变化,通过该面积变化,则可以计算出三角形在水平方向和垂直方向的角度变化,网络电视通过上述角度变化可以计算出相对于原始校准坐标值的精确改变角度。
以垂直方向为例,如图3b所示,图3b是本实施例空中鼠标的旋转角度计算原理示意图。在计算旋转角度时,可以选择三角形中某一边为旋转轴,也可以在三角形之外设定一基准旋转轴,其中长度A为abc三角形中ab边在摄像装置的投影面(水平面)上的初始投影距离(成像边),为了便于计算,本实施例设定三角形具有与ab边垂直的底边,即ab边为一直角边,并以该底边为旋转轴,该底边垂直于图3b中投影面的x轴。因此,在此简化后的实例中,三角形的面积变化则转换为边长ab的长度的变化。
当三角形在垂直方向发生偏转时,比如按图3b中顺时针偏转α角度时,ab边在摄像装置中的投影距离变为A’,根据数据公式,其中A
与A’的关系可以表示为:A’=Sin(90-α)*A,由此可知:
偏转角度为α=90-arcSin(A’/A)。
对于三角形在垂直方向逆时针偏转时,偏转角度为α的计算公式同上。若三角形按图3b中逆时针偏转α角度时,ab边在摄像装置中的投影距离变为A’’,根据数据公式,其中A
与A’’的关系可以表示为:A’’=Sin(90-α)*A,由此可知:
偏转角度为α=90-arcSin(A’’/A)。
对于三角形在水平方向偏转时偏转角度的计算方法同上。
通过上述计算公式可知,三角形在垂直方向偏转时,由于顺时针和逆时针同样旋转α角度时,A的长度变化相同,因此,需要区分三角形的角度偏转方向。
如图3c所示,图3c是本实施例空中鼠标的角度偏转方向判定原理示意图。
为了判定三角形的角度偏转方向,本实施例引入了第四参考点d,若顺时针方向(以图3c中a点向外为顺时针方向)旋转,a的成像点在d之上,如图3d所示;若为逆时针方向旋转,d的成像点将处于a之上,如图3e所示。由此通过上述方法可以判断出空中鼠标在水平和垂直方向的旋转方向。
当位置参数获取模块401获取到空中鼠标相对于原始校准坐标位置的偏转角度大小及方向的当前位置参数后,则由光标定位模块402根据空中鼠标的偏转角度大小和方向相应的调整网络电视屏幕上光标的位置。
通常网络电视设定有屏幕光标与空中鼠标的偏转角度大小和方向对应的位置移动比例参数,该设定的比例参数为光标在视频终端屏幕上的移动距离和方向对应空中鼠标的偏转角度及方向的比例值,根据该比例参数,则可以根据当前空中鼠标的偏转角度大小和方向,同步调整网络电视屏幕上光标的位置,实现对屏幕光标的精确定位。
具体实施过程中,如图5所示,上述位置参数获取模块401包括:扫描单元4011、面积计算单元4012、偏转角度计算单元4013以及方向获取单元4014其中:
扫描单元4011,用于通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;
面积计算单元4012,用于计算所述第一、第二、第三参考点形成的三角形在摄像装置中的当前投影面积;
偏转角度计算单元4013,用于根据三角形的当前投影面积以及三角形的初始投影面积,计算三角形所在平面的偏转角度,初始投影面积为第一、第二及第三参考点在预定初始位置时,在摄像装置中的投影面积。
方向获取单元4014,用于根据空中鼠标中预设的第四参考点获取三角形的旋转方向,第四参考点位于所述三角形所在的平面之外。
如图6所示,本发明还提出一种简易空中鼠标实现系统,包括:视频终端601、空中鼠标602以及与视频终端601连接的摄像装置603,空中鼠标内设有至少三个参考点,其中:
视频终端601,用于获取空中鼠标602的当前位置参数,并根据所述当前位置参数及预设比例参数调整视频终端601上的光标位置。
摄像装置603,用于扫描空中鼠标602的当前位置参数,并提供给视频终端601。
其中,摄像装置603也可以由视频终端601中内置的摄像模块代替。
本实施例中的视频终端601可以采用上述实施例中的视频终端,在此不再赘述。
本发明实施例简易空中鼠标的实现方法、视频终端及系统,通过在空中鼠标中内置参考点,基于上述参考点并通过摄像装置获取空中鼠标相对初始位置的偏转角度和方向,并以此偏转角度和方向及预设的比例参数调整视频终端上的光标位置,大大降低了空中鼠标的复杂程度,并且终端屏幕上光标的坐标数据的改变只与空中鼠标的旋转角度相关,避免了传统的空中鼠标由于位移而导致光标相对原始校准坐标变化的问题,提高了光标的定位精度及用户体验效果。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (17)
- 一种简易空中鼠标的实现方法,其特征在于,包括:视频终端获取空中鼠标当前位置参数;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;根据所述当前位置参数及预设的比例参数确定所述视频终端上的光标位置,所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
- 根据权利要求1所述的方法,其特征在于,所述视频终端获取空中鼠标当前位置参数的步骤包括:所述视频终端通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;计算所述第一、第二、第三参考点形成的三角形在所述摄像装置中的当前投影面积;根据所述三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度,所述初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在所述摄像装置中的投影面积;根据所述空中鼠标中预设的第四参考点获取所述三角形的旋转方向,所述第四参考点位于所述三角形所在平面之外。
- 根据权利要求2所述的方法,其特征在于,所述根据三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度的步骤包括:以所述三角形中的一边或三角形之外的预设基准轴为旋转轴;获取所述三角形的初始投影面积以及所述三角形旋转后的当前投影面积;根据所述三角形的当前投影面积以及初始投影面积,计算所述三角形所在平面的偏转角度,所述三角形所在平面的偏转角度=90°-arcSin(初始投影面积/当前投影面积)。
- 根据权利要求3所述的方法,其特征在于,所述三角形为直角三角形,所述根据三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度的步骤包括:以所述三角形的一直角边为旋转轴;获取所述三角形另一直角边的初始投影长度以及所述三角形旋转后,该另一直角边的当前投影长度;根据所述三角形的另一直角边的初始投影长度及当前投影长度,计算所述三角形所在平面的旋转角度,所述三角形所在平面的旋转角度=90°-arcSin(初始投影长度/当前投影长度)。
- 根据权利要求2、3或4所述的方法,其特征在于,所述第一、第二、第三及第四参考点均为发光参考点。
- 一种实现简易空中鼠标的视频终端,其特征在于,包括:位置参数获取模块,用于获取空中鼠标当前位置参数;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;光标定位模块,用于根据所述当前位置参数及预设的比例参数确定所述视频终端上的光标位置,所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
- 根据权利要求6所述的视频终端,其特征在于,所述位置参数获取模块包括:扫描单元,用于通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;面积计算单元,用于计算所述第一、第二、第三参考点形成的三角形在所述摄像装置中的当前投影面积;偏转角度计算单元,用于根据所述三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度,所述初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在所述摄像装置中的投影面积;方向获取单元,用于根据所述空中鼠标中预设的第四参考点获取三角形的旋转方向,所述第四参考点位于所述三角形所在的平面之外。
- 根据权利要求7所述的视频终端,其特征在于,所述偏转角度计算单元还用于以所述三角形中的一边或三角形之外的预设基准轴为旋转轴;获取所述三角形的初始投影面积以及所述三角形旋转后的当前投影面积;根据所述三角形的当前投影面积以及初始投影面积,计算所述三角形所在平面的偏转角度,所述三角形所在平面的偏转角度α=90°-arcSin(初始投影面积/当前投影面积)。
- 根据权利要求7所述的视频终端,其特征在于,所述三角形为直角三角形,所述偏转角度计算单元还用于以所述三角形的一直角边为旋转轴;获取所述三角形另一直角边的初始投影长度以及所述三角形旋转后,该另一直角边的当前投影长度;根据所述三角形的另一直角边的初始投影长度及当前投影长度,计算所述三角形所在平面的旋转角度,所述三角形所在平面的旋转角度α=90°-arcSin(初始投影长度/当前投影长度)。
- 根据权利要求7、8或9所述的视频终端,其特征在于,所述第一、第二、第三及第四参考点均为发光参考点。
- 一种简易空中鼠标实现系统,其特征在于,包括:视频终端以及空中鼠标,所述空中鼠标内设有至少四个参考点,其中:所述视频终端,用于根据所述至少四个参考点获取所述空中鼠标的当前位置参数,并根据所述当前位置参数及预设比例参数确定所述视频终端上的光标位置;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
- 根据权利要求11所述的系统,其特征在于,还包括与所述视频终端连接的摄像装置,用于扫描所述空中鼠标的当前位置参数,并提供给所述视频终端。
- 根据权利要求12所述的系统,其特征在于,所述视频终端包括:位置参数获取模块,用于获取所述空中鼠标当前位置参数;所述当前位置参数为所述空中鼠标相对原始校准坐标位置的偏转角度及方向;光标定位模块,用于根据所述当前位置参数及预设的比例参数确定所述视频终端上的光标位置,所述预设的比例参数为所述光标在视频终端屏幕上的移动距离和方向对应所述空中鼠标的偏转角度及方向的比例值。
- 根据权利要求13所述的系统,其特征在于,所述位置参数获取模块包括:扫描单元,用于通过摄像装置扫描所述空中鼠标中预设的第一、第二、第三参考点;面积计算单元,用于计算所述第一、第二、第三参考点形成的三角形在所述摄像装置中的当前投影面积;偏转角度计算单元,用于根据所述三角形的当前投影面积以及所述三角形的初始投影面积,计算所述三角形所在平面的偏转角度,所述初始投影面积为所述第一、第二及第三参考点在预定初始位置时,在所述摄像装置中的投影面积;方向获取单元,用于根据所述空中鼠标中预设的第四参考点获取三角形的旋转方向,所述第四参考点位于所述三角形所在的平面之外。
- 根据权利要求14所述的系统,其特征在于,所述偏转角度计算单元还用于以所述三角形中的一边或三角形之外的预设基准轴为旋转轴;获取所述三角形的初始投影面积以及所述三角形旋转后的当前投影面积;根据所述三角形的当前投影面积以及初始投影面积,计算所述三角形所在平面的偏转角度,所述三角形所在平面的偏转角度α=90°-arcSin(初始投影面积/当前投影面积)。
- 根据权利要求14所述的系统,其特征在于,所述三角形为直角三角形,所述偏转角度计算单元还用于以所述三角形的一直角边为旋转轴;获取所述三角形另一直角边的初始投影长度以及所述三角形旋转后,该另一直角边的当前投影长度;根据所述三角形的另一直角边的初始投影长度及当前投影长度,计算所述三角形所在平面的旋转角度,所述三角形所在平面的旋转角度α=90°-arcSin(初始投影长度/当前投影长度)。
- 根据权利要求14所述的系统,其特征在于,所述第一、第二、第三及第四参考点均为发光参考点。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP12861536.6A EP2835720A4 (en) | 2011-12-27 | 2012-09-11 | METHOD, VIDEO DEVICE AND SYSTEM FOR IMPLEMENTING A SIMPLE AIR MOUSE |
| US14/400,540 US9766721B2 (en) | 2011-12-27 | 2012-09-11 | Method, video terminal, and system for realizing simple air mouse |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110444085.9 | 2011-12-27 | ||
| CN201110444085.9A CN102495687B (zh) | 2011-12-27 | 2011-12-27 | 简易空中鼠标的实现方法、视频终端及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2013097487A1 true WO2013097487A1 (zh) | 2013-07-04 |
Family
ID=46187516
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/081221 Ceased WO2013097487A1 (zh) | 2011-12-27 | 2012-09-11 | 简易空中鼠标的实现方法、视频终端及系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9766721B2 (zh) |
| EP (1) | EP2835720A4 (zh) |
| CN (1) | CN102495687B (zh) |
| WO (1) | WO2013097487A1 (zh) |
Families Citing this family (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102495687B (zh) * | 2011-12-27 | 2015-01-07 | 深圳Tcl新技术有限公司 | 简易空中鼠标的实现方法、视频终端及系统 |
| CN103531001B (zh) * | 2012-07-04 | 2018-05-29 | 华为终端有限公司 | 一种电子设备及其遥控方法 |
| TWI467467B (zh) * | 2012-10-29 | 2015-01-01 | Pixart Imaging Inc | 畫面物件移動控制方法及裝置 |
| CN103902061B (zh) * | 2012-12-25 | 2016-12-28 | 华为技术有限公司 | 空中鼠标的光标显示方法、设备及系统 |
| CN103200327B (zh) * | 2013-04-08 | 2017-10-31 | 上海斐讯数据通信技术有限公司 | 一种在手机上实现鼠标功能的方法 |
| CN106484142A (zh) * | 2015-08-26 | 2017-03-08 | 天津三星电子有限公司 | 一种实现显示屏幕的遥控方法 |
| CN105306995A (zh) * | 2015-12-07 | 2016-02-03 | 魅族科技(中国)有限公司 | 对终端进行控制的方法和装置 |
| KR102401641B1 (ko) * | 2016-01-08 | 2022-05-25 | 엘지전자 주식회사 | 모바일 디바이스 및 모바일 디바이스의 제어방법 |
| CN108491119B (zh) * | 2018-01-19 | 2020-06-02 | 昆山国显光电有限公司 | 光标控制方法以及位置检测方法和系统 |
| CN111352544A (zh) * | 2018-12-21 | 2020-06-30 | 北京科加触控技术有限公司 | 一种屏幕指示标识移动调整方法、装置及系统 |
| US20200269338A1 (en) | 2019-02-21 | 2020-08-27 | Lincoln Global, Inc. | Systems, methods, and apparatus for interacting with a computer during a welding operation |
| CN111710214B (zh) * | 2020-06-16 | 2022-05-20 | 广东小天才科技有限公司 | 一种自动修正光标方法及智能设备 |
| CN113467624B (zh) * | 2021-06-22 | 2023-07-25 | 四川长虹电器股份有限公司 | 一种空鼠翻滚页面的系统及方法 |
| CN113407045B (zh) * | 2021-06-28 | 2023-08-22 | 北京字节跳动网络技术有限公司 | 一种光标控制方法、装置、电子设备和存储介质 |
| CN119225544A (zh) * | 2024-12-03 | 2024-12-31 | 浙江大华技术股份有限公司 | 一种空中鼠标定位方法、电子设备及计算机可读存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101847316A (zh) * | 2010-05-27 | 2010-09-29 | 深圳市迈乐数码科技股份有限公司 | 用于网络电视机的红外遥控系统和遥控方法 |
| CN101916141A (zh) * | 2010-08-27 | 2010-12-15 | 林民东 | 一种基于空间定位技术的交互式输入装置和方法 |
| CN201699853U (zh) * | 2010-02-03 | 2011-01-05 | 姜开淦 | 一种带动作识别功能的遥控器 |
| CN102495687A (zh) * | 2011-12-27 | 2012-06-13 | 深圳Tcl新技术有限公司 | 简易空中鼠标的实现方法、视频终端及系统 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6720949B1 (en) * | 1997-08-22 | 2004-04-13 | Timothy R. Pryor | Man machine interfaces and applications |
| JP3937533B2 (ja) * | 1997-11-07 | 2007-06-27 | セイコーエプソン株式会社 | 遠隔座標入力装置および遠隔座標入力方法 |
| US8570378B2 (en) | 2002-07-27 | 2013-10-29 | Sony Computer Entertainment Inc. | Method and apparatus for tracking three-dimensional movements of an object using a depth sensing camera |
| JP4530011B2 (ja) * | 2007-09-12 | 2010-08-25 | 富士ゼロックス株式会社 | 位置計測システム |
-
2011
- 2011-12-27 CN CN201110444085.9A patent/CN102495687B/zh not_active Expired - Fee Related
-
2012
- 2012-09-11 US US14/400,540 patent/US9766721B2/en active Active
- 2012-09-11 WO PCT/CN2012/081221 patent/WO2013097487A1/zh not_active Ceased
- 2012-09-11 EP EP12861536.6A patent/EP2835720A4/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201699853U (zh) * | 2010-02-03 | 2011-01-05 | 姜开淦 | 一种带动作识别功能的遥控器 |
| CN101847316A (zh) * | 2010-05-27 | 2010-09-29 | 深圳市迈乐数码科技股份有限公司 | 用于网络电视机的红外遥控系统和遥控方法 |
| CN101916141A (zh) * | 2010-08-27 | 2010-12-15 | 林民东 | 一种基于空间定位技术的交互式输入装置和方法 |
| CN102495687A (zh) * | 2011-12-27 | 2012-06-13 | 深圳Tcl新技术有限公司 | 简易空中鼠标的实现方法、视频终端及系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP2835720A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102495687A (zh) | 2012-06-13 |
| EP2835720A1 (en) | 2015-02-11 |
| US9766721B2 (en) | 2017-09-19 |
| EP2835720A4 (en) | 2016-02-24 |
| US20150130720A1 (en) | 2015-05-14 |
| CN102495687B (zh) | 2015-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2013097487A1 (zh) | 简易空中鼠标的实现方法、视频终端及系统 | |
| WO2018166224A1 (zh) | 全景视频的目标追踪显示方法、装置及存储介质 | |
| EP3241093A1 (en) | Electronic system with gesture calibration mechanism and method of operation thereof | |
| EP3180908A1 (en) | Image photographing apparatus, image photographing system for performing photographing by using multiple image photographing apparatuses, and image photographing methods thereof | |
| WO2016085073A1 (en) | Ultrasound sensor and object detecting method thereof | |
| WO2020138840A1 (ko) | 자세 교정을 위한 디스플레이 장치 및 그의 제어 방법 | |
| WO2019085116A1 (zh) | 电磁炉测温方法、测温装置及可读储存介质 | |
| WO2017121066A1 (zh) | 应用程序显示方法和系统 | |
| WO2018233221A1 (zh) | 多窗口声音输出方法、电视机以及计算机可读存储介质 | |
| WO2017045435A1 (zh) | 控制电视播放方法和装置 | |
| WO2019061546A1 (zh) | 移动终端的拍照方法、装置及计算机可读存储介质 | |
| WO2018223602A1 (zh) | 显示终端、画面对比度提高方法及计算机可读存储介质 | |
| WO2016111487A1 (en) | Display apparatus and display method | |
| WO2018090446A1 (zh) | 投影仪调试安装方法及装置 | |
| WO2019148818A1 (zh) | 图像处理方法、装置、系统及计算机可读存储介质 | |
| WO2014089801A1 (zh) | 检测方法及检测装置 | |
| WO2019125036A1 (en) | Image processing method and display apparatus therefor | |
| WO2018023925A1 (zh) | 拍摄方法及系统 | |
| WO2017101259A1 (zh) | 图片显示方法及装置 | |
| WO2017024871A1 (zh) | 应用显示的方法及电视机 | |
| WO2017071223A1 (zh) | 电视应用的控制方法及装置 | |
| WO2019091128A1 (zh) | 新接入信源的信号预览方法及电视机 | |
| WO2018090505A1 (zh) | 无人机及其控制方法 | |
| WO2017107385A1 (zh) | 视频播放控制方法及装置 | |
| WO2019061528A1 (zh) | 动态壁纸的变化方法、装置及计算机可读存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12861536 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| REEP | Request for entry into the european phase |
Ref document number: 2012861536 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14400540 Country of ref document: US Ref document number: 2012861536 Country of ref document: EP |