CN109186772A - Human body judgment method based on infrared detector and electric appliance - Google Patents
Human body judgment method based on infrared detector and electric appliance Download PDFInfo
- Publication number
- CN109186772A CN109186772A CN201810962058.2A CN201810962058A CN109186772A CN 109186772 A CN109186772 A CN 109186772A CN 201810962058 A CN201810962058 A CN 201810962058A CN 109186772 A CN109186772 A CN 109186772A
- Authority
- CN
- China
- Prior art keywords
- human body
- pixel
- infrared detector
- judgment method
- temperature threshold
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/0022—Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
- G01J5/0025—Living bodies
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V8/00—Prospecting or detecting by optical means
- G01V8/10—Detecting, e.g. by using light barriers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/10—Occupancy
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Combustion & Propulsion (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Mechanical Engineering (AREA)
- Fuzzy Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geophysics (AREA)
- Geophysics And Detection Of Objects (AREA)
- Radiation Pyrometers (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The invention discloses a human body judgment method based on an infrared detector and an electric appliance, wherein the human body judgment method based on the infrared detector comprises the following steps: step 1, respectively calculating the actual projection area of each pixel in the infrared image of the infrared detector according to the related parameters of the infrared detector; step 2, presetting a human body temperature threshold corresponding to each pixel and the number of pixels occupied by a human body according to the actual projection area; step 3, extracting one or more groups formed by pixels meeting the human body temperature threshold value in the infrared image of the current environment scanned by the infrared detector according to the human body temperature threshold value; and 4, judging whether the human body is the human body according to the number of the pixels occupied by the human body. According to the invention, the human body temperature threshold and the number of the pixels occupied by the human body are set according to the actual projection area of each pixel, so that the judgment of the human body is more accurate.
Description
Technical field
Judgment method when human body is detected the present invention relates to infrared detector, and the electricity of human body is identified using this method
Device.
Background technique
For infrared detector in field of air conditioning with extensively, main function is for judging whether the zone of action of air-conditioning has
People.Most methods are all by the temperature data of each collected pixel unit and default human body temperature range at present
It is compared, if inhuman beyond being marked as if human body temperature range, be otherwise labeled as someone, finally count the picture of someone
The total quantity of plain unit reaches corresponding quantity, is then judged as human body.These pixel units are all complete equal parts in the prior art
The infrared image scanned, but the pixel unit projected area of actually infrared detector is not of uniform size, therefore complete equal part
This method for dividing pixel unit of infrared image is easy to appear error in judgement.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, the invention proposes a kind of human bodies based on infrared detector
Judgment method, comprising:
Step 1, each picture in the infrared image of the infrared detector is calculated separately according to the relevant parameter of infrared detector
The actual projected area of element;
Step 2, according to the actual projected area preset the corresponding human body temperature threshold value of each pixel and human body shared by pixel
Quantity;
Step 3, it according to the human body temperature threshold value, extracts in the infrared image for the current environment that infrared detector is scanned by according with
Close the people group that one or more pixels of the human body temperature threshold value are constituted;
Step 4, the pixel quantity according to shared by the human body judges whether the people group is human body.
In the above-mentioned technical solutions, the relevant parameter of the infrared detector includes the mounting height of infrared detector, peace
Fill field-of-view angle, the pixel quantity of angle and infrared detector.There are many situations for the judgement of the people group, when the reality of pixel
When border projected area is less than human body area, then the adjacent multiple pixels for meeting the human body temperature threshold value constitute a people group.
When the actual projected area of pixel is greater than human body area, then a pixel for meeting the human body temperature threshold value constitutes a people
Group.
The specific steps of the actual projected area of each pixel are calculated in the step 1 are as follows:
Step 1.1, the responsible angular range of each pixel is calculated according to infrared detector field-of-view angle and pixel quantity;
Step 1.2, trigonometric function meter is utilized according to the responsible angular range of the relevant parameter of infrared detector and the pixel
Calculate each apex coordinate for the quadrangle that each pixel is projected;
Step 1.3, the actual projected area of pixel is obtained according to the area that each apex coordinate calculates the quadrangle.
When pixel perpendicular projection, the mounting height of the infrared detector is H, and the responsible angle of pixel is 2 α *, 2 β, institute
The actual projected area S for stating pixel is [2* (tan α * H)] * [2* (tan β * H)].
In a specific embodiment, when the infrared detecting set perpendicular projection, positioned at the pixel of infrared image edge
Human body temperature threshold value be lower than the minimum temperature of human body, the human body temperature threshold values of other pixels is the minimum temperature of human body.
Preferably, the step 1 is only executed when using for the first time after the infrared detector is fixedly mounted primary to 2, and
Store the result executed.
The electric appliance of human body, the electricity are identified the invention also provides the human body judgment method in by adopting the above technical scheme
Device includes the common electric appliance such as air conditioner.Wherein air conditioner can be courtyard machine, be also possible to other types of air conditioner.
The present invention is calculated by calculating actual projected area corresponding to each pixel of infrared detector, then root
Different human body temperature threshold value and the pixel quantity for judging needed by human body are preset according to different areas, increase the standard for judging human body
True rate.
Detailed description of the invention
Below with reference to embodiment and attached drawing, the present invention is described in detail, in which:
Fig. 1 is flow chart of the method for the present invention.
Fig. 2 is the computation model figure of a specific embodiment of the invention.
Fig. 3 is the projection schematic diagram of a specific embodiment of the invention.
Specific embodiment
Because infrared detector detects that the temperature value of a pixel is the mean temperature in actual projected area, if
Actual projected area corresponding to some pixel is very big, even when have the very high heat source of a temperature, the pixel of averagely getting off
Temperature will not be too high, if the cold source for having temperature very low, then the temperature for the pixel that is averaged can also be increased, and
And a human body will occupy multiple pixels in the small region of pixel actual projected area, on the big ground of pixel actual projected area
The pixel quantity of Fang Zhanyong will be reduced accordingly.Therefore, of the invention to judge that the method for human body needs to calculate each pixel
Then actual projected area can set picture shared by the human body temperature threshold value of each pixel, human body according to actual projected area
Prime number amount judges that human body can be very accurate based on pixel quantity shared by human body temperature threshold value and human body in this way.
Below according to the flow chart that Fig. 1 is provided, the process that the present invention will be described in detail.
The present invention obtains the related parameter of infrared detector first, has specifically included mounting height, the peace of infrared detector
Fill field-of-view angle, the pixel quantity of angle and infrared detector.It is calculated according to infrared detector field-of-view angle and pixel quantity
The responsible angular range of each pixel, mounting height and trigonometric function further according to infrared detector calculate each pixel institute
Each apex coordinate of the quadrangle of projection, finally obtains the reality of pixel according to the area that each apex coordinate calculates the quadrangle
Projected area.
Fig. 2 gives the specific computation model of the actual projected area an of pixel.
Due to the relationship of its setting angle, the trapezoidal shape of quadrangle which projects in the X-axis Y-axis of ground
(dashed trapezoids in figure), angle [alpha] are the angle of infrared detector 1 and vertical direction, the as established angle of infrared detector 1
Degree, the mounting height of infrared detector 1 are h, infrared detector 1 in vertical direction be projected as point C, infrared detector it is red
The point of the center of outer image is projected as point B, if we need to ask the actual projected area of some pixel, we are from Fig. 2
It is found that the projection shape of pixel is one trapezoidal, if requiring trapezoidal area, it is only necessary to know the seat on four trapezoidal vertex
Mark.
Assuming that any point A is a vertex of the quadrangle of the projection of some pixel in figure, the coordinate of point A is sought now,
Its coordinate formula can be calculated by trigonometric function are as follows:
YA=h*tan(α+β);
L1=h/cos(α+β);
δ=β;
L2=L1*cos(δ)=h/cos(α+β)*cos(β);
XA=tan(γ)*L2=tan(γ)* h/cos(α+β)*cos(β);
Angle beta in above-mentioned formula is the angle of point A line between the subpoint and point B and infrared detector 1 in Y-axis,
Angle γ is that the angle of point A line between the subpoint and point C and infrared detector 1 in X-axis (marks clear in figure
It is clear, moved at point A and be labeled), angle δ is equal to angle beta, and angle beta, angle γ and angle δ are according to infrared detector 1
Field-of-view angle and pixel number can calculate, length L1, L2 be intermediate parameters, for calculating final coordinate.According to upper
Coordinate formula is stated, then can obtain again the actual projected face of the pixel in the hope of the coordinate on other three vertex of some pixel
Product.For example, it is assumed that the angle of visibility of infrared detector is 30 ° * 40 °, pixel quantity is 6*8=48, and 20 ° of setting angle, installation is high
Degree is 3 meters, then angle [alpha]=20 °, angle beta=2*(30/6) °=10 °, angle γ=2* (40/8) °=10 °.YA=3*tan(30 °) ≈
1.732 rice.XA0.6 meter of ≈ of=tan (10 °) * 3/cos (30 °) * cos (10 °).
When assuming again that some pixel perpendicular projection, the mounting height of infrared detector is H, and the responsible angle of pixel is 2 α * 2
When β, then the actual projected area S of pixel is [2* (tan α * H)] * [2* (tan β * H)].
After calculating the actual projected area to each pixel, next need to be set according to actual projected area each
Pixel quantity shared by the human body temperature threshold value of pixel, human body, it is assumed that pixel quantity shared by human body is t, less than the pixel of t quantity
Noise filtering should then be regarded.In infrared detector perpendicular projection, people moves anyway in normal region, and area is all
The actual projected area of t pixel can be completely covered, human body temperature threshold value at this time can choose the minimum temperature for human body.
And in some border districts, the projected area of t pixel is completely covered in the insufficient area of people at this time, at this time should be appropriate
Reduce the value of t, while being also required to the threshold value appropriate for reducing human body temperature.According to the preset human body temperature threshold of each pixel
Value, the element marking of human body temperature threshold value is met once, the adjacent pixel for meeting human body temperature threshold value will constitute a people
Group, whether it is human body that then the pixel quantity t according to shared by human body judges that each one rolls into a ball.
If the pixel quantity of certain infrared detectors is very few, the projected area of each pixel is excessive cause human body area without
By the projected area that how can not all cover a pixel, need that corresponding human temperature is arranged according to the size of each pixel at this time
Threshold value is spent, each pixel for meeting human body temperature threshold value is a people group, and the people group is exactly a human body.
Such as the schematic diagram that an infrared detector 1 providing of Fig. 3 detects perpendicular to the ground, from figure 3, it can be seen that each
The actual projected size of pixel be all it is different, the actual projected area for being located in the middle pixel is less than normal, be located at edge
Pixel actual projected area it is bigger than normal, the circle of shade indicates to be people, rectangular shadow representation be it is inhuman, the area of human body without
The projected area of any one pixel is completely covered in method.If all pixels are all a fixed human body temperature threshold values, in order to
Interference inhuman in square box is excluded, then it is proper to be selected as 30 DEG C for the temperature threshold of human body, but fringe region people can miss again
It is judged as inhuman, such error is larger.And the present invention according to area when determining human threshold level's temperature, then both accurately sentence by size
Break and people, has inhuman interference filtering.Compared to fixed human body temperature threshold value, accuracy rate is high much.
The present invention calculate the actual projected area of each pixel and preset according to projected area human body temperature threshold value and
Pixel quantity shared by human body executes once when can use for the first time after infrared detector fixed installation, and stores the knot of execution
Fruit.Judge that the result that storage can be called directly when human body to use saving system resource every time later.
The present invention protects human body judgment method by adopting the above technical scheme to identify each electric appliances of human body, such as air-conditioning
Device, television set, monitoring camera etc., wherein air conditioner can be courtyard machine, is also possible to other kinds of air-conditioning, belongs to
In protection scope of the present invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (11)
1. a kind of human body judgment method based on infrared detector characterized by comprising
Step 1, each picture in the infrared image of the infrared detector is calculated separately according to the relevant parameter of infrared detector
The actual projected area of element;
Step 2, according to the actual projected area preset the corresponding human body temperature threshold value of each pixel and human body shared by pixel
Quantity;
Step 3, it according to the human body temperature threshold value, extracts in the infrared image for the current environment that infrared detector is scanned by according with
Close the people group that one or more pixels of the human body temperature threshold value are constituted;
Step 4, the pixel quantity according to shared by the human body judges whether the people group is human body.
2. the human body judgment method based on infrared detector as described in claim 1, which is characterized in that the infrared detector
Relevant parameter include the mounting height of infrared detector, the field-of-view angle of setting angle and infrared detector, pixel number
Amount.
3. the human body judgment method based on infrared detector as claimed in claim 2, which is characterized in that the step 1 is fallen into a trap
Calculate the specific steps of the actual projected area of each pixel are as follows:
Step 1.1, the responsible angular range of each pixel is calculated according to infrared detector field-of-view angle and pixel quantity;
Step 1.2, trigonometric function meter is utilized according to the responsible angular range of the relevant parameter of infrared detector and the pixel
Calculate each apex coordinate for the quadrangle that each pixel is projected;
Step 1.3, the actual projected area of pixel is obtained according to the area that each apex coordinate calculates the quadrangle.
4. the human body judgment method based on infrared detector as claimed in claim 3, which is characterized in that when pixel perpendicular projection
When, the mounting height of the infrared detector is H, and the responsible angle of the pixel is 2 α *, 2 β, the actual projected face of the pixel
Product S is [2* (tan α * H)] * [2* (tan β * H)].
5. the human body judgment method based on infrared detector as described in claim 1, which is characterized in that when the infrared acquisition
When instrument perpendicular projection, the minimum temperature of human body, other pixels are lower than positioned at the human body temperature threshold value of the pixel of infrared image edge
Human body temperature threshold value be human body minimum temperature.
6. the human body judgment method based on infrared detector as described in claim 1, which is characterized in that when the practical throwing of pixel
When penetrating area less than human body area, then the adjacent multiple pixels for meeting the human body temperature threshold value constitute a people group.
7. the human body judgment method based on infrared detector as described in claim 1, which is characterized in that when the practical throwing of pixel
When penetrating area greater than human body area, then a pixel for meeting the human body temperature threshold value constitutes a people group.
8. the human body judgment method based on infrared detector as described in claim 1, which is characterized in that the step 1 to 2 is only
It is executed once when being used for the first time after infrared detector fixed installation, and stores the result of execution.
9. identifying the electric appliance of human body using the human body judgment method as described in claim 1 to 8 any one.
10. electric appliance as claimed in claim 9, which is characterized in that the electric appliance includes air conditioner.
11. electric appliance as claimed in claim 10, which is characterized in that the air conditioner is courtyard machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810962058.2A CN109186772B (en) | 2018-08-22 | 2018-08-22 | Human body judgment method based on infrared detector and electric appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810962058.2A CN109186772B (en) | 2018-08-22 | 2018-08-22 | Human body judgment method based on infrared detector and electric appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109186772A true CN109186772A (en) | 2019-01-11 |
CN109186772B CN109186772B (en) | 2020-03-10 |
Family
ID=64919519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810962058.2A Active CN109186772B (en) | 2018-08-22 | 2018-08-22 | Human body judgment method based on infrared detector and electric appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109186772B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134220A (en) * | 2019-05-22 | 2019-08-16 | 深圳市鑫宇鹏电子科技有限公司 | A kind of device sleeps awakening method based on infrared sensor array |
CN111504477A (en) * | 2020-05-06 | 2020-08-07 | 珠海格力电器股份有限公司 | Infrared temperature sensor, manufacturing method thereof and temperature detection device |
CN111579082A (en) * | 2020-05-09 | 2020-08-25 | 上海交通大学 | Error automatic compensation method of infrared thermal imaging temperature measurement system |
CN111901517A (en) * | 2020-06-13 | 2020-11-06 | 王体 | Frame rate adjusting system based on time zone detection and corresponding terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6021956A (en) * | 1996-12-04 | 2000-02-08 | Zexel Corporation | Thermal image judging method and air conditioner control method |
JP2008185480A (en) * | 2007-01-30 | 2008-08-14 | Matsushita Electric Works Ltd | Human body detector |
CN102842063A (en) * | 2011-04-13 | 2012-12-26 | 施乐公司 | Determining number of objects an ir image |
CN104061662A (en) * | 2014-07-17 | 2014-09-24 | 珠海格力电器股份有限公司 | Human body detection method and device and air conditioner |
CN105241003A (en) * | 2015-09-25 | 2016-01-13 | 广东美的制冷设备有限公司 | Air conditioner control method and system and air conditioner |
WO2017029762A1 (en) * | 2015-08-20 | 2017-02-23 | 三菱電機株式会社 | Air conditioner |
-
2018
- 2018-08-22 CN CN201810962058.2A patent/CN109186772B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6021956A (en) * | 1996-12-04 | 2000-02-08 | Zexel Corporation | Thermal image judging method and air conditioner control method |
JP2008185480A (en) * | 2007-01-30 | 2008-08-14 | Matsushita Electric Works Ltd | Human body detector |
CN102842063A (en) * | 2011-04-13 | 2012-12-26 | 施乐公司 | Determining number of objects an ir image |
CN104061662A (en) * | 2014-07-17 | 2014-09-24 | 珠海格力电器股份有限公司 | Human body detection method and device and air conditioner |
WO2017029762A1 (en) * | 2015-08-20 | 2017-02-23 | 三菱電機株式会社 | Air conditioner |
CN105241003A (en) * | 2015-09-25 | 2016-01-13 | 广东美的制冷设备有限公司 | Air conditioner control method and system and air conditioner |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134220A (en) * | 2019-05-22 | 2019-08-16 | 深圳市鑫宇鹏电子科技有限公司 | A kind of device sleeps awakening method based on infrared sensor array |
CN111504477A (en) * | 2020-05-06 | 2020-08-07 | 珠海格力电器股份有限公司 | Infrared temperature sensor, manufacturing method thereof and temperature detection device |
CN111504477B (en) * | 2020-05-06 | 2021-03-26 | 珠海格力电器股份有限公司 | Infrared temperature sensor, manufacturing method thereof and temperature detection device |
CN111579082A (en) * | 2020-05-09 | 2020-08-25 | 上海交通大学 | Error automatic compensation method of infrared thermal imaging temperature measurement system |
CN111579082B (en) * | 2020-05-09 | 2021-07-30 | 上海交通大学 | Error automatic compensation method of infrared thermal imaging temperature measurement system |
CN111901517A (en) * | 2020-06-13 | 2020-11-06 | 王体 | Frame rate adjusting system based on time zone detection and corresponding terminal |
CN111901517B (en) * | 2020-06-13 | 2022-02-25 | 无锡利水管业有限公司 | Frame rate adjusting system based on time zone detection and corresponding terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109186772B (en) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109186772A (en) | Human body judgment method based on infrared detector and electric appliance | |
CN102175613B (en) | Image-brightness-characteristic-based pan/tilt/zoom (PTZ) video visibility detection method | |
US9087258B2 (en) | Method for counting objects and apparatus using a plurality of sensors | |
CN104851086B (en) | An Image Detection Method for Surface Defects of Cables | |
CN102834799B (en) | Method of displaying virtual information in view of real environment | |
CN105451012B (en) | 3-D imaging system and three-D imaging method | |
CN106196484A (en) | The control method of air-conditioner and air-conditioner | |
CN110598672B (en) | Multi-region people counting method based on single camera | |
CN103365030A (en) | A method for calibrating a camera | |
CN106803926B (en) | An optimization method for video sensor deployment considering multiple surveillance tasks | |
CN106225161A (en) | Air conditioning control method and device | |
CN106091289A (en) | Air-conditioning method and device | |
CN114359841A (en) | Video water level identification method based on space-time average | |
CN105631852B (en) | Indoor human body detection method based on depth image contour | |
CN107766784A (en) | A kind of novel video people counting algorithm | |
CN108765488A (en) | A kind of high-resolution remote sensing image depth of building estimating and measuring method based on shade | |
WO2016148247A1 (en) | Device for measuring rotation of spherical body, measurement method, and program | |
CN106327424A (en) | Correction device and correction method of infrared and visible image registration parameters | |
CN108363977A (en) | A kind of human prone position state identification method and device | |
CN109916052A (en) | Air conditioner automatically cleaning control method | |
JP2015055591A (en) | Weather judgment device, electric blind control device | |
CN108710832A (en) | It is a kind of without refer to definition of iris image detection method | |
CN109579934A (en) | Water logging multiple monitoring method and system | |
CN107239743A (en) | A kind of graduation mark reading automatic testing method based on sciagraphy | |
CN106526651A (en) | Detector crystal position table establishing method and detector crystal position table establishing system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |