CN102289328A - Human-computer interaction method and device based on handheld camera - Google Patents
Human-computer interaction method and device based on handheld camera Download PDFInfo
- Publication number
- CN102289328A CN102289328A CN2011102204279A CN201110220427A CN102289328A CN 102289328 A CN102289328 A CN 102289328A CN 2011102204279 A CN2011102204279 A CN 2011102204279A CN 201110220427 A CN201110220427 A CN 201110220427A CN 102289328 A CN102289328 A CN 102289328A
- Authority
- CN
- China
- Prior art keywords
- screen
- human
- computer interaction
- camera
- computer
- 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
Links
Images
Landscapes
- Image Processing (AREA)
Abstract
The invention discloses a human-computer interaction method and a human-computer interaction device based on a handheld camera. Different from the conventional human-computer interaction method for arranging a camera at an equipment end (for example, a computer display or a television screen), the human-computer interaction method comprises the following steps that: a user uses the handheld camera as point caching equipment to replace a mouse and as a way of human-computer interaction; and the handheld camera acquires a video image by facing the television screen (or the computer display), acquires the accurate position of a screen quadrangle in the video image in real time by an image analysis method, calculates accurate coordinates of an intersection point of an optical axis of the camera and a screen plane relative to the screen, and transmits the coordinates to the equipment end in a wireless mode, wherein the coordinates can move along with the movement of the camera in one hand of the user. The human-computer interaction device can serve as an intelligent remote controller to replace the conventional television remote controller and can serve as human-computer interaction equipment which is applicable to electronic games.
Description
Technical field
The present invention relates to the man-machine interaction method field, specifically, relate to the field that the image analysis method that utilizes machine vision carries out man-machine interaction.
Background technology
Man-machine interaction mode commonly used comprises some taking equipments such as the mouse touch screen of computing machine, and electronic game operating rod etc. all are to utilize laser infrared or mechanical method realizes the location.When the user need choose target on display device such as the screen, then need to move corresponding some taking equipment and produce relative physical displacement, thereby cursor is moved on screen.On the other hand, use infrared mode and televisor to carry out alternately in TV remote controller, the user by simple point get on the telepilot such as waiting button to realize choosing of on-screen menu up and down, the televisor of function complexity needs more button corresponding with it, and this makes that the size of telepilot is increasing.Corresponding electronic game on the televisor even use equipment such as game paddle, also can't realize accurate location to screen content as computer mouse, just can't utilize such as the aiming action of shooting game to have game paddle now and finish.
Summary of the invention
The objective of the invention is to utilize the principle of machine vision that a kind of method and device of accurate positioning screen coordinate are provided for televisor and computer user.By being installed in the real time video collection equipment on the telepilot, for increasing, televisor gets function as the point of computer mouse, promptly not only can choose on-screen menu by the directionkeys on the telepilot, and can realize the screen coordinate location, increase needs supports (as the aiming action of shooting game) of the accurately operation of location image contents to those, and this traditional remote controller was short of just.The present invention not only is applicable to televisor, also can be the computer user a kind of interactive operation mode that substitutes existing electronic game bar is provided.
The present invention comprises one and the telepilot and the calculating television screen position of video capture device (camera) has been installed and has calculated the computing method of cursor in the exact position.Algorithm is installed in the telepilot with embedded program or special digital chip form, and telepilot is realized communicating by letter transmission of coordinate information by infrared mode and main equipment (televisor) as the slave of televisor.When carrying out the electronic game operation, telepilot can be designed to other as rifle (shooting game) bearing circle shapes such as (car race games).Be used in ordinary individual's computing machine as this equipment, algorithm can be realized with the computing machine form of software.
Method flow is seen block diagram (Fig. 1), and corresponding concrete technology contents is as follows:
Step 1. camera is gathered video image towards TV screen (or computer screen), and the video image frame per second is a per second 15-30 frame, and resolution is 320 * 240 pixels;
Step 2. detects in every two field picture whether have television screen, if having, changes step 3 over to; Otherwise, withdraw from the detection of this two field picture.
Step 3. computed image central point drops on the position in television screen zone.Calculate earlier camera with the relative position of TV screen (or computer screen), calculate the intersection point on cam lens optical axis and TV screen (or computer screen) plane then, export as cursor position the left back exact position of this intersection point on TV screen (or computer screen) that obtain.
Wherein, step 1 realizes the real-time video collection, uses cheap computing machine to get final product with the CMOS camera.The visual field of cam lens need cover the four edges of television screen as far as possible, in order to realize this point, guarantee that camera and television screen are in suitable distance, perhaps use wide-angle lens.For the picture distortion that wide-angle lens produces, can correct by image processing method.
Step 2 and step 3 relate to the concrete enforcement of machine vision and image analysis method, will be described at next joint.
Specific implementation method
The committed step of this invention is to utilize the algorithm of graphical analysis, obtains the particular location of TV screen (or computer screen) on picture.Here two kinds of methods have been used.
Method one: the four edges E1, E2, E3 and the E4 that detect TV screen.Basic idea is to utilize Hough change detection straight line.At first use Hough conversion, image transitions in the Hough space, is analyzed the Hough space again, obtain most likely 4 straight lines of TV screen (or computer screen) based on image gradient.
Method two: based on the method such as the active shape method (ASM) of shape Statistics.This is a kind of method based on off-line learning, obtains statistical information about screen shape and colouring information according to the sampled images of a large amount of current model television screens, detects the quadrilateral that meets statistical model in the image most and exports as TV screen.
The quadrilateral of the TV screen that image acquisition arrives (or computer screen) is the mapping of rectangle template on the video camera imaging plane of the TV screen (or computer screen) of standard, and this mapping is a kind of transmission conversion.The relative space position that can calculate TV screen (or computer screen) and video camera according to the quadrilateral image and the rectangle template of TV screen (or computer screen).
If detected quadrilateral is E
1, E
2, E
3And E
4, can obtain tetragonal 4 summits according to them is P
1, P
2, P
3, and P
4If 4 summits of screen rectangle template are: T
1, T
2, T
3, and T
4, coordinate is respectively (establishing true origin locates in template center):
T
1=(Wt/2 ,-Ht/2), T
2=(Wt/2 ,-Ht/2), T
3=(Wt/2, Ht/2) and T
4=(Wt/2, Ht/2)
Wherein Wt and Ht are respectively the wide and high of screen template, represent with pixel.T
1, T
2, T
3, T
4And P
1, P
2, P
3, P
4Mapping relations be expressed in matrix as:
Wherein H is that 3 * 3 list should (Homography) matrix:
(2)
Some Pi(xp on such two groups of planes, yp) and Ti (xt, yt) between the transmission conversion of available 8 coefficients connect:
8 unknowm coefficient h0 ~ h7 can be according to known point Pi and Ti(i=1 ~ 4) find the solution.
The cam lens photocentre
Pc
Intersecting point coordinate with TV screen (or computer screen) plane
Tc , can be by calculating with co-relation: because
So, have
This is equivalent to the inverse operation of the derivation of equation (3).
Pc Coordinate can be got picture center (as Fig. 2) usually, and coordinate figure Tc sees Fig. 3 in position on screen.
Description of drawings
Fig. 1. invention method therefor FB(flow block);
Fig. 2. the picture of the TV that hand-held camera photographs (or computer) screen, the picture centre mark is '+';
Fig. 3. the relative position of Fig. 2 picture center on objective plane (screen among Fig. 2) marks with '+'.
Claims (1)
1. man-machine interaction method and device based on a hand-held camera is characterized in that, may further comprise the steps:
(1) cam device is in handheld device such as TV remote controller, towards TV screen or the real-time images acquired of computer screen; (2) screen is accurately located, and calculates the corresponding relation of screen template and screen position, i.e. matrix H in real time;
(3) utilize the inverse operation of H, ask the relative coordinate of central point on image template of images acquired.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102204279A CN102289328A (en) | 2011-08-03 | 2011-08-03 | Human-computer interaction method and device based on handheld camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102204279A CN102289328A (en) | 2011-08-03 | 2011-08-03 | Human-computer interaction method and device based on handheld camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102289328A true CN102289328A (en) | 2011-12-21 |
Family
ID=45335799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102204279A Pending CN102289328A (en) | 2011-08-03 | 2011-08-03 | Human-computer interaction method and device based on handheld camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102289328A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331809A (en) * | 2016-08-31 | 2017-01-11 | 北京酷云互动科技有限公司 | Television control method and television control system |
CN111416974A (en) * | 2020-03-19 | 2020-07-14 | 深圳创维-Rgb电子有限公司 | Camera-based television screen acquisition method and system and intelligent terminal |
WO2023184783A1 (en) * | 2022-04-02 | 2023-10-05 | 杭州涂鸦信息技术有限公司 | Image detection and recognition apparatus and detection and recognition method therefor |
-
2011
- 2011-08-03 CN CN2011102204279A patent/CN102289328A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331809A (en) * | 2016-08-31 | 2017-01-11 | 北京酷云互动科技有限公司 | Television control method and television control system |
CN111416974A (en) * | 2020-03-19 | 2020-07-14 | 深圳创维-Rgb电子有限公司 | Camera-based television screen acquisition method and system and intelligent terminal |
WO2023184783A1 (en) * | 2022-04-02 | 2023-10-05 | 杭州涂鸦信息技术有限公司 | Image detection and recognition apparatus and detection and recognition method therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8643598B2 (en) | Image processing apparatus and method, and program therefor | |
CN103136986B (en) | Sign Language Recognition Method and system | |
CN104423569A (en) | Pointing position detecting device, method and computer readable recording medium | |
CN101593022A (en) | A kind of quick human-computer interaction of following the tracks of based on finger tip | |
JP6344530B2 (en) | Input device, input method, and program | |
CN101639747A (en) | Spatial three-dimensional positioning method | |
CN102868811B (en) | Mobile phone screen control method based on real-time video processing | |
CN102063231A (en) | Non-contact electronic whiteboard system and detection method based on image detection | |
CN102591533A (en) | Multipoint touch screen system realizing method and device based on computer vision technology | |
CN109839827B (en) | Gesture recognition intelligent household control system based on full-space position information | |
CN103019375B (en) | A kind of cursor control method based on image recognition and system thereof | |
CN111399634B (en) | Method and device for recognizing gesture-guided object | |
KR101654311B1 (en) | User motion perception method and apparatus | |
KR101087998B1 (en) | Apparatus and method for pointing control | |
CN102289328A (en) | Human-computer interaction method and device based on handheld camera | |
WO2018150569A1 (en) | Gesture recognition device, gesture recognition method, projector equipped with gesture recognition device and video signal supply device | |
CN103949054A (en) | Infrared light gun positioning method and system | |
CN102508582B (en) | Optical touch calibration automatic adjusting method | |
CN108521594A (en) | A kind of free viewpoint video playback method based on body-sensing camera gesture identification | |
CN103389793B (en) | Man-machine interaction method and system | |
CN109214295A (en) | The gesture identification method of data fusion based on Kinect v2 and Leap Motion | |
CN102446035B (en) | Method and device for discriminating color of touch pen | |
CN102316272B (en) | Remote controller control method, apparatus thereof and remote controller | |
CN102419659A (en) | Interactive projector system | |
CN203117946U (en) | Mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111221 |