Summary of the invention
In order to solve the playback rate of human fatigue grade and the currently playing video clip of video terminal in the prior art
Incompatible technical problem, the present invention provides a kind of video playing speed adjust platforms.
Wherein, the present invention has the following point of key inventive everywhere:
(1) in order to reduce user's eye by more injuries, the maximum radial for calculating left part eyelid pattern vertical direction is long
Minimum value in the maximum radial length of degree and right part eyelid pattern vertical direction is using as reference length value;
(2) corresponding level of fatigue is determined based on the reference length value, with whole based on level of fatigue adjustment video
Hold the playback rate of currently playing video clip;
(3) by the extraction and analysis to the target in image to be processed, judge the wire-frame image vegetarian refreshments in image to be processed
Sum avoids when excessive with the wire-frame image vegetarian refreshments in the image to be processed using the filtering bad to profile filter effect
Device, and select airspace smothing filtering mode;
(4) when the wire-frame image vegetarian refreshments in the image to be processed is few, selection is more preferably smart using inhibition low-frequency effect
Fine filtering wave mode, so that image real time transfer be avoided to be roughened.
According to an aspect of the present invention, a kind of video playing speed adjust platform is provided, the platform includes:
Progress detection device, for carrying out content detection to the currently playing video clip of video terminal, described in determination
Video clip time duration and currently playing progress;Duration extract equipment connect with the progress detection device, is used for
The time duration and the currently playing progress are received, and the time duration is subtracted described currently playing
Progress is to obtain the residual time length of the video clip;Front end camera is embedded in front of video terminal in screen, for view
The user face of frequency terminal shoots, to obtain corresponding user's face image;Radial measurement equipment is based on advance eyelid mark
Quasi- shape searches out the left part eyelid pattern and right part eyelid pattern of user from user's face image, calculates separately described
The maximum radial length of the maximum radial length of left part eyelid pattern vertical direction and the right part eyelid pattern vertical direction,
Above two maximum radial length is minimized using as reference length value;Video player, with the radial measurement equipment
Connection, for determining corresponding level of fatigue based on the reference length value, to adjust video terminal based on the level of fatigue
The playback rate of currently playing video clip;Wherein, in the video player, video is adjusted based on the level of fatigue
The playback rate of the currently playing video clip of terminal includes: that the level of fatigue is higher, and the video terminal of adjustment is currently playing
Video clip playback rate it is faster.
Specific embodiment
The embodiment of video playing speed adjust platform of the invention is described in detail below with reference to accompanying drawings.
Device end television equipment built-in television card can receive the TV and vision signal of multiple types.In use, first
It is first installed on the PCI slot of mainboard, and television signal line is inserted into its TV signal input interface, be in operation later
Driver and television reception and video acquisition software are installed for it in system, can be watched TV program.In-built electrical
Certain system resource is occupied when in use depending on card.
Using the task characteristic of Windows operating system, a window can be opened on one side and is watched TV program, on one side
Other programs are opened to work.In addition, TV card generally may be by its included software recording TV program.In-built electrical
Depending on the electromagnetic interference that the shortcomings that card is vulnerable to computer internal component, so as to cause the decline of its play quality.In addition, built-in television
Card can only can just watch TV program under the premise of opening computer.
In order to overcome above-mentioned deficiency, the present invention has built a kind of video playing speed adjust platform, can effectively solve the problem that phase
The technical issues of answering.
Fig. 1 is the shape according to the video terminal where the video playing speed adjust platform shown in embodiment of the present invention
Schematic diagram.Wherein, 1 is display panel, and 2 be control panel.
The video playing speed adjust platform shown according to an embodiment of the present invention includes:
Progress detection device, for carrying out content detection to the currently playing video clip of video terminal, described in determination
Video clip time duration and currently playing progress;
Duration extract equipment is connect with the progress detection device, for receiving the time duration and described
Currently playing progress, and the time duration is subtracted into the currently playing progress to obtain the residue of the video clip
Duration;
Front end camera is embedded in front of video terminal in screen, is shot for the user face to video terminal,
To obtain corresponding user's face image;
Radial measurement equipment searches out the left part of user based on advance eyelid standard profile from user's face image
Eyelid pattern and right part eyelid pattern calculate separately the maximum radial length of the left part eyelid pattern vertical direction and described
The maximum radial length of right part eyelid pattern vertical direction, is minimized using long as reference above two maximum radial length
Angle value;
Video player is connect with the radial measurement equipment, corresponding tired for being determined based on the reference length value
Labor grade, with the playback rate based on the currently playing video clip of level of fatigue adjustment video terminal;
Wherein, in the video player, based on the currently playing piece of video of level of fatigue adjustment video terminal
The playback rate of section includes: that the level of fatigue is higher, the playback rate of the currently playing video clip of the video terminal of adjustment
It is faster.
Then, continue that the specific structure of video playing speed adjust platform of the invention is further detailed.
In the video playing speed adjust platform, further includes:
First signal analysis equipment is connect with the front end camera, for receiving user's face image, to described
Each target in user's face image extracts, to obtain corresponding each target subgraph, each target subgraph
The each pixel for only including composition respective objects determines its profile for corresponding to target of composition based on each target subgraph
Each wire-frame image vegetarian refreshments;
Second signal analytical equipment is connect with first signal analysis equipment, for receiving user's face image
In the corresponding each wire-frame image vegetarian refreshments of each target subgraph, add up each target subgraph pair in user's face image
The each wire-frame image vegetarian refreshments answered exports the profile point sum to obtain profile point sum;
Third signal analysis equipment is connect with the second signal analytical equipment, for receiving the profile point sum, and
When the profile point sum is less than default points threshold value, the first trigger signal is issued, and super in the profile point sum
When crossing default points threshold value, the second trigger signal is issued.
In the video playing speed adjust platform, further includes:
First signal handling equipment connects with the third signal analysis equipment and first signal analysis equipment respectively
It connects, including logarithm operation unit, Fourier transform unit, high pass filter unit, inverse Fourier transform unit and exponent arithmetic list
Member, for successively being executed to user's face image when first processing equipment receives first trigger signal
Logarithm operation, Fourier transformation, high-pass filtering, inverse Fourier transform and exponent arithmetic, to obtain and export and user's face
Image corresponding signal in portion's converts image;
Second signal processing equipment connects with the third signal analysis equipment and first signal analysis equipment respectively
It connects, for airspace the disposal of gentle filter being executed to user's face image, to obtain when receiving first trigger signal
It obtains signal corresponding with user's face image and converts image, and signal conversion image is sent to the radial measurement
Equipment is to replace user's face image.
In the video playing speed adjust platform, further includes:
Mode control device is connect with first signal handling equipment and the second signal processing equipment respectively, is used
In when first signal handling equipment or the second signal processing equipment enter battery saving mode, control is to first letter
The supply of the electricity of number processing equipment or the second signal processing equipment.
In the video playing speed adjust platform: first signal handling equipment is receiving second triggering
When signal, battery saving mode is switched to from operating mode.
In the video playing speed adjust platform: the second signal processing equipment is receiving first triggering
When signal, battery saving mode is switched to from operating mode.
In the video playing speed adjust platform: in first signal handling equipment, the Fourier transformation
Unit is connect with the logarithm operation unit and the high pass filter unit respectively.
In the video playing speed adjust platform: in first signal handling equipment, Fourier's inversion
It changes unit to connect with the high pass filter unit, the exponent arithmetic unit is connect with the inverse Fourier transform unit.
In addition, the radial measurement equipment is a single-chip microcontroller device.Single-chip microcontroller (Microcontrollers) is a kind of collection
At circuit chip, be using very large scale integration technology with data-handling capacity central processor CPU, at random deposit
Reservoir RAM, read only memory ROM, it is a variety of I/O mouthfuls and interrupt system, the functions such as timer/counter (may further include display
The circuits such as driving circuit, pulse-width modulation circuit, analog multiplexer, A/D converter) it is integrated into one constituted on one piece of silicon wafer
A small and perfect microcomputer system is widely applied in industrial control field.Bus-type single-chip microcontroller is generally provided with parallel
Address bus, data/address bus, control bus, these pins all can be by serial ports and single-chip microcontroller to extend concurrent peripheral device
Connection, in addition, many single-chip microcontrollers integrate required peripheral components and Peripheral Interface in a piece of, therefore in many cases
Can should not parallel-expansion bus, significantly economization packaging cost and chip volume, this kind of single-chip microcontroller is known as non-bus type single-chip microcontroller.
Using video playing speed adjust platform of the invention, for human fatigue grade and video terminal in the prior art
The incompatible technical problem of the playback rate of currently playing video clip injures more in order to reduce user's eye by,
Calculate the maximum radial length of left part eyelid pattern vertical direction and the maximum radial length of right part eyelid pattern vertical direction
In minimum value using as reference length value;Corresponding level of fatigue is determined based on the reference length value, based on described tired
The playback rate of the currently playing video clip of labor level adjustment video terminal;Pass through the extraction to the target in image to be processed
And analysis, judge the wire-frame image vegetarian refreshments sum in image to be processed, it is excessive with the wire-frame image vegetarian refreshments in the image to be processed
When, it avoids using the filter bad to profile filter effect, and select airspace smothing filtering mode;Meanwhile described wait locate
When wire-frame image vegetarian refreshments in reason image is few, selection is using low-frequency effect more preferably finer filter mode is inhibited, to avoid figure
As data processing is roughened.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, anything that does not depart from the technical scheme of the invention are right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.