The present invention is Application No. 201710370351.5, the applying date to be on May 23rd, 2017, entitled " be based on
The divisional application of the patent of the security window control platform of image procossing ".
The content of the invention
To solve the above-mentioned problems, can the present invention provides a kind of security window control platform based on image procossing
In real-time indoor humidity within default humidity range and when outside humidity is being preset outside humidity range in real time, to direct current generator
Send and close window control signal, more crucially, additionally it is possible to when the human body subgraph recognized includes a suspect, stop
The window of the direct current generator is controlled based on the indoor humidity in real time and the outside humidity in real time, to the direct current
Machine, which is sent, closes window control signal;And when not including a suspect in the human body subgraph, recovery is based on the real-time room
Interior humidity and the outside humidity in real time control the window of the direct current generator.
According to an aspect of the present invention, there is provided a kind of security window control platform based on image procossing, the platform
Including the first humidity sensor, the second humidity sensor, proximity sensor, sheet metal, motor driver and direct current generator, institute
The outline border that the first humidity sensor is arranged on window is stated, for detecting and exporting real-time outside humidity, second humidity sensor
Device is arranged on the inside casing of window, and for detecting and exporting real-time indoor humidity, the sheet metal is arranged on the top of the inside casing of window
Portion, the proximity sensor be arranged on the glass body of window on along interior, in the glass body along close to institute
When stating sheet metal, export close to standby signal, the motor driver is connected with the direct current generator, for controlling the direct current
The operation of motor, the direct current generator are used to control rising or falling for the glass body;
Wherein, the motor driver respectively with first humidity sensor, second humidity sensor and institute
State proximity sensor connection, for exporting based on first humidity sensor, the output of second humidity sensor with
And the output of the proximity sensor determines to be sent to the motor drive signal of the direct current generator.
More specifically, in the security window control platform based on image procossing, the platform further includes:
FLASH storage cards, are arranged on the inside casing of window, for storing default humidity range, the default humidity range
Including default top limit of humidity threshold value and default humidity lower threshold, the default top limit of humidity threshold value is more than under the default humidity
Limit threshold value;
Wherein, the FLASH storage cards are additionally operable to store default human body color histogram feature and predetermined probabilities threshold value.
More specifically, in the security window control platform based on image procossing:
The motor driver is outside the default humidity range and described outdoor in real time in the indoor humidity in real time
When humidity is within the default humidity range, windowing control signal is sent to the direct current generator.
More specifically, in the security window control platform based on image procossing:
The motor driver is within the default humidity range and described outdoor in real time in the indoor humidity in real time
Humidity sends to the direct current generator when outside the default humidity range and closes window control signal.
More specifically, in the security window control platform based on image procossing, further include:
The proximity sensor is inductance approach switch, and detection range is 2 millimeters, when the proximity sensor is close to institute
When stating sheet metal, vortex is produced inside the sheet metal, the proximity sensor is used in the vortex breaking-out of generation so that described
Proximity sensor output is described close to standby signal;
Video capture device, is arranged on the top of the outline border of window, is adopted for carrying out video data towards the outline border of window
Collect to export outline border video flowing;
Edge strengthens equipment, is connected with the video capture device, for often receiving a new frame for outline border video flowing
Image, performs edge enhanced images, to obtain the new enhancing image of outline border video flowing to a new two field picture;
Wavelet filtering equipment, is connected with edge enhancing equipment, for often receiving the new enhancing of outline border video flowing
During image, to the new enhancing image progress Daubechies wavelet filterings processing of outline border video flowing to obtain outline border video flowing
New filtering image;Wherein, the Daubechies wavelet filterings processing that the wavelet filtering equipment carries out includes:Use length for
4 Daubechies wavelet basis carries out wavelet reconstruction again after carrying out 3 grades of decomposition to the new enhancing image of outline border video flowing, to obtain
Obtain the new filtering image of outline border video flowing;
Background splitting equipment, is connected with the wavelet filtering equipment, for often receiving the new filtering of outline border video flowing
During image, each pixel in new filtering image is handled as follows as object pixel:Determine the picture of object pixel
Element value whether match with the pixel value of correspondence position pixel in background image before, determine match, then using the object pixel as
Background dot, determines to mismatch, then using the object pixel as non-background dot, counts in all previous image of outline border video flowing, the target
The pixel of pixel correspondence position is confirmed as the probability of background dot, when probability is more than or equal to predetermined probabilities threshold value, using going through
Mesh in background image before the newest pixel value for being confirmed as background dot in the object pixel corresponding position updates in secondary image
Mark the pixel value of pixel corresponding position;Last pixel of the background splitting equipment in new filtering image performs
After complete above-mentioned processing, the background image after output renewal;
Target identification equipment, is connected with the background splitting equipment, for the new filtering image of outline border video flowing to be subtracted
The background image after new filtering image renewal of the background splitting equipment based on outline border video flowing is removed, to obtain foreground picture
Picture, carries out the target in the foreground image matching based on default human body color histogram feature, to determine the prospect
Human body target in image, and export human body subgraph that is corresponding with human body target, being split at the foreground image;
A suspect's detection device, is connected with the target identification equipment, for based on a suspect's resemblance to institute
State human body subgraph is detected to determine whether include a suspect in the human body subgraph;
The motor driver is also connected with a suspect's detection device, for including in the human body subgraph
During a suspect, stop based on the indoor humidity in real time and the window control of the outside humidity to the direct current generator in real time
System, sends to the direct current generator and closes window control signal;
Wherein, when the motor driver is additionally operable in the human body subgraph not include a suspect, recover to be based on
The indoor humidity in real time and the outside humidity in real time control the window of the direct current generator;
Wherein, the motor driver receive it is described close to standby signal when, to the direct current generator send stop
Rise control signal.
More specifically, in the security window control platform based on image procossing:
The inductance approach switch is vortex type proximity switch, including three pins, when the inductance approach switch
During close to the sheet metal, second pin of the inductance approach switch is high level using as described close to standby signal
Output.
More specifically, in the security window control platform based on image procossing, further include:
Ambient light sensor, is arranged on the top of the outline border of window and near the video capture device, uses
In detection surrounding environment brightness;
Lighting apparatus, is arranged on the top of the outline border of window and near the video capture device, in institute
The surrounding environment brightness of ambient light sensor output is stated when being less than or equal to predetermined luminance threshold value, for the video capture device
Video data acquiring provides floor light light.
Embodiment
The embodiment of the security window control platform based on image procossing of the present invention is carried out below with reference to accompanying drawings
Describe in detail.
The material of window, generally speaking, is divided into three major types:Wooden, plastic-steel, aluminium alloy.Three has his own strong points.
Plastic-steel:Because being plastic material, weight is small, and heat-proof quality is good, and price is relatively low.Because often
In face of exposing to wind and rain, the sun shines, so most allowing people to concern the anti-aging problem of plastic-steel window.In fact, the plastic-steel window of high-quality
Service life up to 100 years or so.
Aluminium alloy:Be not in problem of aging because being metal material, and firm, impact resistance, intensity are big.But
The weakness that aluminum window is easiest to be attacked is exactly heat-proof quality because metal be heat good conductor, it is extraneous with it is indoor
Humidity can be with the frame transmission of window.
But it is worth query, the ratio on a fan window shared by frame is simultaneously not very big, and window is not one block of metal
Plate, but the glass of frame is inlayed, the heat transmitted by frame edge strip actually can produce the indoor humidity for having warmer, air-conditioning
Great influence
But that precautions averts perils is good, this problem, employs " bridge cut-off " skill on the aluminium alloy window having in order to prevent
Art, i.e., add one layer of resin material in aluminum alloy window frame, thoroughly broken off the approach of heat conduction.
It is wooden:Comparatively, wooden should be forms frame material the most perfect, no matter from heat-insulated, sound insulation angularly
For have obvious advantage, and inherent texture and natural figure are more moving.It is actual although wooden
On some be used to doing the solid wood of window frame and have already been through processing special layer by layer, not only without moisture, it is desirable to which higher is even
Fat is sucked, so, so-called wooden actually as fossil, solid wood after treatment, is only protected
The appearance of timber has been stayed, quality is but completely different, will not cracking deformation, less suffers insect bite with worry, is corroded, moreover,
Intensity also greatly increases.
In addition, also a kind of frame structure is referred to as aluminium Bao Mu, the outdoor part of wood frame is one layer of aluminium alloy structure,
In fact, this be combine wood frame thermal insulation it is good and the advantages of intensity of aluminum alloy is high, integrate, maximize favourable factors and minimize unfavourable ones.
The wooden unique shortcoming of window is exactly that cost is too high.
Current window control model falls behind, and automatic window can not be carried out according to external circumstances or closes window control, in order to gram
Above-mentioned deficiency is taken, the present invention has built a kind of security window control platform based on image procossing, asked for solving above-mentioned technology
Topic.
Fig. 1 is the structure square frame of the security window control platform based on image procossing according to embodiment of the present invention
Figure, the platform include the first humidity sensor, the second humidity sensor, proximity sensor, sheet metal, motor driver and
Direct current generator, first humidity sensor are arranged on the outline border of window, for detecting and exporting real-time outside humidity, described
Two humidity sensors are arranged on the inside casing of window, and for detecting and exporting real-time indoor humidity, the sheet metal is arranged on window
Inside casing top, the proximity sensor be arranged on the glass body of window on along interior, in the glass body
On along close to the sheet metal when, export close to standby signal, the motor driver is connected with the direct current generator, for controlling
The operation of the direct current generator is made, the direct current generator is used to control rising or falling for the glass body;
Wherein, the motor driver respectively with first humidity sensor, second humidity sensor and institute
State proximity sensor connection, for exporting based on first humidity sensor, the output of second humidity sensor with
And the output of the proximity sensor determines to be sent to the motor drive signal of the direct current generator.
Then, continue to carry out the concrete structure of the security window control platform based on image procossing of the present invention further
Explanation.
In the security window control platform based on image procossing, the platform further includes:
FLASH storage cards, are arranged on the inside casing of window, for storing default humidity range, the default humidity range
Including default top limit of humidity threshold value and default humidity lower threshold, the default top limit of humidity threshold value is more than under the default humidity
Limit threshold value;
Wherein, the FLASH storage cards are additionally operable to store default human body color histogram feature and predetermined probabilities threshold value.
In the security window control platform based on image procossing:
The motor driver is outside the default humidity range and described outdoor in real time in the indoor humidity in real time
When humidity is within the default humidity range, windowing control signal is sent to the direct current generator.
In the security window control platform based on image procossing:
The motor driver is within the default humidity range and described outdoor in real time in the indoor humidity in real time
Humidity sends to the direct current generator when outside the default humidity range and closes window control signal.
In the security window control platform based on image procossing, further include:
The proximity sensor is inductance approach switch, and detection range is 2 millimeters, when the proximity sensor is close to institute
When stating sheet metal, vortex is produced inside the sheet metal, the proximity sensor is used in the vortex breaking-out of generation so that described
Proximity sensor output is described close to standby signal;
Video capture device, is arranged on the top of the outline border of window, is adopted for carrying out video data towards the outline border of window
Collect to export outline border video flowing;
Edge strengthens equipment, is connected with the video capture device, for often receiving a new frame for outline border video flowing
Image, performs edge enhanced images, to obtain the new enhancing image of outline border video flowing to a new two field picture;
Wavelet filtering equipment, is connected with edge enhancing equipment, for often receiving the new enhancing of outline border video flowing
During image, to the new enhancing image progress Daubechies wavelet filterings processing of outline border video flowing to obtain outline border video flowing
New filtering image;Wherein, the Daubechies wavelet filterings processing that the wavelet filtering equipment carries out includes:Use length for
4 Daubechies wavelet basis carries out wavelet reconstruction again after carrying out 3 grades of decomposition to the new enhancing image of outline border video flowing, to obtain
Obtain the new filtering image of outline border video flowing;
Background splitting equipment, is connected with the wavelet filtering equipment, for often receiving the new filtering of outline border video flowing
During image, each pixel in new filtering image is handled as follows as object pixel:Determine the picture of object pixel
Element value whether match with the pixel value of correspondence position pixel in background image before, determine match, then using the object pixel as
Background dot, determines to mismatch, then using the object pixel as non-background dot, counts in all previous image of outline border video flowing, the target
The pixel of pixel correspondence position is confirmed as the probability of background dot, when probability is more than or equal to predetermined probabilities threshold value, using going through
Mesh in background image before the newest pixel value for being confirmed as background dot in the object pixel corresponding position updates in secondary image
Mark the pixel value of pixel corresponding position;Last pixel of the background splitting equipment in new filtering image performs
After complete above-mentioned processing, the background image after output renewal;
Target identification equipment, is connected with the background splitting equipment, for the new filtering image of outline border video flowing to be subtracted
The background image after new filtering image renewal of the background splitting equipment based on outline border video flowing is removed, to obtain foreground picture
Picture, carries out the target in the foreground image matching based on default human body color histogram feature, to determine the prospect
Human body target in image, and export human body subgraph that is corresponding with human body target, being split at the foreground image;
A suspect's detection device, is connected with the target identification equipment, for based on a suspect's resemblance to institute
State human body subgraph is detected to determine whether include a suspect in the human body subgraph;
The motor driver is also connected with a suspect's detection device, for including in the human body subgraph
During a suspect, stop based on the indoor humidity in real time and the window control of the outside humidity to the direct current generator in real time
System, sends to the direct current generator and closes window control signal;
Wherein, when the motor driver is additionally operable in the human body subgraph not include a suspect, recover to be based on
The indoor humidity in real time and the outside humidity in real time control the window of the direct current generator;
Wherein, the motor driver receive it is described close to standby signal when, to the direct current generator send stop
Rise control signal.
In the security window control platform based on image procossing:
The inductance approach switch is vortex type proximity switch, including three pins, when the inductance approach switch
During close to the sheet metal, second pin of the inductance approach switch is high level using as described close to standby signal
Output.
In the security window control platform based on image procossing, further include:
Ambient light sensor, is arranged on the top of the outline border of window and near the video capture device, uses
In detection surrounding environment brightness;
Lighting apparatus, is arranged on the top of the outline border of window and near the video capture device, in institute
The surrounding environment brightness of ambient light sensor output is stated when being less than or equal to predetermined luminance threshold value, for the video capture device
Video data acquiring provides floor light light.
In addition, image filtering, i.e., press down the noise of target image under conditions of image detail feature is retained as far as possible
System, is indispensable operation in image preprocessing, and the quality of its treatment effect will directly influence successive image processing and divide
The validity and reliability of analysis.
Due to the imperfection of imaging system, transmission medium and recording equipment etc., digital picture is in its formation, transmission log mistake
Often polluted in journey be subject to a variety of noises.In addition, some links in image procossing when the picture object inputted and are not so good as pre-
Also noise can be introduced when thinking in result images.These noises often show as one and cause the isolated of stronger visual effect on the image
Pixel or block of pixels.Generally, noise signal it is uncorrelated to the object to be studied it occur with useless message form, upset figure
The observable information of picture.For data image signal, psophometer is either large or small extreme value, these extreme values are acted on by plus-minus
On the true gray value of image pixel, the interference of bright, dim spot is caused to image, greatly reduces picture quality, influence image restoration,
The progress of the follow-up work such as segmentation, feature extraction, image recognition.A kind of wave filter for effectively suppressing noise is constructed to must take into consideration
Two basic problems:The noise in target and background can effectively be removed;Meanwhile can protect well image object shape,
Size and specific geometry and topological features.
One kind in common image filtering pattern is nonlinear filter, it is, in general, that when signal spectrum and noise frequency
Such as the noise as caused by mission nonlinear or there are non-gaussian to make an uproar when composing aliasing or when containing nonadditivity noise in signal
Sound etc.), traditional linear filter technology, such as Fourier conversion, while noise is filtered out, always blurred picture is thin in some way
Section (such as edge) and then the extraction property reduction for causing the positioning accuracy and feature as linear character.And nonlinear filter is
Based on a kind of Nonlinear Mapping relation to input signal, often a certain specific noise approx can be mapped as zero and retained
Signal wants feature, thus it can overcome the shortcoming of linear filter to a certain extent.
Security window control platform using the present invention based on image procossing, in the prior art can not be according to interior
Outer psychrometric difference and pedestrian voluntarily carry out the technical problem of window control close to situation, by installing indoor humidity sensor, room
Outer temperature sensor is detected and judges to indoor and outdoor psychrometric difference, by installing outdoor images collecting device and each high accuracy
Image processing equipment, pedestrian is detected and analyzed close to situation, control is opened or closed with carry out window automatically, into
Liberate to one step manually.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all 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 change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.