Air conditioner air outlet control method and system based on thermal imaging
Through the air conditioner air outlet control method based on thermal imaging, the user's position is identified and the air outlet direction is adjusted, and the problem of single air outlet direction control of the existing air conditioner is solved, improving user comfort and privacy and security.
Patent Information
- Application Number
- CN202510071842.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-01-16
AI Technical Summary
The existing air conditioner air outlet direction control method is single, and it cannot be intelligently adjusted according to the user's specific location, resulting in the air outlet that may not be directly blown towards the user, affecting the use effect and comfort.
The air conditioner air outlet control method based on thermal imaging is adopted, and the thermal imaging image in the room is obtained through the thermal imaging device, the position of the human body is recognized, and the air outlet direction of the air conditioner air outlet baffle is adjusted according to the grid position where the human body is located.
It realizes intelligent adjustment of the air conditioner air outlet direction according to the user's location, improves the use effect of the air conditioner and the user's comfort experience, and improves privacy and security.
Smart Images

Figure CN119826292A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent air conditioners, and in particular to an air outlet control method and system for an air conditioner based on thermal imaging. Background Art
[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 come into being. Many people 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 outlet direction control method of air conditioners on the market is relatively simple, mainly achieved by adjusting the direction of the air outlet baffle. Although these air conditioners provide a variety of air outlet modes such as fixed direction mode and grid swing mode, in actual use, these modes still appear to be relatively simple in controlling the grid and cannot be adjusted intelligently according to the specific location of the user. This results in that in some cases, the air outlet of the air conditioner may not be able to blow directly to the user, thereby affecting the use effect of the air conditioner and the user's comfort experience. Therefore, an air conditioner control method that can effectively track the user's air outlet direction is urgently needed. Summary of the invention
[0004] In view of the above-mentioned defects, the purpose of the present invention is to propose an air-conditioning outlet control method and system based on thermal imaging to meet the user's demand for intelligent adjustment of the air supply direction of the air conditioner.
[0005] To achieve this purpose, the present invention adopts the following technical solution: an air conditioning air outlet control method based on thermal imaging, comprising the following steps:
[0006] Step S1: Divide the room area where the air conditioner is located into grids;
[0007] Step S2: obtaining 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-conditioning outlet baffle according to the first grid position where the human body is located.
[0009] Preferably, the step of identifying a human body from the thermal imaging image in step S2 is as follows:
[0010] Step S21: acquiring pixels in the thermal imaging image whose temperature is greater than a temperature threshold as first pixels;
[0011] Step S22: obtaining the pixel distance between the first pixels, and constructing a plurality of first similarities whose pixel distance is less than a distance threshold into a connected region;
[0012] Step S23: obtaining the longest direction of the connected area, and obtaining the pixel length of the longest direction;
[0013] Acquire the distance between the thermal imaging device and the connected area as a first distance, and acquire the length of the object to be identified according to the first distance and the pixel length in the longest direction;
[0014] Step S24: Determine whether the length of the identified object is greater than a length threshold. If so, determine 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] L=x*α D ;
[0017] where α D is the distance adjustment proportional coefficient, α D The value is selected according to the size of the first distance D, where x is the pixel length of the longest direction of the connected area;
[0018] in
[0019] Wherein l is the preset unit length, l is between 1 meter and 1.7 meters, f is the focal length, and S is the pixel spacing of the thermal imaging device.
[0020] Preferably, the specific steps of step S3 are as follows:
[0021] Step S31: dividing the room area where the air conditioner is located into a rest area and an activity area;
[0022] Step S32: obtaining whether the distance between the first grid position and the thermal imaging device meets the distance threshold, if so, executing step S33, if not, executing step S35;
[0023] 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.
[0024] If the overlap ratio is less than the ratio threshold, execute step S35;
[0025] Step S34: adjusting the air outlet mode of the air conditioner to the first air outlet mode;
[0026] Step S35: adjusting the air outlet mode of the air conditioner to the second air outlet mode.
[0027] Preferably, the first air outlet mode is: adjusting the grid where the air outlet direction of the air conditioner air outlet baffle is located to not overlap with the position of the second grid;
[0028] The second air outlet mode is: adjusting the grid where the air outlet direction of the air-conditioning outlet baffle is located to overlap with the position of the first grid.
[0029] Preferably, the following steps are further included before executing step S3:
[0030] Identify the number of human bodies based on thermal imaging images;
[0031] If the number of human bodies is 0 and the air conditioner is currently in the on 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 off, the air conditioner is turned on and step S3 is executed;
[0033] If the number of human bodies is greater than 1 and the air conditioner is in the start-up state, the air volume of the air conditioner is adjusted according to the number of human bodies, and step S3 is executed.
[0034] An air-conditioning air outlet control system based on thermal imaging, using the air-conditioning air outlet control method based on thermal imaging, comprising:
[0035] A partitioning module is used to divide the room area where the air conditioner is located into grids;
[0036] A thermal imaging module, used to obtain a thermal imaging image through a thermal imaging device on the air conditioner, and identify a human body from the thermal imaging image;
[0037] The adjustment module is used to adjust the air outlet direction of the air conditioning grid according to the first grid position where the human body is located.
[0038] Preferably, the thermal imaging module includes a pixel acquisition submodule, a region determination submodule, a length recognition submodule and a human body judgment submodule;
[0039] The pixel acquisition submodule is used to acquire pixels in the thermal imaging image whose temperature is greater than a temperature threshold as first pixels;
[0040] The region determination submodule is used to obtain the pixel distance between the first pixels, and construct a plurality of first similarities whose pixel distance is less than a distance threshold into a connected region;
[0041] The length recognition submodule is used to obtain the longest direction of the connected area and the pixel length of the longest direction;
[0042] Acquire the distance between the thermal imaging device and the connected area as a first distance, and acquire the length of the object to be identified according to the first distance and the pixel length in the longest direction;
[0043] The human body judgment submodule is used to judge whether the length of the identified object is greater than the length threshold. If it is greater than the length threshold, it is judged to be a human body.
[0044] Preferably, the adjustment module includes a partitioning submodule, a distance judgment submodule, a mode determination submodule, a first mode submodule and a second mode submodule;
[0045] The partition submodule is used to divide the room area where the air conditioner is located into a rest area and an activity area;
[0046] The distance determination submodule is used to obtain whether the distance between the first grid position and the thermal imaging device meets the distance threshold, and if so, call the mode determination submodule, and if not, call the second mode submodule;
[0047] 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.
[0048] The first mode submodule is used to adjust the air outlet mode of the air conditioner to the first air outlet mode;
[0049] The second mode submodule is used to adjust the air outlet mode of the air conditioner to the second air outlet mode.
[0050] Preferably, it also includes a number control module, which is used to identify the number of human bodies based on the thermal imaging image;
[0051] If the number of human bodies is 0 and the air conditioner is currently in the on 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 the 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 on state, the air volume of 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 to 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 toward the first grid position, so that the air of the air conditioner can track the user, giving the user a good cooling experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 is a flow chart of an embodiment of the method of the present invention.
[0056] Figure 2 It is a schematic diagram of the structure of an embodiment of the system of the present invention.
[0057] Figure 3 It is a schematic diagram of rasterizing a room area in one embodiment of the present invention. DETAILED DESCRIPTION
[0058] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0059] In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0060] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "plurality" is two or more. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0061] like Figures 1 to 3 As shown, a method for controlling air outlet of an air conditioner based on thermal imaging comprises the following steps:
[0062] Step S1: Divide the room area where the air conditioner is located into grids;
[0063] Step S2: obtaining a thermal imaging image through a thermal imaging device on the air conditioner, and identifying a human body from the thermal imaging image;
[0064] Step S3: adjusting the air outlet direction of the air-conditioning outlet baffle according to the first grid position where the human body is located.
[0065] In order to improve the comfort of the fan's air outlet. A thermal imaging device is added to the present invention, and the thermal imaging device can determine whether there is someone in the room according to the heat in the room, and accurately obtain the position of the person in the room area. The problem of not being able to accurately identify the position of the human body due to changes in ambient light brightness can be avoided. After the position of the human body is identified, the air outlet baffle will be controlled according to the position of the human body in the grid, wherein the grid of the room area can be set to different regional grids, such as the rest area and the activity area. When the first grid position is in the activity area, the air outlet baffle can be directed toward the first grid position, so that the air of the air conditioner can track the user and give the user a good cooling experience. When the first grid position falls into the rest area, the user may be sleeping or resting. At this time, the air outlet direction of the air outlet baffle can be staggered with the first grid position, and the air of the air conditioner will not blow directly to the person who is resting, so as to avoid the user being blown by the wind all the time during the rest, causing the user to catch a cold. Humanized control of air conditioning air outlet greatly improves the user experience.
[0066] In addition, since the uploaded data is thermal imaging image data, and thermal imaging image data does not have obvious color information, private images of users' daily lives will not be uploaded or leaked, which greatly improves the privacy security of the air conditioner in intelligent adjustment.
[0067] Preferably, the step of identifying a human body from the thermal imaging image in step S2 is as follows:
[0068] Step S21: acquiring pixels in the thermal imaging image whose temperature is greater than a temperature threshold as first pixels;
[0069] Step S22: obtaining the pixel distance between the first pixels, and constructing a plurality of first similarities whose pixel distance is less than a distance threshold into a connected region;
[0070] Step S23: obtaining the longest direction of the connected area, and obtaining the pixel length of the longest direction;
[0071] Acquire the distance between the thermal imaging device and the connected area as a first distance, and acquire the length of the object to be identified according to the first distance and the pixel length in the longest direction;
[0072] Step S24: Determine whether the length of the identified object is greater than a length threshold. If so, determine that the object 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 temperature value of each pixel point in the human body area must be within a certain temperature threshold. By setting the temperature threshold reasonably, the pixel position in the human body thermal imaging image can be quickly found. According to the human body temperature, the temperature threshold can be set to 35°C. After finding the first pixel through the temperature threshold, there may be other objects with temperature in the room, such as a cup filled with warm water, a pet, etc. Of course, the image of the human body in the thermal imaging image is continuous, so the human body is a connected area in the thermal imaging image. Then it is necessary to obtain the pixel length in the length direction of the connected area to determine whether the connected area is a human body. In addition, since the human body may have different postures in the room. For example, lying, sitting, standing, etc. Therefore, in the judgment of the connected area, it is necessary to obtain the pixel length in the longest direction 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 area needs to be greater than the length threshold to determine that the connected area is a human body. In this way, human bodies in different postures can be identified to avoid missed judgments. The length threshold can be set to 0.7 to 1.5 meters.
[0074] Preferably, the formula for calculating the length of the identified object in step S23 is as follows:
[0075] L=x*α D ;
[0076] where α D is the distance adjustment proportional coefficient, α D The value is selected according to the size of the first distance D, where x is the pixel length of the longest direction of the connected area;
[0077] in
[0078] Wherein l is the preset unit length, l is between 1 meter and 1.7 meters, f is the focal length, and S is the pixel spacing of the thermal imaging device.
[0079] In the present invention, whether it is a human body is determined by calculating the real length of the identified object. In the process of calculation, it is necessary to obtain the distance between the identified object and the thermal imaging device, because the real size corresponding to each pixel size is different at different distances. After the first distance is calculated, the real length of the object can be immediately obtained by multiplying the proportional relationship between the size and the pixel ratio at the first distance (distance adjustment proportional coefficient) with the pixel length in the longest direction.
[0080] Preferably, the specific steps of step S3 are as follows:
[0081] Step S31: dividing the room area where the air conditioner is located into a rest area and an activity area;
[0082] Step S32: obtaining whether the distance between the first grid position and the thermal imaging device meets the distance threshold, if so, executing step S33, if not, executing 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, execute step S35;
[0085] Step S34: adjusting the air outlet mode of the air conditioner to the first air outlet mode;
[0086] Step S35: adjusting the air outlet mode of the air conditioner to the second air outlet mode.
[0087] In the room, the position of the bed or sofa can be set as the rest area, and other areas can be set as the activity area. Then it is determined whether the distance between the first grid position and the thermal imaging device meets the distance threshold. Because the thermal imaging image is a two-dimensional plane, when the human body is very close to the air conditioner, it is possible that the human body overlaps with the rest area, but the human body is not in the rest area at this time. When the distance between the first grid position and the thermal imaging device is less than the distance threshold, it means that the human body is very close to the air conditioner. At this time, the air outlet mode of the air conditioner can be adjusted to the second air outlet mode. So that the wind blown out can track the human body. When the distance between the first grid position and the thermal imaging device is greater than the distance threshold, it is necessary to determine the overlap ratio of the first grid position and the rest area. Only when the overlap ratio of the first grid and the rest area is greater than the threshold, it means that the human body is resting or sleeping in the rest area. Of course, in order to avoid the human body just passing by the rest area, it is also necessary to determine whether the overlap duration is greater than the duration threshold, where the duration threshold can be set to 5 to 10 minutes. If the overlapping time is greater than the time threshold, it is determined that the human body is currently resting in the rest area. At this time, the air outlet mode of the air conditioner can be adjusted to the first air outlet mode to prevent the air conditioner from blowing directly to the human body, causing the user to catch a cold or feel uncomfortable.
[0088] Preferably, the first air outlet mode is: adjusting the grid where the air outlet direction of the air conditioner air outlet baffle is located to 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-conditioning outlet baffle is located to overlap with the position of the first grid.
[0090] like Figure 3As shown, assuming that B and E are rest areas, when the air conditioner is adjusted to the first air outlet mode, since the second grid is B, E, C, and F, it is necessary to adjust the air outlet direction of the air outlet baffle to one or more grids of I, H, G, D, and A.
[0091] 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 can be adjusted to one or more grids of B, E, C, F.
[0092] Preferably, the following steps are further included before executing step S3:
[0093] Identify the number of human bodies based on thermal imaging images;
[0094] If the number of human bodies is 0 and the air conditioner is currently in the on 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 off, the air conditioner is turned on and step S3 is executed;
[0096] If the number of human bodies is greater than 1 and the air conditioner is in the start-up state, the air volume 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 indoor air conditioner lacks service objects. At this time, the air conditioner can be turned off. After turning off the air conditioner, 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 the self-start mode. When the number of human bodies is 1 and the air conditioner is in the off state, the air conditioner starts automatically, and then adjusts the air outlet direction according to the position of the human body. 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. For example, when the number of people is 2 to 5, the air volume 2 is used as the output, and when the number of people is 6 to 10, the air volume 3 is used as the output. Since there are many people, it is possible that some people are in the rest area and some people are in the activity area. At this time, the second air outlet mode is mainly used, because when the overlap ratio of the first grid position and the rest area is greater than the ratio threshold, and the overlap duration 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 blowing needs in the activity area.
[0098] An air-conditioning air outlet control system based on thermal imaging, using the air-conditioning air outlet control method based on thermal imaging, comprising:
[0099] A partitioning module is used to divide the room area where the air conditioner is located into grids;
[0100] A thermal imaging module, used to obtain a thermal imaging image through a thermal imaging device on the air conditioner, and identify a human body from the thermal imaging image;
[0101] The adjustment module is used to adjust the air outlet direction of the air conditioning grid according to the first grid position where the human body is located.
[0102] Preferably, the thermal imaging module includes a pixel acquisition submodule, a region determination submodule, a length recognition submodule and a human body judgment submodule;
[0103] The pixel acquisition submodule is used to acquire pixels in the thermal imaging image whose temperature is greater than a temperature threshold as first pixels;
[0104] The region determination submodule is used to obtain the pixel distance between the first pixels, and construct a plurality of first similarities whose pixel distance is less than a distance threshold into a connected region;
[0105] The length recognition submodule is used to obtain the longest direction of the connected area and the pixel length of the longest direction;
[0106] Acquire the distance between the thermal imaging device and the connected area as a first distance, and acquire the length of the object to be identified according to the first distance and the pixel length in the longest direction;
[0107] The human body judgment submodule is used to judge whether the length of the identified object is greater than the length threshold. If it is greater than the length threshold, it is judged to be a human body.
[0108] Preferably, the adjustment module includes a partitioning submodule, a distance judgment submodule, a mode determination submodule, a first mode submodule and a second mode submodule;
[0109] The partition submodule is used to divide the room area where the air conditioner is located into a rest area and an activity area;
[0110] The distance determination submodule is used to obtain whether the distance between the first grid position and the thermal imaging device meets the distance threshold, and if so, call the mode determination submodule, and if not, call the second mode submodule;
[0111] 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.
[0112] The first mode submodule is used to adjust the air outlet mode of the air conditioner to the first air outlet mode;
[0113] The second mode submodule is used to adjust the air outlet mode of the air conditioner to the second air outlet mode.
[0114] Preferably, it also includes a number control module, which is used to identify the number of human bodies based on the thermal imaging image;
[0115] If the number of human bodies is 0 and the air conditioner is currently in the on 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 the 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 the on state, the air volume of the air conditioner is adjusted according to the number of human bodies.
[0118] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0119] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A method for controlling air outlet of an air conditioner based on thermal imaging, characterized in that: The steps include: Step S1: Divide the room area where the air conditioner is located into grids; Step S2: obtaining a thermal imaging image through a thermal imaging device on the air conditioner, and identifying a human body from the thermal imaging image; Step S3: adjusting the air outlet direction of the air-conditioning outlet baffle according to the first grid position where the human body is located.
2. The air conditioning air outlet control method based on thermal imaging according to claim 1, characterized in that: The steps of identifying a human body from the thermal imaging image in step S2 are as follows: Step S21: acquiring pixels in the thermal imaging image whose temperature is greater than a temperature threshold as first pixels; Step S22: obtaining the pixel distance between the first pixels, and constructing a plurality of first similarities whose pixel distance is less than a distance threshold into a connected region; Step S23: obtaining the longest direction of the connected area, and obtaining the pixel length of the longest direction; Acquire the distance between the thermal imaging device and the connected area as a first distance, and acquire the length of the object to be identified according to the first distance and the pixel length in the longest direction; Step S24: Determine whether the length of the identified object is greater than a length threshold. If so, determine that the object is a human body.
3. The air conditioning air outlet control method based on thermal imaging according to claim 2, characterized in that: The formula for calculating the length of the identified object in step S23 is as follows: L=x*α D ; where α D is the distance adjustment proportional coefficient, α D The value is selected according to the size of the first distance D, where x is the pixel length of the longest direction of the connected area; in Wherein l is the preset unit length, l is between 1 meter and 1.7 meters, f is the focal length, and S is the pixel spacing of the thermal imaging device.
4. The air conditioning air outlet control method based on thermal imaging according to claim 1, characterized in that: The specific steps of step S3 are as follows: Step S31: dividing the room area where the air conditioner is located into a rest area and an activity area; Step S32: obtaining whether the distance between the first grid position and the thermal imaging device meets the distance threshold, if so, executing step S33, if not, executing 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, execute step S35; Step S34: adjusting the air outlet mode of the air conditioner to the first air outlet mode; Step S35: adjusting the air outlet mode of the air conditioner to the second air outlet mode.
5. The air conditioning air outlet control method based on thermal imaging according to claim 4, characterized in that: The first air outlet mode is: adjusting the grid where the air outlet direction of the air conditioner air outlet baffle is located to not overlap with the position of the second grid; The second air outlet mode is: adjusting the grid where the air outlet direction of the air-conditioning outlet baffle is located to overlap with the position of the first grid.
6. The air conditioning air outlet control method based on thermal imaging according to claim 1, characterized in that: Before executing step S3, the following steps are required: Identify the number of human bodies based on thermal imaging images; If the number of human bodies is 0 and the air conditioner is currently in the on state, the air conditioner is turned off and step S3 is not executed; If the number of human bodies is 1 and the air conditioner is off, the air conditioner is turned on and step S3 is executed; If the number of human bodies is greater than 1 and the air conditioner is in the start-up state, the air volume of the air conditioner is adjusted according to the number of human bodies, and step S3 is executed.
7. An air conditioning air outlet control system based on thermal imaging, characterized in that: The method for controlling air outlet of an air conditioner based on thermal imaging according to any one of claims 1 to 6 comprises: A partitioning module is used to divide the room area where the air conditioner is located into grids; A thermal imaging module, used to obtain a thermal imaging image through a thermal imaging device on the air conditioner, and identify a human body from the thermal imaging image; The adjustment module is used to adjust the air outlet direction of the air conditioning grid according to the first grid position where the human body is located.
8. The air conditioning air outlet control system based on thermal imaging according to claim 7, characterized in that: The thermal imaging module includes a pixel acquisition submodule, a region determination submodule, a length recognition submodule and a human body judgment submodule; The pixel acquisition submodule is used to acquire pixels in the thermal imaging image whose temperature is greater than a temperature threshold as first pixels; The region determination submodule is used to obtain the pixel distance between the first pixels, and construct a plurality of first similarities whose pixel distance is less than a distance threshold into a connected region; The length recognition submodule is used to obtain the longest direction of the connected area and the pixel length of the longest direction; Acquire the distance between the thermal imaging device and the connected area as a first distance, and acquire the length of the object to be identified according to the first distance and the pixel length in the longest direction; The human body judgment submodule is used to judge whether the length of the identified object is greater than the length threshold. If it is greater than the length threshold, it is judged to be a human body.
9. The air conditioning air outlet control system based on thermal imaging according to claim 8, characterized in that: 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 partition 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 obtain whether the distance between the first grid position and the thermal imaging device meets the distance threshold, and if so, call the mode determination submodule, and if not, call the second mode submodule; 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 outlet mode of the air conditioner to the first air outlet mode; The second mode submodule is used to adjust the air outlet mode of the air conditioner to the second air outlet mode.
10. The air conditioning air outlet control system based on thermal imaging according to claim 9, characterized in that: It also includes a number control module, which is used to identify the number of human bodies based on the thermal imaging image; If the number of human bodies is 0 and the air conditioner is currently in the on state, the air conditioner is turned off and the adjustment module is called; If the number of human bodies is greater than 0 and the air conditioner is in the off state, the air conditioner is started and step S3 is executed; If the number of human bodies is greater than 1 and the air conditioner is in the on state, the air volume of the air conditioner is adjusted according to the number of human bodies.
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
Air conditioner and control method thereof
CN114636235A
Air conditioner
JP2014020599A