Air conditioner control method, device, apparatus, and storage medium
By performing pixel grayscale value modeling and block smoothing on scene image sequences of the air conditioning operating area, a target scene background is generated, and target object information is identified to achieve air conditioning control. This solves the problem of inaccurate identification of air conditioners in complex backgrounds and improves the accuracy and intelligence of air conditioning control.
Patent Information
- Application Number
- CN202411623294.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2044-11-13
AI Technical Summary
Existing air conditioners cannot accurately recognize user image information in complex or highly variable backgrounds, resulting in inaccurate control.
By collecting scene image sequences of the air-conditioning operating area, the mode background model of pixel grayscale values is performed to generate an initial reference background. The target scene background is obtained through block smoothing processing, and the target object information is identified using local scene operators for air conditioning control.
It improves the accuracy of recognition in complex scenarios and the accuracy of air conditioning interaction, ensuring the precision and intelligence of air conditioning control.
Smart Images

Figure CN119649211B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioner technology, specifically to an air conditioner control method, apparatus, device, and storage medium. Background Technology
[0002] Currently, with the rapid development of air conditioner technology, the number of air conditioners installed in various indoor spaces is increasing. More and more users are choosing to install air conditioners for temperature control in high-temperature indoor areas such as kitchens. Existing air conditioners can detect users and execute corresponding control operations. However, in scenarios such as kitchens, the background environment is complex and subject to significant changes, which can lead to ineffective recognition of user image information, resulting in inaccurate air conditioner control and an inability to meet current air conditioning control needs. Summary of the Invention
[0003] This application provides an air conditioning control method, apparatus, device, and storage medium, aiming to solve the technical problem in the prior art that the user's image information cannot be accurately identified in complex or highly variable backgrounds, leading to abnormal air conditioning control.
[0004] On one hand, embodiments of this application provide an air conditioning control method, which includes the following steps:
[0005] In response to air conditioning control requests, acquire scene image sequences corresponding to the air conditioning operating area;
[0006] Based on the pixel grayscale values of the scene image sequence, a mode background model is performed on the scene image sequence to obtain the initial reference background of the scene image sequence;
[0007] The target scene background of the scene image sequence is determined based on the initial reference background and the target image blocks obtained by block smoothing in the scene image sequence.
[0008] The target object information is determined based on the target scene background and the scene image sequence, and the air conditioning is controlled based on the target object information to obtain the air conditioning control result.
[0009] In one possible implementation of this application, the step of performing mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background for the scene image sequence includes:
[0010] The first pixel of the first scene image frame, the first gray value of the first pixel, and the first statistical count of the first gray value are determined based on the scene image histogram corresponding to the scene image sequence.
[0011] Obtain the second pixel of the second scene image frame in the scene image sequence, as well as the second gray value of the second pixel and the second statistical quantity corresponding to the second gray value;
[0012] If the second statistical quantity is less than or equal to the first statistical quantity, then the mode model is performed on the scene image sequence based on the first gray value to obtain an initial reference background;
[0013] If the second statistical quantity is greater than the first statistical quantity, then the mode model is performed on the scene image sequence based on the second gray value to obtain the initial reference background.
[0014] In one possible implementation of this application, determining the first pixel of the first scene image frame, the first grayscale value of the first pixel, and the first statistical count of the first grayscale value based on the scene image histogram corresponding to the scene image sequence includes:
[0015] Obtain the scene image histogram corresponding to the scene image sequence;
[0016] The pixel grayscale value of the first pixel in the scene image sequence is determined based on the scene image histogram.
[0017] The statistical frequency of the pixel grayscale value in the histogram of the scene image is obtained to obtain the grayscale statistical quantity of the pixel grayscale value;
[0018] The gray value of the pixel with the largest number of gray-scale statistics is determined as the first gray value of the first pixel, and the number of gray-scale statistics is determined as the first statistical number of the first gray value.
[0019] In one possible implementation of this application, determining the target scene background of the scene image sequence based on the initial reference background and the target image blocks obtained by block smoothing in the scene image sequence includes:
[0020] The initial reference background is segmented to obtain a reference background image block, and the scene image sequence is segmented to obtain a target image block;
[0021] Obtain the average reference grayscale value corresponding to the reference background image block, and the average scene grayscale value of the target image block;
[0022] The scene image sequence is updated based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence;
[0023] Calculate the local scene operator corresponding to the target image patch in the updated scene image sequence, and generate the target scene background of the updated image sequence based on the local scene operator.
[0024] In one possible implementation of this application, updating the scene image sequence based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence includes:
[0025] Calculate the absolute value of the difference between the reference grayscale average value and the scene grayscale average value;
[0026] If the absolute value of the difference is less than a preset difference threshold, the target image block in the scene image sequence is updated using the reference grayscale average value to obtain an updated image sequence.
[0027] If the absolute value of the difference is greater than a preset difference threshold, the target image block in the scene image sequence is updated based on the neighborhood grayscale value of the target image block to obtain an updated image sequence.
[0028] In one possible implementation of this application, the step of calculating the local scene operator corresponding to the target image patch in the updated scene image sequence, and generating the target scene background of the updated image sequence based on the local scene operator, includes:
[0029] Obtain the grayscale value of the center pixel and the grayscale value of the neighboring pixels of the target image block;
[0030] The gray values of the neighboring pixels are thresholded based on the gray value of the center pixel to obtain the initial scene operator;
[0031] The initial scene operator is converted to a different number system to obtain the local scene operator corresponding to the target image block.
[0032] The local scene operator generates a local operator histogram corresponding to the updated scene sequence based on the local operator histogram, and performs mode background modeling on the updated image sequence based on the local operator histogram to obtain the target scene background.
[0033] In one possible implementation of this application, the step of controlling the air conditioner based on the target object information to obtain the air conditioner control result includes:
[0034] Target detection is performed based on the target scene background and the scene image sequence to obtain target object information in the scene image sequence;
[0035] Identify the air conditioning control command corresponding to the target object information, perform air conditioning control based on the air conditioning control command, and obtain the air conditioning control result.
[0036] On the other hand, this application provides an air conditioning control device, the air conditioning control device comprising:
[0037] The image acquisition module is configured to respond to air conditioning control requests and acquire scene image sequences corresponding to the air conditioning operating area;
[0038] The background reference module is configured to perform mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background for the scene image sequence.
[0039] The background update module is configured to determine the target scene background of the scene image sequence based on the initial reference background and the target image blocks obtained by block smoothing in the scene image sequence.
[0040] The air conditioning control module is configured to determine target object information based on the target scene background and the scene image sequence, perform air conditioning control based on the target object information, and obtain air conditioning control results.
[0041] On the other hand, this application also provides an air conditioning control device, the air conditioning control device comprising:
[0042] One or more processors;
[0043] Memory; and
[0044] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the air conditioning control method.
[0045] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps in the air conditioning control method.
[0046] This application involves acquiring a scene image sequence corresponding to the air conditioner's operating area in response to an air conditioner control request; performing mode background modeling on the scene image sequence based on the pixel grayscale values to obtain an initial reference background; obtaining a local scene operator for the target image block based on the initial reference background and block smoothing in the scene image sequence; determining the target scene background of the scene image sequence based on the local scene operator; determining target object information based on the target scene background and the scene image sequence; and performing air conditioner control based on the target object information to obtain the air conditioner control result. This achieves improved recognition accuracy in complex scenes by acquiring the scene image sequence from the air conditioner, performing background modeling on the scene image sequence to obtain an initial reference background, performing block smoothing on the scene image sequence based on the initial reference background, obtaining the local scene operator after block smoothing, and updating the target scene background of the scene line graphic sequence based on the local scene operator. This improves the accuracy of air conditioner interaction, thereby enhancing the recognition accuracy of subsequent target objects. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram of a scenario for the air conditioning control method according to an embodiment of this application;
[0049] Figure 2 This is a flowchart illustrating one embodiment of the air conditioning control method in this application.
[0050] Figure 3 A flowchart illustrating an embodiment of the air conditioning control method provided in this application, which updates the scene image sequence based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence;
[0051] Figure 4 A flowchart illustrating an embodiment of the air conditioning control method provided in this application for determining the target scene background of a scene image sequence using a local scene operator;
[0052] Figure 5 A schematic diagram of the structure of one embodiment of the air conditioning control device provided in this application;
[0053] Figure 6This is a schematic diagram of the structure of one embodiment of the air conditioning control device provided in this application. Detailed Implementation
[0054] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0055] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. 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, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0056] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0057] Currently, with the rapid development of air conditioner technology, the number of air conditioners installed in various indoor spaces is increasing. More and more users are choosing to install air conditioners for temperature control in high-temperature indoor areas such as kitchens. Existing air conditioners can detect users and execute corresponding control operations. However, in scenarios such as kitchens, the background environment is complex and subject to significant changes, which can lead to ineffective recognition of user image information, resulting in inaccurate air conditioner control and an inability to meet current air conditioning control needs.
[0058] Based on this, this application proposes an air conditioning control method, apparatus, device, and computer-readable storage medium to solve the technical problem in the prior art that the user's image information cannot be accurately identified in complex or highly variable backgrounds, leading to abnormal air conditioning control.
[0059] The air conditioning control method in this embodiment of the invention is applied to an air conditioning control device, which is set in an air conditioning control equipment. The air conditioning control equipment is provided with one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the air conditioning control method. The air conditioning control equipment can be a smart terminal, such as a mobile phone, tablet computer, network device, and smart computer. Optionally, the air conditioning control equipment can also be a server or a service cluster composed of multiple servers.
[0060] like Figure 1 As shown, Figure 1 This is a schematic diagram of a scenario illustrating the air conditioning control method according to an embodiment of this application. The air conditioning control scenario in this embodiment includes an air conditioning control device 100 (which integrates an air conditioning control unit) and an air conditioner 200. The air conditioning control device 100 has a computer-readable storage medium running on it, corresponding to the air conditioning control method, to execute the steps of the air conditioning control method. The air conditioner 200 is an intelligent air conditioner that communicates with the air conditioning control device 100 and is capable of responding to the control interaction of the air conditioning control device. Optionally, in a specific embodiment, the air conditioning control device may also be an air conditioning main control module inside the air conditioner.
[0061] Understandable, Figure 1 The air conditioning control device in the air conditioning control method scenario shown, or the device included in the air conditioning control device, does not constitute a limitation on the embodiments of the present invention. That is, the number or type of air conditioning control device included in the air conditioning control method scenario, or the number or type of device included in each device, does not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0062] In this embodiment of the invention, the air conditioning control device 100 is mainly used for: responding to an air conditioning control request and acquiring a scene image sequence corresponding to the air conditioning operating area; performing mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background for the scene image sequence; obtaining a local scene operator for a target image block based on the initial reference background and block smoothing processing in the scene image sequence, and determining the target scene background of the scene image sequence based on the local scene operator; determining target object information based on the target scene background and the scene image sequence, and performing air conditioning control based on the target object information to obtain an air conditioning control result.
[0063] In this embodiment of the invention, the air conditioning control device 100 can be an independent air conditioning control device, such as a smart terminal such as a mobile phone, tablet computer, network device, server, and smart computer that is connected to the air conditioner. Optionally, in other embodiments, the air conditioning control device can also be the air conditioning main control module inside the air conditioner.
[0064] This application provides an air conditioning control method, apparatus, device, and computer-readable storage medium, which will be described in detail below.
[0065] It will be understood by those skilled in the art that Figure 1 The application environment shown is only one application scenario related to the solution of this application and does not constitute a limitation on the application scenario of this application. Other application environments may include more than one application scenario. Figure 1 The number of more or fewer air conditioning control devices shown, or the air conditioning control network connections, for example Figure 1 Only one air conditioning control device is shown in the figure. It is understood that the scenario of the air conditioning control method may also include one or more air conditioning control devices, which are not limited here. The air conditioning control device 100 may also include a memory for storing image data and other data.
[0066] It should be noted that, Figure 1 The schematic diagram of the air conditioning control method shown is merely an example. The scenarios of the air conditioning control method described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention and do not constitute a limitation on the technical solutions provided in the embodiments of the present invention.
[0067] Based on the scenarios described above for air conditioning control methods, various embodiments of the air conditioning control method disclosed in this invention are proposed.
[0068] like Figure 2 As shown, Figure 2 This is a flowchart illustrating one embodiment of the air conditioning control method in this application. The air conditioning control method includes the following steps 201 to 204:
[0069] 201. Respond to the air conditioning control request and collect the scene image sequence corresponding to the air conditioning operating area;
[0070] The air conditioning control method in this embodiment is applied to an air conditioning control device. The type and number of air conditioning control devices are not specifically limited; that is, the air conditioning control device can be one or more intelligent terminals such as mobile phones, tablets, network devices, servers, and smart computers that are communicatively connected to the air conditioner. Optionally, in other embodiments, the air conditioning control device can also be the air conditioning main control module inside the air conditioner. The air conditioner can be a portable air conditioner, window air conditioner, wall-mounted air conditioner, or floor-standing air conditioner, etc., and can be any type of intelligent air conditioner with image acquisition capabilities.
[0071] Specifically, during operation, the air conditioner and air conditioning control equipment can respond to air conditioning control requests. These requests are control events that drive the air conditioner to collect scene image sequences within the air conditioning operating area, model the scene image sequences, identify target object information, and execute personalized air conditioning control. The triggering method for these air conditioning control requests is not specifically limited here; that is, the request can be triggered actively by the user, such as by clicking the air conditioning control button on the air conditioner's control panel or a remote control connected to the air conditioner. Optionally, in other embodiments, the air conditioning control request can also be triggered actively by the air conditioner itself. For example, the air conditioner may have an object control process that triggers the air conditioning control request when a target user object is detected in the air conditioning operating area.
[0072] Specifically, when the air conditioner receives an air conditioning control request, it also acquires a sequence of scene images within the air conditioning operating area associated with the air conditioner. This air conditioning operating area represents the working area where the air conditioner regulates air and temperature. In one specific embodiment, the air conditioning operating area can be a kitchen area with a complex background. The scene image sequence is obtained by the air conditioner using a preset image acquisition module to capture images of the air conditioning operating area, and may contain image information of target objects associated with the user. This preset image acquisition module can be an optical imaging module such as an infrared acquisition module or a depth camera module. For example, in one specific embodiment, the air conditioner can acquire the scene image sequence within the air conditioning operating area using an infrared image module installed on the air conditioner or installed in a distance from the air conditioner and located within the air conditioning operating area. Optionally, in other embodiments, the image acquisition module can also be installed in other smart home appliances within the air conditioning operating area, and the air conditioner obtains the scene image sequence of the air conditioning operating area through a communication connection with these smart home appliances. The target object information refers to specific action information (e.g., gesture information or body-sensing action information) associated with the user or other target objects that enable intelligent control of the air conditioner. For example, the target object information could be a specified interactive action that the user object is performing, containing specific interactive information.
[0073] 202. Perform mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain the initial reference background of the scene image sequence;
[0074] Specifically, since the air conditioning operating area corresponding to the air conditioner may be an indoor operating area with a complex and changeable environment, and the scene image sequence is easily affected by factors such as changes in lighting, actor actions, and occlusion, it will have a significant impact on the target detection of the scene image sequence in subsequent steps. Therefore, before the air conditioning control device obtains the air conditioner to determine the target object information, it also performs mode background modeling on the scene image sequence to obtain the initial reference background of the scene image sequence.
[0075] Specifically, after acquiring the pixel grayscale value, the air conditioning control device counts the number of times that pixel grayscale value appears in the histogram of the scene image. The pixel grayscale value with the highest count is set as the reference grayscale value for the scene image sequence. An initial reference background for the scene image sequence is then constructed based on each reference grayscale value. The formula for generating this reference grayscale value is as follows:
[0076] B (x,y),f (n)=Max[F (x,y),f (n)]
[0077] Among them, B (x,y),f(n) is the reference gray value, F (x,y),f (n) represents the number of grayscale values of the pixels.
[0078] Optionally, in order to reduce the modeling complexity of the mode background modeling based on pixel grayscale values, the air conditioning control device also performs mode modeling based on the first grayscale value and the second grayscale value in the pixel grayscale value to obtain the initial reference background, thereby reducing the modeling complexity and computational load of the initial reference background.
[0079] Specifically, after acquiring the scene image sequence, the air conditioning control device also collects the pixel grayscale values of each scene image frame in the scene image sequence, and counts the pixel grayscale values of each scene image frame to generate a scene image histogram corresponding to the scene image sequence. The pixel grayscale values include a first grayscale value and a second grayscale value.
[0080] Specifically, after acquiring the scene image histogram corresponding to the scene image sequence, the air conditioning control device further determines the first pixel of the first scene image frame, as well as the first grayscale value and the first statistical count of the first grayscale value, based on the scene image histogram corresponding to the scene image sequence. Here, the first scene image frame refers to any image frame other than the current image frame in the scene image sequence. The first pixel is any pixel within the first scene image frame. The first grayscale value is the grayscale value of the pixel with the largest grayscale statistical count corresponding to the first pixel in the image sequence. The first statistical count is the number of times the first grayscale value appears in the scene image sequence.
[0081] Specifically, the air conditioning control device acquires the scene image histogram corresponding to the scene image sequence, determines the pixel grayscale value of the first pixel in each scene image frame based on the scene image histogram, acquires the statistical frequency of the pixel grayscale value in the scene image histogram, determines the grayscale statistical quantity of the pixel grayscale value, and determines the pixel grayscale value with the largest grayscale statistical quantity as the first grayscale value of the first pixel, and determines the statistical quantity of the grayscale value as the first statistical quantity of the first grayscale value.
[0082] Specifically, the air conditioning control device also acquires the second pixel of the second scene image frame in the scene image sequence, the second grayscale value of the second pixel, and the second statistical count corresponding to the second grayscale value. The second scene image frame is the next scene image frame in the scene image sequence corresponding to the first scene image frame. The second pixel is the image pixel in the second scene image frame that corresponds to the first pixel. The second grayscale value is the pixel grayscale value with the highest statistical count for the second pixel in the scene image. The second statistical count is the number of times the second grayscale value appears in the scene image sequence.
[0083] Specifically, after acquiring the first grayscale value and the first statistical count of the first grayscale value, the air conditioning control device also acquires the second grayscale value and the second statistical count of the second grayscale value. A reference grayscale value is determined by comparing the first statistical count and the second statistical count, and an initial reference background for the scene image sequence is constructed based on each reference grayscale value.
[0084] Optionally, if the second statistical quantity is less than or equal to the first statistical quantity, the air conditioning control device determines the reference gray value corresponding to the first pixel and the second pixel based on the first gray value corresponding to the first statistical quantity, and performs mode modeling on the scene image sequence based on the reference gray value to obtain the initial reference background.
[0085] Optionally, if the second statistical quantity is greater than the first statistical quantity, the air conditioning control device determines the second gray value corresponding to the second statistical quantity as the reference gray value corresponding to the first pixel and the second pixel, and performs mode modeling on the scene image sequence based on the reference gray value to obtain the initial reference background.
[0086] 203. Based on the initial reference background and the block smoothing process in the scene image sequence, a local scene operator for the target image block is obtained, and the target scene background of the scene image sequence is determined based on the local scene operator;
[0087] Specifically, after acquiring the initial reference background corresponding to the scene image sequence, the air conditioning control equipment further performs block smoothing on the scene image sequence based on the initial reference background, thereby obtaining a stable local scene operator for the target image block. Then, it performs secondary modeling based on this local scene operator to determine the target scene background of the scene image sequence. This eliminates most of the interference from dynamic background changes and illumination condition variations on the scene background, thereby improving the accuracy of subsequent background recognition.
[0088] Specifically, after acquiring the initial reference background, the air conditioning control device segments the initial reference background into blocks to obtain reference background image blocks. It then segments the scene image sequence into blocks according to the same segmentation rules to obtain target image blocks. That is, in one specific embodiment, the air conditioning control device divides the initial reference background into 9*9 rectangular image blocks, and then divides these rectangular image blocks into 3*3 region image blocks to obtain the reference background image blocks. Similarly, the air conditioning control device divides each scene image frame in the scene image sequence into 9*9 target image blocks, and then divides these target image blocks into 3*3 scene sub-image blocks to obtain the target image blocks.
[0089] Specifically, after acquiring the reference background image block and the corresponding target image block, the air conditioning control device further acquires the reference grayscale average value of the reference background image block and the scene grayscale average value of the target image block. Based on these reference grayscale average values and scene grayscale average values, the scene image sequence is updated to obtain an updated image sequence. That is, the air conditioning control device compares the reference grayscale average value and the scene grayscale average value, and then smooths the target image blocks of the scene image sequence based on the comparison result, thereby obtaining smoothed target image blocks. Finally, an updated image sequence is generated based on these smoothed target image blocks.
[0090] Specifically, after acquiring the updated image sequence, the air conditioning control device also calculates the local scene operator corresponding to the smoothed target image patch in the updated scene image sequence, and generates the target scene background of the updated image sequence based on the local scene operator. That is, the air conditioning control device performs mode modeling again based on the local scene operator corresponding to each target image patch to obtain the target scene background of the updated image sequence. The local scene operator is the LBP (Local Binary Patterns) operator.
[0091] 204. Determine the target object information based on the target scene background and the scene image sequence, and perform air conditioning control based on the target object information to obtain the air conditioning control result.
[0092] Specifically, the air conditioning control equipment performs multiple background modeling operations using the grayscale statistics of the scene image sequence and local scene operators to obtain the target scene background. Then, it determines the target object information based on the target scene background and the scene image sequence, and performs air conditioning control based on the target object information to obtain the air conditioning control result.
[0093] Specifically, after acquiring the target scene background, the air conditioning control device performs target detection on the air conditioning operating area based on the scene image sequence and the target scene background. This determines the target object corresponding to the scene image sequence within the air conditioning operating area, as well as the target object's information. The target object can be a designated user within the air conditioning operating area. The target object information includes gesture or motion-sensing interaction information associated with a specific air conditioning control command.
[0094] Specifically, after acquiring the target object information, the air conditioning control device parses the target object information, identifies the air conditioning control command associated with the target object information, and controls the air conditioner through the air conditioning control command, driving the air conditioner to operate according to the operating parameters corresponding to the air conditioning control command, thereby obtaining the air conditioning operation result, thereby improving the accuracy of intelligent control of the air conditioner and avoiding misoperation of the air conditioner due to incorrect identification of the target object information.
[0095] In this embodiment, the air conditioning control device, in response to an air conditioning control request, acquires a sequence of scene images corresponding to the air conditioning operating area; performs mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background; obtains a local scene operator for the target image block based on the initial reference background and the block smoothing process in the scene image sequence; determines the target scene background of the scene image sequence based on the local scene operator; determines target object information based on the target scene background and the scene image sequence; and performs air conditioning control based on the target object information to obtain the air conditioning control result. This achieves the following: after acquiring the scene image sequence collected by the air conditioner, background modeling is performed on the scene image sequence to obtain an initial reference background; block smoothing processing is performed on the scene image sequence based on the initial reference background, and the local scene operator after block smoothing is obtained; the target scene background of the scene line graphic sequence is updated based on the local scene operator, thereby improving the recognition accuracy in complex scenes, and further improving the recognition accuracy of subsequent target objects, thus improving the accuracy of air conditioning interaction.
[0096] like Figure 3 As shown, Figure 3 A flowchart illustrating an embodiment of the air conditioning control method provided in this application, which updates the scene image sequence based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence, is shown below. Specifically, in this embodiment, the air conditioning control method further includes steps 301 to 302:
[0097] 301. Calculate the absolute value of the difference between the reference grayscale average value and the scene grayscale average value;
[0098] 302. If the absolute value of the difference is less than a preset difference threshold, the target image block in the scene image sequence is updated using the reference grayscale average value to obtain an updated image sequence.
[0099] Based on the above embodiments, in this embodiment, after obtaining the reference background image block and the corresponding target image block, the air conditioning control device further obtains the reference grayscale average value of the reference background image block and the scene grayscale average value of the target image block, and updates the scene image sequence according to the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence.
[0100] Specifically, after acquiring the background image block and the target image block, the air conditioning control device also acquires the background grayscale corresponding to each image pixel in the background image block and calculates the average value of each background grayscale in the background image block to obtain the reference average grayscale value of the background image block. In addition, the air conditioning control device also acquires the pixel grayscale corresponding to each image pixel in the target image block and calculates the average value of each pixel grayscale in the target image block to obtain the scene average grayscale value of the target image block.
[0101] Specifically, after obtaining the average grayscale value of the parameters and the average grayscale value of the scene, the air conditioning control device also calculates the absolute value of the difference between the reference average grayscale value and the average grayscale value of the scene, and compares the absolute value of the difference with a preset difference threshold. Based on the comparison result, the target image block in the scene image sequence is updated to obtain a smoothed target image block. The scene image sequence is then updated based on each smoothed target image block to obtain an updated image sequence.
[0102] Optionally, if the absolute value of the difference is less than a preset difference threshold, the air conditioning control device uses the reference grayscale average value to update the target image block in the scene image sequence. That is, the air conditioning control device sets the reference grayscale average value to the updated scene grayscale average value of the target image block to obtain a smoothed target image block, and updates the scene image sequence according to the smoothed target image block to obtain an updated image sequence.
[0103] Optionally, if the absolute value of the difference is greater than a preset difference threshold, the air conditioning control device obtains the neighborhood gray value of the target image block, updates the target image block using the neighborhood gray value to obtain a smoothed target image block, and updates the scene image sequence based on the smoothed target image block to obtain an updated image sequence.
[0104] Specifically, after acquiring the updated image sequence, the air conditioning control device also calculates the local scene operator corresponding to the smoothed target image patch in the updated scene image sequence, and generates the target scene background of the updated image sequence based on the local scene operator. That is, the air conditioning control device performs mode modeling again based on the local scene operator corresponding to each target image patch to obtain the target scene background of the updated image sequence.
[0105] In this embodiment, the air conditioning control device calculates the absolute value of the difference between the reference grayscale average value and the scene grayscale average value. If the absolute value of the difference is less than a preset difference threshold, the target image block in the scene image sequence is updated using the reference grayscale average value to obtain an updated image sequence. If the absolute value of the difference is greater than the preset difference threshold, the target image block in the scene image sequence is updated based on the neighborhood grayscale values of the target image block to obtain an updated image sequence. This achieves smoothing of the target image block using neighborhood feature information such as the reference grayscale average value and the scene grayscale average value before calculating the local scene operator to determine the target scene background, thereby improving the noise resistance performance during subsequent modeling.
[0106] like Figure 4 As shown, Figure 4 This is a flowchart illustrating an embodiment of the air conditioning control method provided in this application, which uses a local scene operator to determine the target scene background of a scene image sequence. Specifically, in this embodiment, the air conditioning control method further includes steps 401 to 404:
[0107] 401. Obtain the grayscale value of the center pixel and the grayscale value of the neighboring pixels of the target image block;
[0108] 402. Threshold the gray values of the neighboring pixels based on the gray value of the center pixel to obtain the initial scene operator;
[0109] 403. Perform a base conversion on the initial scene operator to obtain the local scene operator corresponding to the target image block;
[0110] 404. Generate a local operator histogram corresponding to the updated scene sequence based on the local scene operator, and perform mode background modeling on the updated image sequence based on the local operator histogram to obtain the target scene background.
[0111] Based on the above embodiments, in this embodiment, after acquiring the updated image sequence, the air conditioning control device further calculates the local scene operator corresponding to the smoothed target image block in the updated scene image sequence, and generates the target scene background of the updated image sequence based on the local scene operator. That is, the air conditioning control device performs mode modeling again based on the local scene operator corresponding to each target image block to obtain the target scene background of the updated image sequence.
[0112] Specifically, the air conditioning control device acquires the center grayscale value and neighboring grayscale values of the target image block in the updated image sequence. The center grayscale value is the pixel grayscale value corresponding to the center pixel of the target image block. The neighboring grayscale values are the pixel grayscale values corresponding to the remaining pixels adjacent to the center pixel in the target image block. For example, in a specific embodiment, the target image block is a 3x3 pixel grid image block. A pixel diagram of the target image block is shown below:
[0113]
[0114] In this diagram, pixels 1 through 9 each correspond to a pixel in the target image block. Pixel 5 is the center pixel of the target image block, and the remaining pixels in the target image block are all neighboring pixels of pixel 5. The air conditioning control device determines the grayscale value of the pixel corresponding to pixel 5 as the grayscale value of the center pixel of the target image block, and the grayscale values of the pixels corresponding to the remaining pixels are determined as the grayscale values of the neighboring pixels of the target image block.
[0115] Specifically, after acquiring the grayscale values of the center pixel and neighboring pixels, the air conditioning control device performs thresholding processing on these values to obtain an initial scene operator. That is, the air conditioning control device performs local binary mode processing on the grayscale values of the center pixel and neighboring pixels to obtain the initial scene operator. The calculation formula for this initial scene operator is shown below:
[0116]
[0117] Among them, h C h represents the grayscale value of the center pixel. N This represents the grayscale value of the neighboring pixels.
[0118] That is, after acquiring the grayscale values of the center pixel and neighboring pixels, the air conditioning control device performs differential processing based on these two values. If the grayscale value of a neighboring pixel is greater than that of the center pixel, it is recorded as 1; if it is less than that of the center pixel, it is recorded as 0, thus generating a binary initial scene operator. In one specific embodiment, the target image block is a 3*3 pixel scene image block, and the corresponding initial scene operator is an eight-bit binary parameter.
[0119] Specifically, after obtaining the initial scene operator, the air conditioning control device also performs a base conversion on the initial scene operator, converting it into a decimal number to obtain the local scene operator corresponding to the target image block.
[0120] Specifically, after acquiring the local scene operator corresponding to each target image block, the air conditioning control device generates a local operator histogram corresponding to that local scene operator. Based on this local operator histogram, it performs mode background modeling on the updated image sequence to obtain the target scene background. That is, based on the local operator histogram, the air conditioning control device reads the local scene operator corresponding to any target pixel in the updated image sequence across different scene image frames. It then determines the most frequently occurring scene local operator as the background scene operator corresponding to that target pixel, and summarizes the background scene operators for each target pixel to obtain the target scene background of the updated image sequence.
[0121] In this embodiment, the air conditioning control device acquires the grayscale value of the center pixel and the grayscale value of neighboring pixels of the target image block; thresholds the grayscale values of the neighboring pixels based on the grayscale value of the center pixel to obtain an initial scene operator; performs a base conversion on the initial scene operator to obtain a local scene operator corresponding to the target image block; generates a local operator histogram corresponding to the updated scene sequence based on the local scene operator; and performs mode background modeling on the updated image sequence based on the local operator histogram to obtain the target scene background. This achieves background modeling without relying on prior information and can eliminate most of the interference from dynamic background changes and lighting conditions on image recognition, improving the accuracy of target object recognition in subsequent complex environments.
[0122] To better implement the air conditioning control method in the embodiments of this application, an air conditioning control device is also provided in the embodiments of this application, such as... Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of the air conditioning control device provided in the embodiments of this application. Specifically, the air conditioning control device 500 includes:
[0123] The image acquisition module 501 is configured to acquire scene image sequences corresponding to the air conditioning operating area in response to air conditioning control requests.
[0124] Background reference module 502 is configured to perform mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background for the scene image sequence.
[0125] Background update module 503 is configured to determine the target scene background of the scene image sequence based on the initial reference background and the target image block obtained by block smoothing in the scene image sequence;
[0126] The air conditioning control module 504 is configured to determine target object information based on the target scene background and the scene image sequence, perform air conditioning control based on the target object information, and obtain air conditioning control results.
[0127] In one possible implementation of this embodiment, the air conditioning control device performs mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background for the scene image sequence, including:
[0128] The first pixel of the first scene image frame, the first gray value of the first pixel, and the first statistical count of the first gray value are determined based on the scene image histogram corresponding to the scene image sequence.
[0129] Obtain the second pixel of the second scene image frame in the scene image sequence, as well as the second gray value of the second pixel and the second statistical quantity corresponding to the second gray value;
[0130] If the second statistical quantity is less than or equal to the first statistical quantity, then the mode model is performed on the scene image sequence based on the first gray value to obtain an initial reference background;
[0131] If the second statistical quantity is greater than the first statistical quantity, then the mode model is performed on the scene image sequence based on the second gray value to obtain the initial reference background.
[0132] In one possible implementation of this embodiment, the air conditioning control device determines the first pixel of the first scene image frame, the first grayscale value of the first pixel, and the first statistical quantity of the first grayscale value based on the scene image histogram corresponding to the scene image sequence, including:
[0133] Obtain the scene image histogram corresponding to the scene image sequence;
[0134] The pixel grayscale value of the first pixel in the scene image sequence is determined based on the scene image histogram.
[0135] The statistical frequency of the pixel grayscale value in the histogram of the scene image is obtained to obtain the grayscale statistical quantity of the pixel grayscale value;
[0136] The gray value of the pixel with the largest number of gray-scale statistics is determined as the first gray value of the first pixel, and the number of gray-scale statistics is determined as the first statistical number of the first gray value.
[0137] In one possible implementation of this embodiment, the air conditioning control device obtains a local scene operator for the target image block based on the initial reference background and the block smoothing process in the scene image sequence, and determines the target scene background of the scene image sequence based on the local scene operator, including:
[0138] The initial reference background is segmented to obtain a reference background image block, and the scene image sequence is segmented to obtain a target image block;
[0139] Obtain the average reference grayscale value corresponding to the reference background image block, and the average scene grayscale value of the target image block;
[0140] The scene image sequence is updated based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence;
[0141] Calculate the local scene operator corresponding to the target image patch in the updated scene image sequence, and generate the target scene background of the updated image sequence based on the local scene operator.
[0142] In one possible implementation of this embodiment, the air conditioning control device updates the scene image sequence based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence, including:
[0143] Calculate the absolute value of the difference between the reference grayscale average value and the scene grayscale average value;
[0144] If the absolute value of the difference is less than a preset difference threshold, the target image block in the scene image sequence is updated using the reference grayscale average value to obtain an updated image sequence; if the absolute value of the difference is greater than the preset difference threshold, the target image block in the scene image sequence is updated based on the neighborhood grayscale value of the target image block to obtain an updated image sequence.
[0145] In one possible implementation of this embodiment, the air conditioning control device obtains a local scene operator for the target image block based on the initial reference background and the block smoothing process in the scene image sequence, and determines the target scene background of the scene image sequence based on the local scene operator, including:
[0146] Obtain the grayscale value of the center pixel and the grayscale value of the neighboring pixels of the target image block;
[0147] The gray values of the neighboring pixels are thresholded based on the gray value of the center pixel to obtain the initial scene operator;
[0148] The initial scene operator is converted to a different number system to obtain the local scene operator corresponding to the target image block.
[0149] The local scene operator generates a local operator histogram corresponding to the updated scene sequence based on the local operator histogram, and performs mode background modeling on the updated image sequence based on the local operator histogram to obtain the target scene background.
[0150] In one possible implementation of this embodiment, the air conditioning control device performs air conditioning control based on the target object information to obtain an air conditioning control result, including:
[0151] Target detection is performed based on the target scene background and the scene image sequence to obtain target object information in the scene image sequence;
[0152] Identify the air conditioning control command corresponding to the target object information, perform air conditioning control based on the air conditioning control command, and obtain the air conditioning control result.
[0153] In this embodiment, the air conditioning control device, in response to an air conditioning control request, acquires a sequence of scene images corresponding to the air conditioning operating area; performs mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background; obtains a local scene operator for the target image block based on the initial reference background and the block smoothing process in the scene image sequence; determines the target scene background of the scene image sequence based on the local scene operator; determines target object information based on the target scene background and the scene image sequence; and performs air conditioning control based on the target object information to obtain the air conditioning control result. This achieves the following: after acquiring the scene image sequence collected by the air conditioner, background modeling is performed on the scene image sequence to obtain an initial reference background; block smoothing processing is performed on the scene image sequence based on the initial reference background, and the local scene operator after block smoothing is obtained; the target scene background of the scene line graphic sequence is updated based on the local scene operator, thereby improving the recognition accuracy in complex scenes, and further improving the recognition accuracy of subsequent target objects, thus improving the accuracy of air conditioning interaction.
[0154] This invention also provides an air conditioning control device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of one embodiment of the air conditioning control device provided in this application.
[0155] The air conditioning control device integrates any one of the air conditioning control devices provided in the embodiments of the present invention, and the air conditioning control device includes:
[0156] One or more processors;
[0157] Memory; and
[0158] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor in the steps of the air conditioning control method described in any of the embodiments of the above-described air conditioning control method.
[0159] Specifically, the air conditioning control device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The air conditioning control device structure shown does not constitute a limitation on the air conditioning control device. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0160] The processor 601 is the control center of the air conditioning control device. It connects various parts of the air conditioning control device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data of the air conditioning control device, thereby providing overall monitoring of the air conditioning control device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0161] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the air conditioning control device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0162] The air conditioning control equipment also includes a power supply 603 that supplies power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0163] The air conditioning control device may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0164] Although not shown, the air conditioning control device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the air conditioning control device loads the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602 to realize various functions, as follows:
[0165] In response to air conditioning control requests, acquire scene image sequences corresponding to the air conditioning operating area;
[0166] Based on the pixel grayscale values of the scene image sequence, a mode background model is performed on the scene image sequence to obtain the initial reference background of the scene image sequence;
[0167] The local scene operator of the target image block is obtained based on the initial reference background and the block smoothing process in the scene image sequence, and the target scene background of the scene image sequence is determined based on the local scene operator;
[0168] The target object information is determined based on the target scene background and the scene image sequence, and the air conditioning is controlled based on the target object information to obtain the air conditioning control result.
[0169] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the air conditioning control methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps:
[0170] In response to air conditioning control requests, acquire scene image sequences corresponding to the air conditioning operating area;
[0171] Based on the pixel grayscale values of the scene image sequence, a mode background model is performed on the scene image sequence to obtain the initial reference background of the scene image sequence;
[0172] The local scene operator of the target image block is obtained based on the initial reference background and the block smoothing process in the scene image sequence, and the target scene background of the scene image sequence is determined based on the local scene operator;
[0173] The target object information is determined based on the target scene background and the scene image sequence, and the air conditioning is controlled based on the target object information to obtain the air conditioning control result.
[0174] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0175] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0176] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0177] The above provides a detailed description of an air conditioning control method provided by the embodiments of this application. Specific embodiments have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. An air conditioning control method, characterized in that, The air conditioning control method includes: In response to air conditioning control requests, acquire scene image sequences corresponding to the air conditioning operating area; Based on the pixel grayscale values of the scene image sequence, a mode background model is performed on the scene image sequence to obtain the initial reference background of the scene image sequence; The local scene operator of the target image block is obtained based on the initial reference background and the block smoothing process in the scene image sequence, and the target scene background of the scene image sequence is determined based on the local scene operator; Based on the target scene background and the scene image sequence, target object information is determined, and air conditioning is controlled based on the target object information to obtain air conditioning control results. The step of obtaining a local scene operator for a target image block based on the initial reference background and the block smoothing process in the scene image sequence, and determining the target scene background of the scene image sequence based on the local scene operator, includes: The initial reference background is segmented to obtain a reference background image block. The scene image sequence is segmented to obtain a target image block. The reference grayscale average value corresponding to the reference background image block and the scene grayscale average value of the target image block are obtained. The scene image sequence is updated based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence. The local scene operator corresponding to the target image block in the updated scene image sequence is calculated. The target scene background of the updated image sequence is generated based on the local scene operator.
2. The air conditioning control method according to claim 1, characterized in that, The pixel grayscale value includes a first grayscale value and a second grayscale value; The step of performing mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain the initial reference background of the scene image sequence includes: The first pixel of the first scene image frame, the first gray value of the first pixel, and the first statistical count of the first gray value are determined based on the scene image histogram corresponding to the scene image sequence. Obtain the second pixel of the second scene image frame in the scene image sequence, as well as the second gray value of the second pixel and the second statistical quantity corresponding to the second gray value; If the second statistical quantity is less than or equal to the first statistical quantity, then the mode model is performed on the scene image sequence based on the first gray value to obtain an initial reference background; If the second statistical quantity is greater than the first statistical quantity, then the mode model is performed on the scene image sequence based on the second gray value to obtain the initial reference background.
3. The air conditioning control method according to claim 2, characterized in that, The step of determining the first pixel of the first scene image frame based on the scene image histogram corresponding to the scene image sequence, as well as the first grayscale value of the first pixel and the first statistical count of the first grayscale value, includes: Obtain the scene image histogram corresponding to the scene image sequence; The pixel grayscale value of the first pixel in the scene image sequence is determined based on the scene image histogram. The statistical frequency of the pixel grayscale value in the histogram of the scene image is obtained to obtain the grayscale statistical quantity of the pixel grayscale value; The gray value of the pixel with the largest number of gray-scale statistics is determined as the first gray value of the first pixel, and the number of gray-scale statistics is determined as the first statistical number of the first gray value.
4. The air conditioning control method according to claim 1, characterized in that, The step of updating the scene image sequence based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence includes: Calculate the absolute value of the difference between the reference grayscale average value and the scene grayscale average value; If the absolute value of the difference is less than a preset difference threshold, the target image block in the scene image sequence is updated using the reference grayscale average value to obtain an updated image sequence. If the absolute value of the difference is greater than a preset difference threshold, the target image block in the scene image sequence is updated based on the neighborhood grayscale value of the target image block to obtain an updated image sequence.
5. The air conditioning control method according to claim 1, characterized in that, The step of obtaining a local scene operator for a target image block based on the initial reference background and the block smoothing process in the scene image sequence, and determining the target scene background of the scene image sequence based on the local scene operator, includes: Obtain the grayscale value of the center pixel and the grayscale value of the neighboring pixels of the target image block; The gray values of the neighboring pixels are thresholded based on the gray value of the center pixel to obtain the initial scene operator; The initial scene operator is converted to a different number system to obtain the local scene operator corresponding to the target image block. The local scene operator generates a local operator histogram corresponding to the updated scene sequence based on the local operator histogram, and performs mode background modeling on the updated image sequence based on the local operator histogram to obtain the target scene background.
6. The air conditioning control method according to any one of claims 1-5, characterized in that, The step of controlling the air conditioner based on the target object information to obtain the air conditioner control result includes: Target detection is performed based on the target scene background and the scene image sequence to obtain target object information in the scene image sequence; Identify the air conditioning control command corresponding to the target object information, perform air conditioning control based on the air conditioning control command, and obtain the air conditioning control result.
7. An air conditioning control device, characterized in that, The air conditioning control device includes: The image acquisition module is configured to respond to air conditioning control requests and acquire scene image sequences corresponding to the air conditioning operating area; The background reference module is configured to perform mode background modeling on the scene image sequence based on the pixel grayscale values of the scene image sequence to obtain an initial reference background for the scene image sequence. The background update module is configured to obtain a local scene operator for the target image block based on the initial reference background and the block smoothing process in the scene image sequence, and to determine the target scene background of the scene image sequence based on the local scene operator; The air conditioning control module is configured to determine target object information based on the target scene background and the scene image sequence, perform air conditioning control based on the target object information, and obtain air conditioning control results. The step of obtaining a local scene operator for a target image block based on the initial reference background and the block smoothing process in the scene image sequence, and determining the target scene background of the scene image sequence based on the local scene operator, includes: The initial reference background is segmented to obtain a reference background image block. The scene image sequence is segmented to obtain a target image block. The reference grayscale average value corresponding to the reference background image block and the scene grayscale average value of the target image block are obtained. The scene image sequence is updated based on the reference grayscale average value and the scene grayscale average value to obtain an updated image sequence. The local scene operator corresponding to the target image block in the updated scene image sequence is calculated. The target scene background of the updated image sequence is generated based on the local scene operator.
8. An air conditioning control device, characterized in that, The air conditioning control equipment includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the air conditioning control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the air conditioning control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Gesture verification method and device for controlling air conditioners
CN106569600A
Background difference and iteration searching-based status recognition method of high-voltage isolation switch
CN108334824A