CN106792194A - Television shutdown method and system - Google Patents
Television shutdown method and system Download PDFInfo
- Publication number
- CN106792194A CN106792194A CN201611215642.9A CN201611215642A CN106792194A CN 106792194 A CN106792194 A CN 106792194A CN 201611215642 A CN201611215642 A CN 201611215642A CN 106792194 A CN106792194 A CN 106792194A
- Authority
- CN
- China
- Prior art keywords
- facial image
- camera
- image
- captured
- human body
- 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
Classifications
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4436—Power management, e.g. shutting down unused components of the receiver
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
- G06V40/23—Recognition of whole body movements, e.g. for sport training
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44218—Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
Abstract
The invention discloses a kind of television shutdown method, the method comprising the steps of:After the camera of TV starts, the facial image that the camera is captured is obtained;The trajectory diagram of human body tracking is determined according to the facial image, and determines the terminal point coordinate of the trajectory diagram;Calculate the viewing angle between the terminal point coordinate and the TV;If the viewing angle is more than predetermined angle, the TV is closed.The invention also discloses a kind of television shutdown system.The present invention is realized and for the human body tracking and TV in artificial intelligence to combine control television auto power-off, reduces the power consumption of TV, while extending the service life of TV.
Description
Technical field
The present invention relates to TV technology, more particularly to a kind of television shutdown method and system.
Background technology
TV is the common tool for lying fallow, entertaining or obtaining information.Current TV is using control remote control manually
Device carrys out closing television.But user may forget closing television when going out, this not only wastes electricity, while can also influence electricity
Depending on service life.
The content of the invention
It is a primary object of the present invention to provide a kind of television shutdown method and system, it is intended to which how solution realizes TV certainly
The technical problem of dynamic shutdown.
To achieve the above object, the present invention provides a kind of television shutdown method, and the television shutdown method includes step:
After the camera of TV starts, the facial image that the camera is captured is obtained;
The trajectory diagram of human body tracking is determined according to the facial image, and determines the terminal point coordinate of the trajectory diagram;
Calculate the viewing angle between the terminal point coordinate and the TV;
If the viewing angle is more than predetermined angle, the TV is closed.
Preferably, it is described human body tracking is determined according to the facial image trajectory diagram the step of include:
Calculate tone H histogram of component of the facial image in hsv color model;
According to the H histogram of component, the distribution probability of the facial image pixel is determined by back projection computing;
According to the distribution probability, the trajectory diagram of human body tracking is determined by cam Shift algorithms.
Preferably, after the camera when TV starts, the step of obtain the facial image that the camera is captured
Including:
After the camera of the TV starts, face video is captured by the camera;
Each frame facial image in the face video is obtained using preset algorithm.
Preferably, after the camera when TV starts, the step of obtain the facial image that the camera is captured
Before, also include:
Subscriber household personnel's image is obtained, according to the image pattern storehouse that the house person image is set up;
After the camera when TV starts, the step of obtain the facial image that the camera captured after, also
Including:
Judge the facial image whether in described image Sample Storehouse;
If the facial image is not in described image Sample Storehouse, continue to obtain the face figure that the camera is captured
Picture;
If the facial image is in described image Sample Storehouse, perform it is described according to the facial image determine human body with
The step of trajectory diagram of track.
Preferably, the end for the trajectory diagram of human body tracking being determined according to the facial image, and determining the trajectory diagram
After the step of point coordinates, also include:
The distance between described TV and user are calculated according to the terminal point coordinate;
When the distance is less than predetermined threshold value, prompt message is exported, point out user the viewing distance of adjustment viewing TV.
Preferably, the formula of the viewing angle between the calculating terminal point coordinate and the TV is:
Wherein, A represents the viewing angle, and (x, y) represents the terminal point coordinate;
The formula for calculating the predetermined angle is:
Wherein, B represents the predetermined angle, and (x1, y1) and (x2, y2) is seen according to user
See coordinate points determined by the scope of the TV.
Additionally, to achieve the above object, the present invention also provides a kind of television shutdown system, the television shutdown system bag
Include:
Acquisition module, for after the camera of TV starts, obtaining the facial image that the camera is captured;
Determining module, for determining the trajectory diagram of human body tracking according to the facial image, and determines the trajectory diagram
Terminal point coordinate;
Computing module, for calculating the viewing angle between the terminal point coordinate and the TV;
Closedown module, if being more than predetermined angle for the viewing angle, closes the TV.
Preferably, the determining module includes:
Computing unit, for calculating tone H histogram of component of the facial image in hsv color model;
Determining unit, for according to the H histogram of component, the facial image pixel being determined by back projection computing
Distribution probability;According to the distribution probability, the trajectory diagram of human body tracking is determined by cam Shift algorithms.
Preferably, the acquisition module includes:
Capturing unit, for after the camera of the TV starts, face video being captured by the camera;
Acquiring unit, for obtaining each frame facial image in the face video using preset algorithm.
Preferably, the acquisition module is additionally operable to obtain subscriber household personnel's image, is built according to the house person image
Vertical image pattern storehouse;
The television shutdown system also includes:
Judge module, for judging the facial image whether in described image Sample Storehouse;
If the acquisition module is additionally operable to the facial image not in described image Sample Storehouse, continue to be taken the photograph described in acquisition
As the facial image that head is captured;
If the determining module is additionally operable to the facial image in described image Sample Storehouse, according to the facial image
Determine the trajectory diagram of human body tracking.
Preferably, the computing module be additionally operable to according to the terminal point coordinate calculate between the TV and user away from
From;
The television shutdown system also includes:
Output module, for when the distance is less than predetermined threshold value, exporting prompt message, points out user adjustment viewing electricity
Depending on viewing distance.
Preferably, the formula of the viewing angle between the calculating terminal point coordinate and the TV is:
Wherein, A represents the viewing angle, and (x, y) represents the terminal point coordinate;
The formula for calculating the predetermined angle is:
Wherein, B represents the predetermined angle, and (x1, y1) and (x2, y2) is seen according to user
See coordinate points determined by the scope of the TV.
The present invention is by after the camera of TV starts, obtaining the facial image that the camera is captured, according to institute
State facial image and determine the trajectory diagram of human body tracking, and determine the terminal point coordinate of the trajectory diagram, calculate the terminal point coordinate and
Viewing angle between the TV, if the viewing angle is more than predetermined angle, closes the TV.Realizing will be artificial
Human body tracking and TV in intelligence combine control television auto power-off, reduce the power consumption of TV, while extending
The service life of TV.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of television shutdown method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of television shutdown method second embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of television shutdown system first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of television shutdown system second embodiment of the present invention;
Fig. 5 is the first schematic diagram of viewing angle in the embodiment of the present invention;
Fig. 6 is second schematic diagram of viewing angle in the embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of predetermined angle in the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of television shutdown method.
Reference picture 1, Fig. 1 is the schematic flow sheet of television shutdown method first embodiment of the present invention.
In the present embodiment, the television shutdown method includes:
Step S10, after the camera of TV starts, obtains the facial image that the camera is captured;
After TV electrifying startup, start the camera of the TV, facial image is captured by the camera, and obtain
Each frame facial image that the camera is captured is taken, or obtains what the camera was captured according to prefixed time interval
Facial image, wherein, the prefixed time interval is set according to specific needs.The camera can be that the TV is carried
Camera, or set up the camera that is connected of communication with the TV.In the present embodiment, carried with the TV
Camera is illustrated.
Further, the step S10 includes:
Step a, after the camera of the TV starts, face video is captured by the camera;
Step b, each frame facial image in the face video is obtained using preset algorithm.
Further, after the camera of the TV starts, face video is captured by the camera in real time.When
During to the face video, each frame facial image in the face video is obtained using preset algorithm.In the present embodiment,
The preset algorithm for being used is adaboost, and the core concept of the adaboost is directed to same training set and trains different
Grader (Weak Classifier), then gets up these weak classifier sets, constitutes a stronger final classification device (strong classification
Device).In other embodiments, the preset algorithm is alternatively with the algorithm with adaboost algorithm said functions, such as face
Image matching algorithm and skin color detection algorithm etc..
Step S20, the trajectory diagram of human body tracking is determined according to the facial image, and determines that the track sink of graph is sat
Mark;
When the facial image is obtained, human body tracking is realized according to the facial image, obtain the track of human body tracking
Figure, and determine the terminal point coordinate of the trajectory diagram.It is understood that determining the rail of human body tracking according to the facial image
During mark figure, the facial image for being used is the facial image of same user.
Further, it is described human body tracking is determined according to the facial image trajectory diagram the step of include:
Step c, calculates tone H histogram of component of the facial image in hsv color model;
Further, in each frame facial image in obtaining the face video, by the facial image each
Pixel is mapped in HSV (Hue, Saturation, Value) color model from rgb space, is existed with calculating the facial image
Tone H histogram of component in hsv color model.The parameter of color is respectively in the hsv color model:Tone (H), saturation
Degree (S), lightness (V).Tone H is measured with angle, and span is 0 °~360 °, is calculated counterclockwise since red,
Red is 0 °, and green is 120 °, and blueness is 240 °;Their complementary color is:Yellow is 60 °, and cyan is 180 °, and magenta is 300 °.
Saturation degree S represents color close to the degree of spectrum colour.Lightness V represents bright degree.
Step d, according to the H histogram of component, the distribution of the facial image pixel is determined by back projection computing
Probability;
When the H histogram of component is obtained, the H histogram of component is carried out into back projection computing, will the people
Each pixel value in face image, is replaced with corresponding value in the H histogram of component, obtains dividing for the facial image pixel
Cloth probability.Histogram is a key property of picture material, if a kind of uniqueness is shown in the region of piece image
Texture or an object for uniqueness, then the histogram in this region can regard a probability function as, what it was given is certain
Individual pixel belongs to the probability of the texture or object.This allows us and specific content is detected by the histogram of image.
The histogrammic method of back projection is a kind of straightforward procedure destination probability distribution map to observed image, and its effect is to replace
Each pixel value in an input picture is changed, the Nogata for making it become ROI (region of interest, area-of-interest)
Corresponding probable value in figure.
Step e, according to the distribution probability, the trajectory diagram of human body tracking is determined by cam Shift algorithms.
After the distribution probability of the facial image pixel is obtained, OpenCV (Open Source Computer are called
Vision Library, computer vision of increasing income storehouse) in cam Shift algorithms, according to the distribution probability, by described
Cam Shift algorithms in OpenCV obtain the trajectory diagram of human body tracking from motion tracking human body.The cam Shift algorithms are
The Mean Shift algorithms of the improvement of MeanShift algorithms, referred to as continuous adaptive, the full name of Cam Shift algorithms is
" Continuously Adaptive Mean-SHIFT ", its basic thought is to make all frames of video image
MeanShift computings, and using the result (i.e. the center of Search Window and size) of previous frame as next frame Mean
The initial value of the Search Window of Shift algorithms, so iteration continues.The cam Shift algorithms are using not bending moment to mesh
Target size estimated, adjusts the size and location of tracking window with realizing continuous adaptive, and applied to even
The quick tracking of the moving target in continuous color image sequence.I.e. described Cam Shift algorithms are directed to video sequence to process,
And to the sequence in each two field picture Mean Shift are all called to find optimal iteration result.Just because of the Cam
Shift algorithms are processed for a video sequence, so as to ensure its size that can constantly adjust window.Therefore, mesh is worked as
When target size changes, the Cam Shift algorithms can just be adaptively adjusted target area to be continued to track.Can
To understand, in the present embodiment, mentioned target is the face in the facial image.
Step S30, calculates the viewing angle between the terminal point coordinate and the TV;
Step S40, if the viewing angle is more than predetermined angle, closes the TV.
When it is determined that the trajectory diagram terminal point coordinate after, calculate the viewing angle between the end coordinates and the TV
Degree.In the present embodiment, the formula of the viewing angle between the calculating terminal point coordinate and the TV is:
Wherein, A represents the viewing angle, and (x, y) represents the terminal point coordinate.Such as Fig. 5 and Fig. 6
Shown, the viewing angle A is the level angle of human body and the TV.In the present embodiment, the TV position is
The origin of coordinates (0,0).
After the viewing angle is obtained, judge the viewing angle whether more than predetermined angle.If the viewing angle
More than the predetermined angle, then the TV is automatically switched off;If the viewing angle is less than or equal to the predetermined angle,
Maintain the opening of the TV.
In the present embodiment, the formula of the calculating predetermined angle is:
Wherein, B represents the predetermined angle, specifically, can refer to Fig. 7, (x1, y1) and
(x2, y2) is coordinate points determined by the scope for watching the TV according to user, i.e., more than (x1, the y1) and (x2, y2)
Between scope, user can not then watch the picture that the TV is played.
Further, when the television auto power-off, the TV sends a notification message and gives the TV connection
Mobile terminal.When the mobile terminal receives the notification message, exported in its screen according to the notification message and carried
Show information, TV described in prompting user has been closed.It is understood that the mobile terminal includes but is not limited to hand
Machine and palm PC.The method of the mobile terminal prompting user includes but is not limited to voice message and text prompt.
The present embodiment by after the camera of TV starts, obtaining the facial image that the camera is captured, according to
The facial image determines the trajectory diagram of human body tracking, and determines the terminal point coordinate of the trajectory diagram, calculates the terminal point coordinate
And the viewing angle between the TV, if the viewing angle is more than predetermined angle, close the TV.Realize people
Human body tracking and TV in work intelligence combine control television auto power-off, reduce the power consumption of TV, while extension
The service life of TV.
The present invention further proposes television shutdown method second embodiment.
The television shutdown method second embodiment is with the difference of the television shutdown method first embodiment, reference
Fig. 2, the television shutdown method also includes:
Step S50, obtains subscriber household personnel's image, according to the image pattern storehouse that the house person image is set up;
Whether step S60, judge the facial image in described image Sample Storehouse;
Step S70, if the facial image is not in described image Sample Storehouse, continues the acquisition camera and is captured
Facial image;
If the facial image is in described image Sample Storehouse, step S20 is performed.
Subscriber household member image is obtained by the camera of the TV or from other terminal devices, by the use
Family kinsfolk's image is stored to same file folder, sets up the image pattern storehouse of subscriber household member.When by the TV
Camera when capturing facial image, judge the facial image whether in described image Sample Storehouse.If the face figure
As not in described image Sample Storehouse, then continuing to obtain the facial image that the camera is captured;If the facial image exists
In described image Sample Storehouse, then the trajectory diagram of human body tracking is determined according to the facial image, and determine the end of the trajectory diagram
Point coordinates.
Further, whether the facial image is being judged during described image Sample Storehouse, by the face figure
As being contrasted with the face-image of each house person image in described image Sample Storehouse, the facial image and described is determined
Similarity between face-image, when the similarity is more than or equal to setting value, determines the facial image described
In image pattern storehouse;When the similarity is less than the setting value, determine the facial image not in described image Sample Storehouse
In.Wherein, the setting value can be set according to specific needs, such as may be configured as 70%, or 80% etc..
Further, the television shutdown method includes:
Step f, the distance between described TV and user are calculated according to the terminal point coordinate;
Step g, when the distance is less than predetermined threshold value, exports prompt message, points out user the sight of adjustment viewing TV
See distance.
Further, when it is determined that the trajectory diagram terminal point coordinate after, according to the terminal point coordinate calculate the TV and
The distance between user.When obtain it is described apart from when.Judge the distance whether less than the predetermined threshold value.When described apart from small
When the predetermined threshold value, export prompt message in the screen of the TV, point out the viewing of user's adjustment viewing TV away from
The distance between from, specifically, point out user to zoom out with the TV, with protect eyes;When the distance is more than or equal to
During the predetermined threshold value, continuation exports current broadcasting pictures in the screen of the TV.
The present embodiment is entered by the facial image that will be captured with the image pattern storehouse of the house person image for prestoring
Row contrast, when the facial image is not in described image Sample Storehouse, continues to obtain the face figure that the camera is captured
Picture;When the facial image is in described image Sample Storehouse, the trajectory diagram of human body tracking is determined according to the facial image.It is real
When having showed the facial image for only getting user family members, human body tracking is just carried out, reduce TV misuse rate.
The present invention further provides a kind of television shutdown system.
Reference picture 3, Fig. 3 is the high-level schematic functional block diagram of television shutdown system first embodiment of the present invention.
It is emphasized that it will be apparent to those skilled in the art that module map shown in Fig. 3 is only a preferred embodiment
Exemplary plot, those skilled in the art can easily carry out new module around the module of the television shutdown system shown in Fig. 3
Supplement;The title of each module is self-defined title, is only used for aiding in each program function module for understanding the television shutdown system,
Restriction technical scheme is not used in, the core of technical solution of the present invention is that the module of each self-defined title to be reached
Function.
In the present embodiment, the television shutdown system includes:
Acquisition module 10, for after the camera of TV starts, obtaining the facial image that the camera is captured;
After TV electrifying startup, start the camera of the TV, facial image is captured by the camera, obtain
Module 10 obtains the facial image that the camera is captured, or is captured according to the prefixed time interval acquisition camera
Facial image, wherein, the prefixed time interval is set according to specific needs.The camera can be the TV from
The camera of band, or the camera being connected with TV foundation communication.In the present embodiment, carried with the TV
Camera illustrate.
Further, the acquisition module 10 includes:
Capturing unit, for after the camera of the TV starts, face video being captured by the camera;
Acquiring unit, for obtaining each frame facial image in the face video using preset algorithm.
Further, after the camera of the TV starts, capturing unit captures face by the camera in real time
Video.When the face video is obtained, acquiring unit obtains each frame face in the face video using preset algorithm
Image.In the present embodiment, the preset algorithm for being used is adaboost, and the core concept of the adaboost is directed to same
Individual training set trains different graders (Weak Classifier), and then these weak classifier sets are got up, constitute one it is stronger
Final classification device (strong classifier).In other embodiments, the preset algorithm is alternatively with same with adaboost algorithms
The algorithm of function, such as facial image matching algorithm and skin color detection algorithm.
Determining module 20, for determining the trajectory diagram of human body tracking according to the facial image, and determines the trajectory diagram
Terminal point coordinate;
When acquisition module 10 obtains the facial image, determining module 20 according to the facial image realize human body with
Track, obtains the trajectory diagram of human body tracking, and determines the terminal point coordinate of the trajectory diagram.It is understood that the determining module
20 during the trajectory diagram for determining human body tracking according to the facial image, and the facial image for being used is same user's
Facial image.
Further, the determining module 20 includes:
Computing unit, for calculating tone H histogram of component of the facial image in hsv color model;
Further, in each frame facial image in obtaining the face video, computing unit is by the face figure
Each pixel is mapped in HSV (Hue, Saturation, Value) color model from rgb space as in, to calculate the face
Tone H histogram of component of the image in hsv color model.The parameter of color is respectively in the hsv color model:Tone
(H), saturation degree (S), lightness (V).Tone H is measured with angle, and span is 0 °~360 °, by side counterclockwise since red
To calculating, red is 0 °, and green is 120 °, and blueness is 240 °;Their complementary color is:Yellow is 60 °, and cyan is 180 °, pinkish red
It is 300 °.Saturation degree S represents color close to the degree of spectrum colour.Lightness V represents bright degree.
Determining unit, for according to the H histogram of component, the facial image pixel being determined by back projection computing
Distribution probability;
When computing unit obtains the H histogram of component, the H histogram of component is carried out back projection by determining unit
Computing, each pixel value that will be in the facial image is replaced with corresponding value in the H histogram of component, obtains described
The distribution probability of facial image pixel.Histogram is a key property of picture material, if shown in the region of piece image
What is shown is a kind of unique texture or an object for uniqueness, then the histogram in this region can regard a probability letter as
Number, what it was given is the probability that certain pixel belongs to the texture or object.This allows that we come by the histogram of image
Detect specific content.The histogrammic method of back projection is a kind of simple side destination probability distribution map to observed image
Method, its effect is to replace each pixel value in an input picture, it is become ROI (region of interest, sense
Interest region) histogram in corresponding probable value.
The determining unit is additionally operable to according to the distribution probability, and the rail of human body tracking is determined by cam Shift algorithms
Mark figure.
After the determining unit obtains the distribution probability of the facial image pixel, the determining unit calls OpenCV
Cam Shift algorithms in (Open Source Computer Vision Library, computer vision of increasing income storehouse), according to
The distribution probability, by the cam Shift algorithms in the OpenCV from motion tracking human body, obtains the track of human body tracking
Figure.The cam Shift algorithms are the improvement of MeanShift algorithms, referred to as the Mean Shift algorithms of continuous adaptive, Cam
The full name of Shift algorithms is " Continuously Adaptive Mean-SHIFT ", and its basic thought is by video image
All frames make MeanShift computings, and using the result (i.e. the center of Search Window and size) of previous frame as next
The initial value of the Search Window of frame Mean Shift algorithms, so iteration continues.The cam Shift algorithms are not using
Bending moment estimated the size of target, adjusts the size and location of tracking window with realizing continuous adaptive, and answered
The quick tracking of the moving target in continuous multicolor image sequence.I.e. described Cam Shift algorithms are directed to video sequence
Row are processed, and to the sequence in each two field picture Mean Shift are all called find optimal iteration result.Just because of
The Cam Shift algorithms are processed for a video sequence, so as to ensure its size that can constantly adjust window.Cause
This, when the size of target changes, the Cam Shift algorithms can just be adaptively adjusted target area continuation
Tracking.It is understood that in the present embodiment, mentioned target is the face in the facial image.
Computing module 30, for calculating the viewing angle between the terminal point coordinate and the TV;
Closedown module 40, if being more than predetermined angle for the viewing angle, closes the TV.
After the determining module 20 determines the terminal point coordinate of the trajectory diagram, computing module 30 calculates the end coordinates
And the viewing angle between the TV.In the present embodiment, the computing module 30 calculates the terminal point coordinate and the electricity
The formula of the viewing angle between regarding as:
Wherein, A represents the viewing angle, and (x, y) represents the terminal point coordinate.Such as Fig. 5 and Fig. 6
Shown, the viewing angle A is the level angle of human body and the TV.In the present embodiment, the TV position is
The origin of coordinates (0,0).
After the viewing angle is obtained, judge the viewing angle whether more than predetermined angle.If the viewing angle
More than the predetermined angle, closedown module 40 is then automatically switched off the TV;If the viewing angle is less than or equal to described
Predetermined angle, then maintain the opening of the TV.
In the present embodiment, the formula that the computing module 30 calculates the predetermined angle is:
Wherein, B represents the predetermined angle, specifically, can refer to Fig. 7, (x1, y1) and
(x2, y2) is coordinate points determined by the scope for watching the TV according to user, i.e., more than (x1, the y1) and (x2, y2)
Between scope, user can not then watch the picture that the TV is played.
Further, when the television auto power-off, the TV sends a notification message and gives the TV connection
Mobile terminal.When the mobile terminal receives the notification message, exported in its screen according to the notification message and carried
Show information, TV described in prompting user has been closed.It is understood that the mobile terminal includes but is not limited to hand
Machine and palm PC.The method of the mobile terminal prompting user includes but is not limited to voice message and text prompt.
The present embodiment by after the camera of TV starts, obtaining the facial image that the camera is captured, according to
The facial image determines the trajectory diagram of human body tracking, and determines the terminal point coordinate of the trajectory diagram, calculates the terminal point coordinate
And the viewing angle between the TV, if the viewing angle is more than predetermined angle, close the TV.Realize people
Human body tracking and TV in work intelligence combine control television auto power-off, reduce the power consumption of TV, while extension
The service life of TV.
The present invention further provides television shutdown system second embodiment.
The television shutdown system second embodiment is with the difference of the television shutdown system first embodiment, described
Acquisition module 10 is additionally operable to obtain subscriber household personnel's image, according to the image pattern storehouse that the house person image is set up;
Reference picture 5, the television shutdown system also includes:
Judge module 50, for judging the facial image whether in described image Sample Storehouse;
If the acquisition module 10 is additionally operable to the facial image not in described image Sample Storehouse, continue to obtain described
The facial image that camera is captured;
If the determining module 20 is additionally operable to the facial image in described image Sample Storehouse, according to the face figure
Trajectory diagram as determining human body tracking.
The acquisition module 10 obtained by the camera of the TV or from other terminal devices subscriber household into
Member's image, the subscriber household member image is stored to same file folder, sets up the image pattern storehouse of subscriber household member.
When facial image is captured by the camera of the TV, whether judge module 50 judges the facial image in the figure
As in Sample Storehouse.If the facial image is not in described image Sample Storehouse, the acquisition module 10 then continues to be taken the photograph described in acquisition
As the facial image that head is captured;If the facial image is in described image Sample Storehouse, the determining module 20 is then according to institute
State facial image and determine the trajectory diagram of human body tracking, and determine the terminal point coordinate of the trajectory diagram.
Further, the judge module 50 judge the facial image whether described image Sample Storehouse process
In, the facial image is contrasted with the face-image of each house person image in described image Sample Storehouse, determine institute
The similarity between facial image and the face-image is stated, when the similarity is more than or equal to setting value, institute is determined
Facial image is stated in described image Sample Storehouse;When the similarity is less than the setting value, the facial image is determined not
In described image Sample Storehouse.Wherein, the setting value can be set according to specific needs, such as may be configured as 70%, or
80% etc..
Further, the computing module 30 is additionally operable to be calculated between the TV and user according to the terminal point coordinate
Distance;
The television shutdown system also includes:
Output module, for when the distance is less than predetermined threshold value, exporting prompt message, points out user adjustment viewing electricity
Depending on viewing distance.
Further, when it is determined that the trajectory diagram terminal point coordinate after, the computing module 30 is according to the terminal point coordinate
Calculate the distance between the TV and user.When obtain it is described apart from when.Judge the distance whether less than the default threshold
Value.When the distance is less than the predetermined threshold value, output module exports prompt message in the screen of the TV, points out to use
The distance between the viewing distance of family adjustment viewing TV, specifically, point out user to zoom out with the TV, with protect eyes;
When the distance is more than or equal to the predetermined threshold value, the output module continues the output in the screen of the TV and works as
Preceding broadcasting pictures.
The present embodiment is entered by the facial image that will be captured with the image pattern storehouse of the house person image for prestoring
Row contrast, when the facial image is not in described image Sample Storehouse, continues to obtain the face figure that the camera is captured
Picture;When the facial image is in described image Sample Storehouse, the trajectory diagram of human body tracking is determined according to the facial image.It is real
When having showed the facial image for only getting user family members, human body tracking is just carried out, reduce TV misuse rate.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row
His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or system institute are intrinsic
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes
Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (12)
1. a kind of television shutdown method, it is characterised in that the television shutdown method is comprised the following steps:
After the camera of TV starts, the facial image that the camera is captured is obtained;
The trajectory diagram of human body tracking is determined according to the facial image, and determines the terminal point coordinate of the trajectory diagram;
Calculate the viewing angle between the terminal point coordinate and the TV;
If the viewing angle is more than predetermined angle, the TV is closed.
2. television shutdown method as claimed in claim 1, it is characterised in that it is described according to the facial image determine human body with
The step of trajectory diagram of track, includes:
Calculate tone H histogram of component of the facial image in hsv color model;
According to the H histogram of component, the distribution probability of the facial image pixel is determined by back projection computing;
According to the distribution probability, the trajectory diagram of human body tracking is determined by cam Shift algorithms.
3. television shutdown method as claimed in claim 1, it is characterised in that described after the camera of TV starts, obtains
The step of facial image that the camera is captured, includes:
After the camera of the TV starts, face video is captured by the camera;
Each frame facial image in the face video is obtained using preset algorithm.
4. television shutdown method as claimed in claim 1, it is characterised in that described after the camera of TV starts, obtains
Before the step of facial image that the camera is captured, also include:
Subscriber household personnel's image is obtained, according to the image pattern storehouse that the house person image is set up;
After the camera when TV starts, the step of obtain the facial image that the camera captured after, also include:
Judge the facial image whether in described image Sample Storehouse;
If the facial image is not in described image Sample Storehouse, continue to obtain the facial image that the camera is captured;
If the facial image is in described image Sample Storehouse, performs and described human body tracking is determined according to the facial image
The step of trajectory diagram.
5. the television shutdown method as described in any one of Claims 1-4, it is characterised in that described according to the facial image
After the step of determining the trajectory diagram of human body tracking, and determine the terminal point coordinate of the trajectory diagram, also include:
The distance between described TV and user are calculated according to the terminal point coordinate;
When the distance is less than predetermined threshold value, prompt message is exported, point out user the viewing distance of adjustment viewing TV.
6. the television shutdown method as described in any one of Claims 1-4, it is characterised in that the calculating terminal point coordinate
And the formula of the viewing angle between the TV is:
Wherein, A represents the viewing angle, and (x, y) represents the terminal point coordinate;
The formula for calculating the predetermined angle is:
Wherein, B represents the predetermined angle, and (x1, y1) and (x2, y2) is to watch institute according to user
State coordinate points determined by the scope of TV.
7. a kind of television shutdown system, it is characterised in that the television shutdown system includes:
Acquisition module, for after the camera of TV starts, obtaining the facial image that the camera is captured;
Determining module, for determining the trajectory diagram of human body tracking according to the facial image, and determines the track sink of graph
Coordinate;
Computing module, for calculating the viewing angle between the terminal point coordinate and the TV;
Closedown module, if being more than predetermined angle for the viewing angle, closes the TV.
8. television shutdown system as claimed in claim 7, it is characterised in that the determining module includes:
Computing unit, for calculating tone H histogram of component of the facial image in hsv color model;
Determining unit, for according to the H histogram of component, dividing for the facial image pixel being determined by back projection computing
Cloth probability;According to the distribution probability, the trajectory diagram of human body tracking is determined by cam Shift algorithms.
9. television shutdown system as claimed in claim 7, it is characterised in that the acquisition module includes:
Capturing unit, for after the camera of the TV starts, face video being captured by the camera;
Acquiring unit, for obtaining each frame facial image in the face video using preset algorithm.
10. television shutdown system as claimed in claim 7, it is characterised in that the acquisition module is additionally operable to obtain user house
Front yard personnel's image, according to the image pattern storehouse that the house person image is set up;
The television shutdown system also includes:
Judge module, for judging the facial image whether in described image Sample Storehouse;
If the acquisition module is additionally operable to the facial image not in described image Sample Storehouse, continue to obtain the camera
The facial image for being captured;
If the determining module is additionally operable to the facial image in described image Sample Storehouse, determined according to the facial image
The trajectory diagram of human body tracking.
The 11. television shutdown system as described in any one of claim 7 to 10, it is characterised in that the computing module is additionally operable to
The distance between described TV and user are calculated according to the terminal point coordinate;
The television shutdown system also includes:
Output module, for when the distance is less than predetermined threshold value, exporting prompt message, points out user's adjustment viewing TV
Viewing distance.
The 12. television shutdown system as described in any one of claim 7 to 10, it is characterised in that the calculating terminal is sat
The formula of viewing angle between mark and the TV is:
Wherein, A represents the viewing angle, and (x, y) represents the terminal point coordinate;
The formula for calculating the predetermined angle is:
Wherein, B represents the predetermined angle, and (x1, y1) and (x2, y2) is to watch institute according to user
State coordinate points determined by the scope of TV.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611215642.9A CN106792194A (en) | 2016-12-23 | 2016-12-23 | Television shutdown method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611215642.9A CN106792194A (en) | 2016-12-23 | 2016-12-23 | Television shutdown method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106792194A true CN106792194A (en) | 2017-05-31 |
Family
ID=58926656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611215642.9A Pending CN106792194A (en) | 2016-12-23 | 2016-12-23 | Television shutdown method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106792194A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107065591A (en) * | 2017-06-13 | 2017-08-18 | 重庆城市管理职业学院 | A kind of method and system controlled for indoor electric appliance |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100191350A1 (en) * | 2009-01-28 | 2010-07-29 | Katsuya Ohno | Electronic Apparatus, Control Method of Electronic Apparatus and Power Saving Control Device |
CN102110296A (en) * | 2011-02-24 | 2011-06-29 | 上海大学 | Method for tracking moving target in complex scene |
JP2012060504A (en) * | 2010-09-10 | 2012-03-22 | Hitachi Consumer Electronics Co Ltd | Image display device |
CN202306329U (en) * | 2010-12-22 | 2012-07-04 | Tcl集团股份有限公司 | Television system capable of adjusting angle based on human eye viewing direction |
CN102679956A (en) * | 2012-04-24 | 2012-09-19 | 深圳Tcl新技术有限公司 | Method and system for detecting television watching distance of user as well as television |
CN103165062A (en) * | 2011-12-15 | 2013-06-19 | 联发科技(新加坡)私人有限公司 | Method and device of controlling multimedia player power supply |
CN103607622A (en) * | 2013-11-25 | 2014-02-26 | 深圳市九洲电器有限公司 | Television watching protecting method, device and set top box |
CN104363513A (en) * | 2014-11-12 | 2015-02-18 | 无锡科思电子科技有限公司 | Automatic-switching smart television |
CN104573614A (en) * | 2013-10-22 | 2015-04-29 | 北京三星通信技术研究有限公司 | Equipment and method for tracking face |
CN104601981A (en) * | 2014-12-30 | 2015-05-06 | 深圳市亿思达科技集团有限公司 | Method for adjusting viewing angles based on human eyes tracking and holographic display device |
CN104935844A (en) * | 2015-06-17 | 2015-09-23 | 四川长虹电器股份有限公司 | Method for automatically adjusting screen orientation according to face orientation of looker and television |
CN204795458U (en) * | 2015-07-30 | 2015-11-18 | 德明通讯(上海)股份有限公司 | Intelligent TV according to user's position dynamic adjustment resolution ratio and angle |
CN106060625A (en) * | 2016-08-09 | 2016-10-26 | 衣佳鑫 | Turn-on and turn-off method and system for television in internet of things |
CN106060660A (en) * | 2016-05-31 | 2016-10-26 | 乐视控股(北京)有限公司 | Terminal control method and device |
CN106101828A (en) * | 2016-06-17 | 2016-11-09 | Tcl海外电子(惠州)有限公司 | Television for play control method and device |
-
2016
- 2016-12-23 CN CN201611215642.9A patent/CN106792194A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100191350A1 (en) * | 2009-01-28 | 2010-07-29 | Katsuya Ohno | Electronic Apparatus, Control Method of Electronic Apparatus and Power Saving Control Device |
JP2012060504A (en) * | 2010-09-10 | 2012-03-22 | Hitachi Consumer Electronics Co Ltd | Image display device |
CN202306329U (en) * | 2010-12-22 | 2012-07-04 | Tcl集团股份有限公司 | Television system capable of adjusting angle based on human eye viewing direction |
CN102110296A (en) * | 2011-02-24 | 2011-06-29 | 上海大学 | Method for tracking moving target in complex scene |
CN103165062A (en) * | 2011-12-15 | 2013-06-19 | 联发科技(新加坡)私人有限公司 | Method and device of controlling multimedia player power supply |
CN102679956A (en) * | 2012-04-24 | 2012-09-19 | 深圳Tcl新技术有限公司 | Method and system for detecting television watching distance of user as well as television |
CN104573614A (en) * | 2013-10-22 | 2015-04-29 | 北京三星通信技术研究有限公司 | Equipment and method for tracking face |
CN103607622A (en) * | 2013-11-25 | 2014-02-26 | 深圳市九洲电器有限公司 | Television watching protecting method, device and set top box |
CN104363513A (en) * | 2014-11-12 | 2015-02-18 | 无锡科思电子科技有限公司 | Automatic-switching smart television |
CN104601981A (en) * | 2014-12-30 | 2015-05-06 | 深圳市亿思达科技集团有限公司 | Method for adjusting viewing angles based on human eyes tracking and holographic display device |
CN104935844A (en) * | 2015-06-17 | 2015-09-23 | 四川长虹电器股份有限公司 | Method for automatically adjusting screen orientation according to face orientation of looker and television |
CN204795458U (en) * | 2015-07-30 | 2015-11-18 | 德明通讯(上海)股份有限公司 | Intelligent TV according to user's position dynamic adjustment resolution ratio and angle |
CN106060660A (en) * | 2016-05-31 | 2016-10-26 | 乐视控股(北京)有限公司 | Terminal control method and device |
CN106101828A (en) * | 2016-06-17 | 2016-11-09 | Tcl海外电子(惠州)有限公司 | Television for play control method and device |
CN106060625A (en) * | 2016-08-09 | 2016-10-26 | 衣佳鑫 | Turn-on and turn-off method and system for television in internet of things |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107065591A (en) * | 2017-06-13 | 2017-08-18 | 重庆城市管理职业学院 | A kind of method and system controlled for indoor electric appliance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103945121B (en) | A kind of information processing method and electronic equipment | |
JP4335565B2 (en) | Method and apparatus for detecting and / or tracking one or more color regions in an image or sequence of images | |
US8983152B2 (en) | Image masks for face-related selection and processing in images | |
CN113112505B (en) | Image processing method, device and equipment | |
EP3582187B1 (en) | Face image processing method and apparatus | |
CN105243371B (en) | A kind of detection method, system and the camera terminal of face U.S. face degree | |
CN104881853B (en) | A kind of colour of skin antidote and system based on color generalities | |
CN109961453B (en) | Image processing method, device and equipment | |
CN105072327B (en) | A kind of method and apparatus of the portrait processing of anti-eye closing | |
US8908932B2 (en) | Digital image processing using face detection and skin tone information | |
CN105744174B (en) | A kind of self-timer method, device and mobile terminal | |
CN109639982A (en) | A kind of image denoising method, device, storage medium and terminal | |
CN102665062B (en) | A kind ofly make method that target object image in video is stable and device | |
CN106326823B (en) | Method and system for obtaining head portrait in picture | |
CN105894458A (en) | Processing method and device of image with human face | |
CN104952036A (en) | Facial beautification method and electronic equipment in real-time video | |
CN104599297B (en) | A kind of image processing method for going up blush automatically to face | |
CN108986019A (en) | Method for regulating skin color and device, electronic equipment, machine readable storage medium | |
WO2007044674A2 (en) | Video sensor-based automatic region-of-interest detection | |
US20170161553A1 (en) | Method and electronic device for capturing photo | |
CN103369214A (en) | An image acquiring method and an image acquiring apparatus | |
WO2007142621A1 (en) | Modification of post-viewing parameters for digital images using image region or feature information | |
CN105022981A (en) | Method and device for detecting health state of human eyes and mobile terminal | |
EP3723049B1 (en) | System and method for anonymizing content to protect privacy | |
CN111523473A (en) | Mask wearing identification method, device, equipment and readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |