Air conditioner air outlet control method and system based on thermal imaging
By using thermal imaging technology to identify the location of a person and adjust the direction of air conditioning airflow, the problem of single airflow control for air conditioning is solved, realizing intelligent air supply control and improving user comfort and privacy.
Patent Information
- Application Number
- CN202510071842.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2045-01-16
AI Technical Summary
Existing air conditioners have a single method for controlling the airflow direction, which cannot be intelligently adjusted according to the user's location. As a result, the airflow cannot be directed directly at the user, affecting the performance and comfort.
By employing a thermal imaging-based method, thermal imaging images of the room are acquired through a thermal imaging device to identify the location of human bodies. Based on the position of the human body within the grid, the direction of the air conditioning vent baffle is adjusted to divide the rest and activity areas, thereby achieving intelligent airflow control.
It improves the comfort of air conditioning airflow, avoids direct airflow onto resting users, enhances user experience, ensures privacy and security, and provides personalized air supply solutions.
Smart Images

Figure CN119826292B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent air conditioners, and in particular to an air conditioner air outlet control method and system based on thermal imaging. BACKGROUND
[0002] With the gradual improvement of people's living standards and the continuous development of science and technology, air conditioners, which can adjust indoor temperature, have emerged as the times require. Many people will install air conditioners in their bedrooms. When the weather is hot or cold, air conditioners can adjust the room temperature and improve the quality of people's living environment.
[0003] However, the conventional air conditioner air outlet direction control method on the market is relatively simple, mainly by adjusting the direction of the air outlet baffle. Although these air conditioners provide multiple air outlet modes such as fixed direction mode and grid swing mode, in actual use, the control of the grid is still relatively single, and cannot be intelligently adjusted according to the specific position of the user. This results in the air conditioner air outlet in some cases may not be directly blown to the user, thereby affecting the use effect of the air conditioner and the comfort experience of the user. Therefore, an air conditioner control method capable of effectively tracking the user to adjust the air outlet direction is urgently needed. SUMMARY
[0004] In view of the above defects, the present application aims to provide an air conditioner air outlet control method and system based on thermal imaging, which meets the user's demand for intelligent adjustment of air conditioner air outlet direction.
[0005] To achieve this purpose, the present application adopts the following technical solution: an air conditioner air outlet control method based on thermal imaging, comprising the following steps:
[0006] Step S1: dividing the room area where the air conditioner is located into grids;
[0007] Step S2: acquiring a thermal imaging image through a thermal imaging device on the air conditioner, and identifying a human body from the thermal imaging image;
[0008] Step S3: adjusting the air outlet direction of the air outlet baffle of the air conditioner according to the first grid position of the human body.
[0009] Preferably, the step of identifying the human body from the thermal imaging image in step S2 is as follows:
[0010] Step S21: acquiring pixels whose temperature is greater than a temperature threshold value in the thermal imaging image as first pixels;
[0011] Step S22: acquiring the pixel distance between the first pixels, and constructing multiple first pixels whose pixel distance is less than a distance threshold value into a connected region;
[0012] Step S23: obtaining the longest direction of the connected region, and obtaining the pixel length of the longest direction;
[0013] obtaining the distance between the thermal imaging device and the connected region as a first distance, and obtaining the length of the identified object according to the first distance and the pixel length of the longest direction;
[0014] Step S24: determining whether the length of the identified object is greater than a length threshold value, and if yes, determining that the object is a human body.
[0015] Preferably, the formula for calculating the length of the identified object in step S23 is as follows:
[0016] ;
[0017] wherein is a distance adjustment proportionality coefficient, selected according to the size of the first distance D, and x is the pixel length of the longest direction of the connected region;
[0018] wherein ;
[0019] wherein is a preset unit length, 1 meter to 1.7 meters, f is the focal length, and S is the pixel pitch of the thermal imaging device.
[0020] Preferably, the specific steps of step S3 are as follows:
[0021] Step S31: dividing a rest area and an activity area in a room area where the air conditioner is located;
[0022] Step S32: determining whether the distance between the first grid position and the thermal imaging device satisfies a distance threshold value, and if yes, performing step S33, and if not, performing step S35;
[0023] Step S33: obtaining the overlapping proportion of the first grid position and the rest area, and if the overlapping proportion is greater than a proportion threshold value, determining whether the time length of the overlap is greater than a time threshold value, and if yes, marking the first grid as a second grid and performing step S34, and if not, performing step S35;
[0024] if the overlapping proportion is less than the proportion threshold value, performing step S35;
[0025] Step S34: adjusting the air outlet mode of the air conditioner to a first air outlet mode;
[0026] Step S35: adjusting the air outlet mode of the air conditioner to a second air outlet mode.
[0027] Preferably, the first air outlet mode is that the grid where the air outlet direction of the air conditioner air outlet shutter is located is adjusted to not overlap the position of the second grid.
[0028] The second air outlet mode is that the grid where the air outlet direction of the air conditioner air outlet shutter is located is adjusted to overlap the position of the first grid.
[0029] Preferably, before step S3, the following steps are further included:
[0030] According to the thermal imaging image, the number of human bodies is identified;
[0031] If the number of human bodies is 0 and the current air conditioner is in the starting state, the air conditioner is turned off, and step S3 is not executed.
[0032] If the number of human bodies is 1 and the air conditioner is in the off state, the air conditioner is started, and step S3 is executed.
[0033] If the number of human bodies is greater than 1 and the air conditioner is in the starting state, the size of the air conditioner air outlet is adjusted according to the number of human bodies, and step S3 is executed.
[0034] An air conditioner air outlet control system based on thermal imaging uses the air conditioner air outlet control method based on thermal imaging, comprising:
[0035] A division module is configured to divide the room area where the air conditioner is located into grids.
[0036] A thermal imaging module is configured to acquire a thermal imaging image through a thermal imaging device on the air conditioner, and identify human bodies from the thermal imaging image.
[0037] An adjustment module is configured to adjust the air outlet direction of the air conditioner grid according to the first grid position where the human bodies are located.
[0038] Preferably, the thermal imaging module includes a pixel acquisition submodule, a region determination submodule, a length identification submodule, and a human body judgment submodule.
[0039] The pixel acquisition submodule is configured to acquire pixels whose temperature is greater than a temperature threshold value in the thermal imaging image as first pixels.
[0040] The region determination submodule is configured to acquire the pixel distance between the first pixels, and construct multiple first pixels whose pixel distance is less than a distance threshold value into a connected region.
[0041] The length identification submodule is configured to acquire the longest direction of the connected region, and acquire the pixel length of the longest direction.
[0042] The distance between the thermal imaging device and the connected region is acquired as a first distance, and the length of the identified object is acquired according to the first distance and the pixel length of the longest direction.
[0043] The human body judgment sub-module is configured to judge whether the length of the recognized object is greater than a length threshold value, and if so, determine that the object is a human body.
[0044] Preferably, the adjustment module comprises a partition sub-module, a distance judgment sub-module, a mode determination sub-module, a first mode sub-module, and a second mode sub-module.
[0045] The partition sub-module is configured to divide a rest area and an active area in a room area where the air conditioner is located.
[0046] The distance judgment sub-module is configured to judge whether a distance between the first grid position and the thermal imaging device satisfies a distance threshold value, and if so, call the mode determination sub-module, and if not, call the second mode sub-module.
[0047] The mode determination sub-module is configured to obtain an overlap ratio of the first grid position and the rest area, and if the overlap ratio is greater than a ratio threshold value, judge whether a time length of the overlap is greater than a time threshold value, and if so, mark the first grid that overlaps with the rest area as a second grid, call the first mode sub-module, and if not, call the second mode sub-module.
[0048] The first mode sub-module is configured to adjust an air outlet mode of the air conditioner to a first air outlet mode.
[0049] The second mode sub-module is configured to adjust the air outlet mode of the air conditioner to a second air outlet mode.
[0050] Preferably, the number control module is further configured to recognize a number of human bodies according to the thermal imaging image.
[0051] If the number of human bodies is 0 and the air conditioner is in a start state, the air conditioner is turned off, and the adjustment module is called.
[0052] If the number of human bodies is greater than 0 and the air conditioner is in an off state, the air conditioner is started, and step S3 is executed.
[0053] If the number of human bodies is greater than 1 and the air conditioner is in the start state, the air conditioner is adjusted according to the number of human bodies.
[0054] One of the above technical solutions has the following advantages or beneficial effects: the air outlet baffle is controlled according to the position of the human body in the grid, wherein the grid of the room area can be set as different area grids, such as a rest area and an active area, when the first grid position is in the active area, the air outlet direction of the air outlet baffle is directed towards the first grid position, so that the air of the air conditioner can track the user, giving the user a good cooling experience. Attached Figure Description
[0055] Fig. 1 This is a flowchart of one embodiment of the method of the present invention.
[0056] Fig. 2 This is a schematic diagram of the structure of one embodiment of the system of the present invention.
[0057] Fig. 3 This is a schematic diagram of a room area being rasterized in one embodiment of the present invention. Detailed Implementation
[0058] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0059] In the description of embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of embodiments of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0060] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0061] like Figs. 1-3 As shown, an air conditioning outlet control method based on thermal imaging includes the following steps:
[0062] Step S1: Divide the room area where the air conditioner is located into a grid;
[0063] Step S2: Acquire thermal imaging images using the thermal imaging device on the air conditioner, and identify the human body from the thermal imaging images;
[0064] Step S3: Adjust the airflow direction of the air conditioner vent baffle according to the position of the human body in the first grid.
[0065] In order to improve the comfort of the fan, the thermal imaging device is added in the application, which can determine whether there is a person in the room according to the heat in the room, and accurately obtain the position of the person in the room area. The problem that the position of the human body cannot be accurately recognized due to the change of the ambient brightness can be avoided. After the position of the human body is recognized, the air outlet baffle is controlled according to the position of the human body in the grid, wherein the grid of the room area can be set as different area grids, such as a rest area and an activity area. When the first grid position is in the activity area, the air outlet direction of the air outlet baffle can be directed to the first grid position, so that the air of the air conditioner can track the user, and a good cooling experience is given to the user. When the first grid position falls in the rest area, the user may be sleeping or resting, and at this time, the air outlet direction of the air outlet baffle can be staggered with the first grid position, so that the air of the air conditioner is not directly blown to the person resting, avoiding the user from being blown by the air all the time, resulting in the user catching a cold. The humanized control of the air outlet of the air conditioner greatly improves the experience of the user.
[0066] In addition, since the uploaded data is thermal imaging image data, the thermal imaging image data has no obvious color information, and the privacy image of the user's daily life is not uploaded or leaked, so the privacy security of the air conditioner in intelligent adjustment is greatly improved.
[0067] Preferably, the step S2 of identifying the human body from the thermal imaging image is as follows:
[0068] Step S21: obtaining the pixels whose temperature is greater than the temperature threshold value in the thermal imaging image as first pixels;
[0069] Step S22: obtaining the pixel distance between the first pixels, and constructing multiple first pixels with a pixel distance less than the distance threshold value into a connected region;
[0070] Step S23: obtaining the longest direction of the connected region, and obtaining the pixel length of the longest direction;
[0071] obtaining the distance between the thermal imaging device and the connected region as a first distance, and obtaining the length of the identified object according to the first distance and the pixel length of the longest direction;
[0072] Step S24: judging whether the length of the identified object is greater than a length threshold value, and if yes, determining that it is a human body.
[0073] Since the human body is constant temperature, in the thermal imaging image, if there is a human body, then the human body area must be that the temperature value of each pixel point is within a certain temperature threshold, and the pixel position in the human body thermal imaging image can be quickly found by reasonably setting the temperature threshold. According to the body temperature of the human body, the temperature threshold can be set to 35℃. When the first pixel is found by the temperature threshold, since there can be other objects with temperature in the room, such as a cup containing hot water, a pet, etc. Of course, the image of the human body in the thermal imaging image is continuous, so the human body in the thermal imaging image is a connected region. Then the pixel length in the length direction of the connected region needs to be obtained to determine whether the connected region is a human body. In addition, the human body in the room can have different postures, such as lying, sitting, standing, etc. Therefore, in the judgment of the connected region, the pixel length in the longest direction needs to be obtained for judgment. The area occupied by the human body in the thermal imaging image is large, so the length of the longest direction of the connected region needs to be greater than the length threshold to determine that the connected region is a human body. In this way, different postures of the human body can be recognized, and the situation of missing judgment can be avoided. The length threshold can be set to 0.7-1.5 meters.
[0074] Preferably, the formula for calculating the length of the identified object in step S23 is as follows:
[0075] ;
[0076] wherein is a distance adjustment coefficient, selected according to the size of the first distance D, x is the pixel length in the longest direction of the connected region;
[0077] wherein ;
[0078] wherein is a preset unit length, 1 meter-1.7 meters, f is the focal length, and S is the pixel pitch of the thermal imaging device.
[0079] In the present application, whether it is a human body is determined by calculating the real length of the identified object. In the calculation process, the distance between the identified object and the thermal imaging device needs to be obtained. Since the size of each pixel corresponds to different real sizes at different distances. When the first distance is calculated, the real length of the object can be obtained by multiplying the pixel length in the longest direction by the proportional relationship between the size and the pixel proportion (distance adjustment coefficient) at the first distance.
[0080] Preferably, the specific steps of step S3 are as follows:
[0081] Step S31: Divide the room area where the air conditioner is located into a rest area and an activity area;
[0082] Step S32: Determine whether the distance between the first grid position and the thermal imaging device meets the distance threshold. If it does, proceed to step S33; otherwise, proceed to step S35.
[0083] Step S33: Obtain the overlap ratio between the first grid position and the rest area. If the overlap ratio is greater than the ratio threshold, determine whether the overlap duration is greater than the time threshold. If the overlap duration is equal to or greater than the time threshold, mark the first grid as the second grid and execute step S34. If the overlap duration is less than the time threshold, execute step S35.
[0084] If the overlap ratio is less than the ratio threshold, then proceed to step S35;
[0085] Step S34: Adjust the air conditioner's airflow mode to the first airflow mode;
[0086] Step S35: Adjust the air conditioner's air outlet mode to the second air outlet mode.
[0087] Within the room, the bed or sofa can be designated as the resting area, while other areas are designated as activity areas. The system then determines whether the distance between the first grid position and the thermal imaging device meets a distance threshold. Because a thermal image is a two-dimensional plane, when a person is very close to the air conditioner, it's possible for the person to overlap with the resting area, even though they are not actually in the resting area. When the distance between the first grid position and the thermal imaging device is less than the distance threshold, it indicates the person is very close to the air conditioner, and the air conditioner's airflow mode can be adjusted to a second airflow mode so that the airflow tracks the person. When the distance between the first grid position and the thermal imaging device exceeds the distance threshold, the overlap ratio between the first grid position and the resting area needs to be determined. Only when the overlap ratio is greater than the threshold is it considered that the person is resting or sleeping in the resting area. To prevent the person from simply passing through the resting area, the duration of overlap also needs to be determined, which can be set to 5-10 minutes. If the duration of the overlap exceeds a certain threshold, it is determined that the human body is currently resting in the rest area. At this time, the air conditioner's airflow mode can be adjusted to the first airflow mode to prevent the air conditioner's air from blowing directly on the human body, which could cause the user to catch a cold or feel unwell.
[0088] Preferably, the first air outlet mode is: adjusting the grid of the air outlet baffle where the air outlet direction is located so that it does not overlap with the position of the second grid;
[0089] The second air outlet mode is: adjusting the grid where the air outlet direction of the air outlet baffle of the air conditioner is located to overlap the position of the first grid.
[0090] As shown in Fig. 3 , assuming that B and E are the rest area, when the air conditioner is adjusted to the first air outlet mode, since the second grid is B, E, C, F, at this time, the air outlet direction of the air outlet baffle needs to be adjusted to one or more grids of I, H, G, D, A.
[0091] And when the air conditioner is adjusted to the second air outlet mode, since the first grid is B, E, C, F, the air outlet direction of the air outlet baffle is adjusted to one or more grids of B, E, C, F.
[0092] Preferably, before step S3 is executed, the following steps are also included:
[0093] According to the thermal imaging image, the number of human bodies is identified;
[0094] If the number of human bodies is 0, and the current air conditioner is in the start state, the air conditioner is turned off, and step S3 is not executed;
[0095] If the number of human bodies is 1, and the air conditioner is in the off state, the air conditioner is started, and step S3 is executed;
[0096] If the number of human bodies is greater than 1, and the air conditioner is in the start state, the size of the air outlet of the air conditioner is adjusted according to the number of human bodies, and step S3 is executed.
[0097] Of course, when the number of human bodies is 0, the air conditioner in the room lacks a service object, at this time, the air conditioner can be turned off, and after the air conditioner is turned off, there is no need to adjust the air outlet direction of the air conditioner. At the same time, the air conditioner can be set to a self-start mode, when the number of human bodies is 1, and the air conditioner is in the off state, the air conditioner is started, and then the air outlet direction is adjusted according to the position of the human body. When the number of human bodies is greater than 1, and the air conditioner is in the start state, the size of the air outlet of the air conditioner is adjusted according to the number of human bodies, for example, when the number of people is 2-5, the air volume 2 is taken as the output, and when the number of people is 6-10, the air volume 3 is taken as the output. Since there are many people, it is possible that part of the people are in the rest area and part of the people are in the activity area, at this time, the second air outlet mode is mainly used, because when the overlapping proportion of the position of the first grid and the rest area is greater than the proportion threshold, and the time length of the overlap is greater than the time threshold, the first grid (human body) will be updated to the second grid, at this time, the system will automatically ignore the people in the second grid, and directly set the air conditioner to the second air outlet mode, which can meet the air blowing demand in the activity area.
[0098] An air conditioner air outlet control system based on thermal imaging uses the air conditioner air outlet control method based on thermal imaging, comprising:
[0099] The division module is configured to divide a room area where the air conditioner is located into grids.
[0100] The thermal imaging module is configured to acquire a thermal imaging image by using a thermal imaging device on the air conditioner, and identify a human body from the thermal imaging image.
[0101] The adjustment module is configured to adjust a direction of air outlet of the air conditioner grid according to a first grid position where the human body is located.
[0102] Preferably, the thermal imaging module comprises a pixel acquisition submodule, a region determination submodule, a length identification submodule, and a human body judgment submodule.
[0103] The pixel acquisition submodule is configured to acquire pixels whose temperature is greater than a temperature threshold value in the thermal imaging image as first pixels.
[0104] The region determination submodule is configured to acquire a pixel distance between the first pixels, and construct a plurality of first pixels whose pixel distance is less than a distance threshold value into a connected region.
[0105] The length identification submodule is configured to acquire a longest direction of the connected region, and acquire a pixel length of the longest direction.
[0106] A distance between the thermal imaging device and the connected region is acquired as a first distance, and a length of the identified object is acquired according to the first distance and the pixel length of the longest direction.
[0107] The human body judgment submodule is configured to judge whether the length of the identified object is greater than a length threshold value, and if the length of the identified object is greater than the length threshold value, the identified object is determined as a human body.
[0108] Preferably, the adjustment module comprises a division submodule, a distance judgment submodule, a mode determination submodule, a first mode submodule, and a second mode submodule.
[0109] The division submodule is configured to divide a rest area and an active area in a room area where the air conditioner is located.
[0110] The distance judgment submodule is configured to acquire whether a distance between the first grid position and the thermal imaging device satisfies a distance threshold value, and if the distance satisfies the distance threshold value, the mode determination submodule is called, and if the distance does not satisfy the distance threshold value, the second mode submodule is called.
[0111] The mode determination submodule is configured to acquire a coincidence ratio of the first grid position and the rest area, and if the coincidence ratio is greater than a ratio threshold value, judge whether a coincidence duration is greater than a time threshold value, and if the coincidence duration is equal to or greater than the time threshold value, mark the first grid which coincides with the rest area as a second grid, call the first mode submodule, and if the coincidence duration is less than the time threshold value, call the second mode submodule.
[0112] The first mode sub-module is configured to adjust the air outlet mode of the air conditioner to a first air outlet mode.
[0113] The second mode sub-module is configured to adjust the air outlet mode of the air conditioner to a second air outlet mode.
[0114] Preferably, the system further comprises a number control module configured to recognize the number of human bodies according to the thermal imaging image.
[0115] If the number of human bodies is 0 and the air conditioner is in a start state, the air conditioner is turned off, and the adjustment module is called.
[0116] If the number of human bodies is greater than 0 and the air conditioner is in an off state, the air conditioner is started, and step S3 is executed.
[0117] If the number of human bodies is greater than 1 and the air conditioner is in a start state, the air outlet volume of the air conditioner is adjusted according to the number of human bodies.
[0118] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the exemplary description of the above terms does not necessarily mean the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0119] Although the embodiments of the present application have been shown and described, those skilled in the art can understand that various changes, modifications, replacements and variations can be made to the embodiments without departing from the principles and spirit of the present application, and the scope of the present application is defined by the claims and their equivalents.
Claims
1. A method for controlling airflow from an air conditioner based on thermal imaging, characterized in that, Includes the following steps: Step S1: Divide the room area where the air conditioner is located into a grid; Step S2: Acquire thermal imaging images using the thermal imaging device on the air conditioner, and identify the human body from the thermal imaging images; Step S3: Adjust the airflow direction of the air conditioner vent baffle according to the position of the human body in the first grid. The steps in step S2 to identify the human body from the thermal imaging image are as follows: Step S21: Obtain the pixels in the thermal imaging image whose temperature is greater than the temperature threshold, and use them as the first pixel; Step S22: Obtain the pixel distance between the first pixels, and construct a connected region from multiple first pixels whose pixel distance is less than the distance threshold; Step S23: Obtain the longest direction of the connected region, and obtain the pixel length of the longest direction; The distance between the thermal imaging device and the connected region is obtained as the first distance, and the length of the identified object is obtained based on the first distance and the pixel length of the longest direction. Step S24: Determine whether the length of the object being identified is greater than the length threshold. If it is greater than the length threshold, then it is determined to be a human body. The formula for calculating the length of the identified object in step S23 is as follows: ; in This is the distance adjustment ratio coefficient. The value is selected based on the size of the first distance D, where x is the pixel length of the longest direction of the connected region; in ; in For the preset unit length, The value ranges from 1 meter to 1.7 meters, where f is the focal length and S is the pixel spacing of the thermal imaging device. The specific steps of step S3 are as follows: Step S31: Divide the room area where the air conditioner is located into a rest area and an activity area; Step S32: Determine whether the distance between the first grid position and the thermal imaging device meets the distance threshold. If it does, proceed to step S33; otherwise, proceed to step S35. Step S33: Obtain the overlap ratio between the first grid position and the rest area. If the overlap ratio is greater than the ratio threshold, determine whether the overlap duration is greater than the time threshold. If the overlap duration is equal to or greater than the time threshold, mark the first grid as the second grid and execute step S34. If the overlap duration is less than the time threshold, execute step S35. If the overlap ratio is less than the ratio threshold, then proceed to step S35; Step S34: Adjust the air conditioner's airflow mode to the first airflow mode; Step S35: Adjust the air conditioner's air outlet mode to the second air outlet mode.
2. The air conditioning outlet control method based on thermal imaging according to claim 1, characterized in that, The first air outlet mode is: adjusting the grid of the air outlet baffle where the air outlet direction is located so that it does not overlap with the position of the second grid. The second air outlet mode is: adjust the grid of the air outlet baffle to overlap with the position of the first grid.
3. The air conditioning outlet control method based on thermal imaging according to claim 1, characterized in that, Before performing step S3, the following steps are also required: The number of human bodies was identified based on thermal imaging images; If the number of people is 0 and the air conditioner is currently running, then turn off the air conditioner and do not execute step S3. If the number of people is 1, and the air conditioner is off, then turn on the air conditioner and execute step S3; If the number of people is greater than 1 and the air conditioner is on, adjust the airflow of the air conditioner according to the number of people and proceed to step S3.
4. An air conditioning outlet control system based on thermal imaging, characterized in that, The air conditioning outlet control method based on thermal imaging according to any one of claims 1 to 3 includes: The partitioning module is used to divide the room area where the air conditioner is located into grids; A thermal imaging module is used to acquire thermal imaging images through a thermal imaging device on an air conditioner and to identify human bodies from the thermal imaging images. The adjustment module is used to adjust the airflow direction of the air conditioning grid according to the position of the human body in the first grid. The thermal imaging module includes a pixel acquisition submodule, a region determination submodule, a length recognition submodule, and a human body identification submodule. The pixel acquisition submodule is used to acquire pixels in the thermal imaging image whose temperature is greater than a temperature threshold, and use them as the first pixel. The region determination submodule is used to obtain the pixel distance between first pixels and construct a connected region from multiple first pixels whose pixel distance is less than the distance threshold. The length recognition submodule is used to obtain the longest direction of the connected region and the pixel length of the longest direction; The distance between the thermal imaging device and the connected region is obtained as the first distance, and the length of the identified object is obtained based on the first distance and the pixel length of the longest direction. The human body detection submodule is used to determine whether the length of the object being identified is greater than a length threshold. If it is greater than the length threshold, it is identified as a human body. The adjustment module includes a partitioning submodule, a distance judgment submodule, a mode determination submodule, a first mode submodule, and a second mode submodule; The partitioning submodule is used to divide the room area where the air conditioner is located into a rest area and an activity area. The distance determination submodule is used to determine whether the distance between the first grid position and the thermal imaging device meets the distance threshold. If it does, the mode determination submodule is called; if it does not, the second mode submodule is called. The mode determination submodule is used to obtain the overlap ratio between the first grid position and the rest area. If the overlap ratio is greater than the ratio threshold, it is determined whether the overlap duration is greater than the time threshold. If the overlap duration is equal to or greater than the time threshold, the first grid that overlaps with the rest area is marked as the second grid, and the first mode submodule is called. If the overlap duration is less than the time threshold, the second mode submodule is called. The first mode submodule is used to adjust the air conditioner's air outlet mode to the first air outlet mode; The second mode submodule is used to adjust the air conditioner's air outlet mode to the second air outlet mode.
5. The air conditioning outlet control system based on thermal imaging according to claim 4, characterized in that, It also includes a people control module, which is used to identify the number of people based on thermal imaging images; If the number of people is 0 and the air conditioner is currently running, then turn off the air conditioner and activate the adjustment module. If the number of people is greater than 0, and the air conditioner is off, then turn on the air conditioner and proceed to step S3. If the number of people is greater than 1 and the air conditioner is on, the airflow of the air conditioner will be adjusted according to the number of people.
Citation Information
Patent Citations
Image registration method and device, terminal equipment and storage medium
CN112200842A
Infrared temperature measurement compensation method and terminal based on face recognition
CN112525352A