Target detection method and device, electronic equipment and storage medium
By switching to static detection when no target object is detected in dynamic detection and combining it with motion trajectory, the accuracy problem of target object detection is solved, and the detection accuracy and function optimization of air conditioning equipment are improved.
Patent Information
- Application Number
- CN202510846354.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2025-10-17
AI Technical Summary
The accuracy of target object detection in the prior art is low, and it is easy to cause misidentification, especially when the target object moves to a certain position and then stops.
The sensor component is used to perform dynamic detection on the target area. If the target object is not detected, it switches to static detection and determines whether the target object exists in the target area based on the motion trajectory of the target object.
It improves the accuracy of target object detection, reduces the risk of missed detection due to the target object being stationary, and optimizes the functional performance of air conditioning equipment.
Smart Images

Figure CN120802227A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of detection, and in particular, to a target detection method and device, electronic equipment, and a storage medium. BACKGROUND
[0002] With the advancement of technology, air conditioning equipment gradually develops in the direction of intelligence and individualization. By matching a sensing component, whether a target object, such as a person, exists in the environment is detected, so as to realize intelligent wind control, people-sensing energy saving, and the like.
[0003] However, in the related art, target object detection has the technical problem of low detection accuracy. SUMMARY
[0004] The present application aims to at least partially solve one of the technical problems in the related art.
[0005] To this end, the present application proposes a target detection method and device, electronic equipment, and a storage medium to improve the accuracy of target object detection.
[0006] In one aspect, an embodiment of the present application proposes a target detection method, comprising:
[0007] dynamically detecting a target region by using a sensing component;
[0008] in response to the dynamic detection not detecting a target object, statically detecting the target region by using the sensing component;
[0009] determining whether the target object exists in the target region according to a static detection result of the static detection and a motion trajectory of the target object.
[0010] In another aspect, an embodiment of the present application proposes a target detection device configured to perform the method of the preceding aspect.
[0011] In another aspect, an embodiment of the present application proposes electronic equipment comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of the preceding aspect when executing the program.
[0012] In another aspect, an embodiment of the present application proposes air conditioning equipment configured to perform the method of the preceding aspect.
[0013] In another aspect, an embodiment of the present application proposes a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the method of the preceding aspect.
[0014] Another aspect of the present application provides a computer program product having a computer program stored thereon, which, when executed by a processor, implements the method of the preceding aspect.
[0015] The target detection method, device, electronic device and storage medium provided by the present application adopt a sensing component to perform dynamic detection on a target region. Since dynamic detection may cause misrecognition due to the fact that a target object moves to a certain position and then stops, the sensing component is used to perform static detection on the target region in a case where the target object is not detected by dynamic detection. Whether the target object exists in the target region is determined according to a static detection result of the static detection and a motion trajectory of the target object, thereby improving the accuracy of target object detection.
[0016] Additional aspects and advantages of the present application will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0017] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description, taken in conjunction with the accompanying drawings, in which:
[0018] Figure 1 A flowchart of a target detection method provided by an embodiment of the present application;
[0019] Figure 2 A flowchart of another target detection method provided by an embodiment of the present application;
[0020] Figure 3 A flowchart of another target detection method provided by an embodiment of the present application;
[0021] Figure 4 A flowchart of another target detection method provided by an embodiment of the present application;
[0022] Figure 5 A flowchart of another target detection method provided by an embodiment of the present application;
[0023] Figure 6 A flowchart of another target detection method provided by an embodiment of the present application;
[0024] Figure 7 A structural diagram of a target detection device provided by an embodiment of the present application;
[0025] Figure 8 A block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0026] Embodiments of the present application are described below in detail, examples of which are shown in the accompanying drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by reference to the accompanying drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.
[0027] In the related art, the air conditioning device detects a target object based on a mounted sensing component, and is affected by the detection method in the detection process. In the presence of a target object, it is misdetected as not existing, resulting in inaccurate detection. To solve this problem, in the case where the dynamic detection does not detect a target object, the sensing component is used to perform static detection on the target area, and according to the static detection result of the static detection and the motion trajectory of the target object, it is determined whether there is a target object in the target area, thereby improving the accuracy of target object detection.
[0028] The target detection method, device, electronic equipment and storage medium of the embodiments of the present application are described below with reference to the accompanying drawings.
[0029] Figure 1 A flowchart of a depth image generation method provided by an embodiment of the present application.
[0030] The embodiments of the present application are exemplified by the target detection method being configured in a target detection device, which can be applied to any electronic equipment to enable the electronic equipment to perform target detection functions.
[0031] Among them, the electronic equipment can be any device with computing power, for example, it can be an air conditioning device and other hardware devices with air conditioning function, such as air conditioner, air purifier, etc.
[0032] As shown in Figure 1 The method can include the following steps:
[0033] Step 101, using a sensing component to perform dynamic detection on a target area.
[0034] In the embodiments of the present application, the target area is all or part of the area within the working range of the air conditioning device, for example, assuming that the working range of the air conditioning device is a certain room, the target area is all or part of the area occupied by the room.
[0035] It should be noted that the target area also needs to be in the area that the sensing component can detect, for example, assuming that the area that the sensing component can detect is the area within a certain distance (for example, 7 meters) from the sensing component, the target area also needs to be in the area within the certain distance from the sensing component.
[0036] In an implementation form of the embodiment of the application, the air conditioning device is provided with a sensing assembly, for example, a millimeter wave radar, a laser radar, etc. The sensing assembly transmits modulated electromagnetic waves through a transmitting antenna, and receives electromagnetic wave signals reflected by objects in a target region through a receiving antenna, i.e., echo signals. The detection information is determined by analyzing the echo signals.
[0037] In the embodiment of the application, the sensing assembly is used to dynamically detect the target region to detect at least the position data of the dynamic objects in the target region.
[0038] As an example, the dynamic detection is used to detect the position data of the dynamic objects within a first set distance range of the sensing assembly, such as (x1, y1, x2, y2, x3, y3, …, x n ,y n ), where x represents the horizontal coordinate and y represents the vertical coordinate. The dynamic detection is also used to detect the energy data and distance data of the dynamic objects within a second set distance range of the sensing assembly, such as (m1, Y1, m2, Y2, m3, Y3, …, m n ,Y n ), where m represents the energy value and Y represents the y-axis distance of the detected energy value. The second set distance is smaller than the first set distance. For example, the dynamic detection can detect the position data of the dynamic objects within a 7-meter range of the sensing assembly, and the energy data and distance data of the dynamic objects within a 3-meter range of the sensing assembly. It should be noted that the position data detected by the dynamic detection needs to cover the target region, but the energy data and distance data detected by the dynamic detection can not cover the target region.
[0039] As an example, the sensing assembly can be used to dynamically detect the target region every T milliseconds.
[0040] In step 102, in response to the dynamic detection not detecting the target object, the sensing assembly is used to statically detect the target region.
[0041] In the embodiment of the application, the target object is usually a person using the air conditioning device, or other objects such as pets, etc.
[0042] In the embodiment of the application, the sensing assembly is used to dynamically detect the target region to detect at least the position data of the dynamic objects in the target region. Therefore, whether the dynamic detection detects the target object can be determined according to whether the position data of the dynamic objects in the target region is detected. For example, if at least one position data is detected by the dynamic detection, it is determined that the dynamic detection detects the target object. If the position data is not detected by the dynamic detection for a period of time, it is determined that the dynamic detection does not detect the target object.
[0043] In the embodiment of the present application, since dynamic detection detects the position data of dynamic objects, and the target object may move to a certain position within the target area and then stop, such as when a user walks to the sofa and then sits down, the dynamic detection may miss the target object. In order to solve this problem, in the embodiment of the present application, when the dynamic detection fails to detect the target object, a sensor component is used to perform static detection on the target area. Combined with the static detection results of the static detection and the motion trajectory of the target object, it is determined whether the target object exists in the target area, thereby improving the accuracy of target object detection.
[0044] In the embodiment of the present application, a sensor component is used to perform static detection on the target area to at least detect energy data of dynamic objects in the target area.
[0045] As an example, static detection is used to detect energy data and distance data of dynamic objects within a third set distance range of the distance sensing component, such as (n1, Y1, m2, Y2, m3, Y3, ..., m n ,Y n ), m represents the energy value, and Y represents the y-axis distance of the detected energy value. The third set distance range of the distance sensing component can cover the target area. It should be noted that even if the dynamically detected energy data and distance data can cover the target area, in the embodiment of the present application, it is still necessary to switch the sensing component from dynamic detection to static detection to combine the static detection results of the static detection to determine whether the target object is within the target area, thereby improving the accuracy of target object detection.
[0046] The range of energy and distance data detected by static detection is greater than that of energy and distance data detected by dynamic detection. For example, dynamic detection can detect energy and distance data of dynamic objects within 3 meters of the sensor component, while static detection can detect energy and distance data of dynamic objects within 7 meters of the sensor component.
[0047] As an example, a sensing component may be used to perform a static detection on the target area every T milliseconds.
[0048] Step 103 : determining whether a target object exists in the target area according to the static detection result of the static detection and the motion trajectory of the target object.
[0049] In an embodiment of the present application, a sensing component is used to perform static detection on the target area to at least detect the energy data of dynamic objects in the target area, so that it can be determined whether the static detection has detected the target object based on the detected energy data. For example, if the maximum energy data among the N groups of energy data obtained by static detection over a period of time is lower than the energy data threshold corresponding to the target object, it is determined that the static detection has not detected the target object; otherwise, it is determined that the static detection has detected the target object.
[0050] In the embodiment of the present application, the energy data and distance data of the dynamic object are also detected by the static detection, and the target object can be stationary after moving to a certain position in the target area, such as a user sitting down after walking to the sofa position, which can cause the static detection to miss the target object. In order to solve this problem, in the embodiment of the present application, the target area is statically detected by the sensing assembly in the case that the target object is not detected by the dynamic detection, and the static detection result of the static detection and the motion trajectory of the target object are combined to determine whether the target object exists in the target area, thereby improving the accuracy of the target object detection.
[0051] In the embodiment of the present application, the motion trajectory of the target object can indicate whether the stationary position of the target object is in the target area. If the stationary position of the target object is in the target area, it means that the target object stops at a certain position in the target area. At this time, the dynamic detection and the static detection can miss the target object due to the stationary state of the target object, but the motion trajectory of the target object can determine that the target object exists in the target area. If the stationary position of the target object is not in the target area, the motion trajectory of the target object determines that the target object does not exist in the target area. However, if the static detection detects the target object at this time, it can also be determined that the target object exists in the target area. Therefore, the risk of misjudgment of single-dimensional detection is effectively reduced, and the accuracy of the target object detection is significantly improved.
[0052] In the target detection method of the embodiment of the present application, the target area is dynamically detected by the sensing assembly. Since the dynamic detection can cause misrecognition due to the stationary state of the target object after moving to a certain position, the target area is statically detected by the sensing assembly in the case that the target object is not detected by the dynamic detection. According to the static detection result of the static detection and the motion trajectory of the target object, it is determined whether the target object exists in the target area, thereby improving the accuracy of the target object detection.
[0053] Based on the above embodiments, Figure 2 Another flowchart of a target detection method provided by the embodiment of the present application is shown in FIG. 6. As shown in FIG. 6, the method comprises the following steps: Figure 2
[0054] Step 201, dynamically detecting the target area by the sensing assembly.
[0055] In the embodiment of the present application, the energy data and distance data of the dynamic object are also detected by the static detection, and the target object can be stationary after moving to a certain position in the target area, such as a user sitting down after walking to the sofa position, which can cause the static detection to miss the target object. In order to solve this problem, in the embodiment of the present application, the target area is statically detected by the sensing assembly in the case that the target object is not detected by the dynamic detection, and the static detection result of the static detection and the motion trajectory of the target object are combined to determine whether the target object exists in the target area, thereby improving the accuracy of the target object detection.
[0056] Step 202, determining the target object detection result according to the motion trajectory in response to the target object not being detected by the dynamic detection.
[0057] In an implementation form of the embodiment of the application, whether the target object is detected is determined according to the position data obtained by the dynamic detection; and in response to a duration that the target object is not detected reaching a third set duration, it is determined that the target object is not detected by the dynamic detection.
[0058] The third set duration is any set duration, such as 3 minutes, 5 minutes, etc.
[0059] As an example, the sensor component can perform dynamic detection on the target region every T milliseconds, and if the position data obtained by a certain dynamic detection is 0, it is determined that the target object is not detected by this dynamic detection, otherwise, it is determined that the target object is detected by this dynamic detection. If the duration that the target object is not detected reaches the third set duration, it is determined that the target object is not detected by the dynamic detection, otherwise, it is determined that the target object is detected by the dynamic detection, and at this time, there is no need to switch to static detection, and there is no need to determine the target object detection result according to the motion trajectory, and it can be directly determined that there is a target object in the target region.
[0060] In the embodiment of the application, the target object detection result includes any of the following:
[0061] There is no target object in the target region;
[0062] There is a target object in the target region.
[0063] In the embodiment of the application, in the case that the target object is not detected by the dynamic detection, whether there is a target object in the target region can be determined according to the motion trajectory of the target object.
[0064] In the embodiment of the application, whether there is a target object in the target region can be determined by judging whether the stop position of the motion trajectory of the target object falls within the target region, for example, if the stop position of the motion trajectory of the target object falls within the target region, it is determined that there is a target object in the target region; and if the stop position of the motion trajectory of the target object falls outside the target region, it is determined that there is no target object in the target region.
[0065] In an implementation form of the embodiment of the application, in response to the target object not being detected by the dynamic detection, the target object detection result of the motion trajectory is obtained from the server, and / or the motion trajectory is obtained from the server, and the target object detection result is determined based on the motion trajectory.
[0066] As an example, the sensor component can perform dynamic detection on the target region every T milliseconds, and the detection data (x1, y1, x2, y2, x3, y3, …, x n ,y n ,m1,Y1,m2,Y2,m3,Y3,…,m n ,Y n) to the server, wherein x represents the horizontal coordinate, y represents the vertical coordinate, m represents the energy value, Y represents the y-axis distance of the detected energy value, the server determines the motion trajectory of the target object based on the reported position data (x1, y1, x2, y2, x3, y3, …, x n ,y n ), and determines the target object detection result based on the determined motion trajectory of the target object, so that the execution subject of the method can obtain the target object detection result of the motion trajectory from the server and / or obtain the motion trajectory from the server and determine the target object detection result based on the motion trajectory.
[0067] Therefore, by obtaining / determining the target object detection result, the missed detection caused by the target object moving to a certain position in the target region and then being stationary can be avoided, and the accuracy of target object detection can be improved.
[0068] Step 203, in response to determining that there is no target object in the target region according to the motion trajectory, performing static detection on the target region by using the sensing component.
[0069] In the embodiments of the present application, in the case where it is determined that there is no target object in the target region according to the motion trajectory, static detection is performed on the target region by using the sensing component, so as to further determine whether there is a target object in the target region based on the static detection result of the static detection, and avoid the missed detection of dynamic detection.
[0070] The static detection can refer to the related explanations in the foregoing embodiments, and the principle is the same, which will not be repeated here.
[0071] Step 204, determining whether there is a target object in the target region according to the static detection result of the static detection and the motion trajectory of the target object.
[0072] The step 204 can refer to the related explanations in the foregoing embodiments, and the principle is the same, which will not be repeated here.
[0073] Step 205, in response to determining that there is a target object in the target region according to the motion trajectory, determining that there is a target object in the target region.
[0074] In the embodiments of the present application, it can also be directly determined that there is a target object in the target region in the case where it is determined that there is a target object in the target region according to the motion trajectory. At this time, it is not necessary to switch to static detection, and the detection efficiency is improved.
[0075] The target detection method provided in the embodiments of the present application comprises the following steps: performing dynamic detection on a target region by using a sensing component; in response to the dynamic detection not detecting a target object, determining a target object detection result according to a motion trajectory; in response to the target region being determined to not contain the target object according to the motion trajectory, performing static detection on the target region by using the sensing component; and determining whether the target region contains the target object according to a static detection result of the static detection and the motion trajectory of the target object, thereby improving the accuracy of target object detection. Meanwhile, in order to improve the detection efficiency, the target region is determined to contain the target object in response to the target region being determined to contain the target object according to the motion trajectory.
[0076] Based on the above embodiments, Figure 3 Another flowchart of a target detection method provided in the embodiments of the present application is shown in FIG. 3. As shown in FIG. 3, the method comprises the following steps: Figure 3
[0077] Step 301: performing dynamic detection on a target region by using a sensing component.
[0078] Step 302: in response to the dynamic detection not detecting a target object, performing static detection on the target region by using the sensing component.
[0079] In the step 301 and the step 302, the same principles can be referred to the related explanations in the foregoing embodiments, and thus no further description is given here.
[0080] Step 303: in response to the static detection result being detection of the target object, and / or in response to the target region being determined to contain the target object according to the motion trajectory, determining that the target region contains the target object.
[0081] In the embodiments of the present application, the target region is determined to contain the target object when the static detection result is detection of the target object, or the target region is determined to contain the target object according to the motion trajectory, or the target region is determined to contain the target object when the static detection result is detection of the target object and the target region is determined to contain the target object according to the motion trajectory.
[0082] That is, when the dynamic detection does not detect the target object, the target region is determined to contain the target object as long as at least one of the static detection and the motion trajectory determines that the target region contains the target object.
[0083] It should be noted that in one implementation manner of the embodiments of the present application, the target region is determined to contain the target object in response to the dynamic detection detecting the target object. That is, the target region is directly determined to contain the target object when the dynamic detection detects the target object. At this time, there is no need to switch to the static detection, and there is no need to determine the target object detection result according to the motion trajectory, thereby improving the detection efficiency.
[0084] In summary, in the embodiments of the present application, when at least one of the dynamic detection, the static detection and the motion trajectory determines that the target object exists in the target region, it is determined that the target object exists in the target region.
[0085] In step 304, in response to the static detection result being that the target object is not detected, and in accordance with the motion trajectory, it is determined that the target object does not exist in the target region.
[0086] In the embodiments of the present application, when the dynamic detection does not detect the target object, only in the case that the static detection result is that the target object is not detected, and in accordance with the motion trajectory, it is determined that the target object does not exist in the target region.
[0087] That is, only in the case that the dynamic detection does not detect the target object, the static detection does not detect the target object, and in accordance with the motion trajectory, it is determined that the target object does not exist in the target region, the accuracy of the target object detection is improved.
[0088] In an implementation manner of the embodiments of the present application, in response to the motion trajectory indicating that the target object does not exist in the target region, and the duration reaching the first set duration, it is determined whether the static detection detects the target object; in response to the static detection result of the static detection being that the target object is not detected, it is determined that the target object does not exist in the target region.
[0089] If the motion trajectory indicates that the target object does not exist in the target region, and the duration reaches the first set duration, it means that in accordance with the motion trajectory, it is determined that the target object does not exist in the target region, at this time, it is determined whether the static detection detects the target object, and if the static detection result of the static detection is that the target object is not detected, it is determined that the target object does not exist in the target region.
[0090] In order to further improve the accuracy of the target object detection, in an implementation manner of the embodiments of the present application, in response to the motion trajectory indicating that the target object does not exist in the target region, and the duration reaching the first set duration, it is determined whether the static detection detects the target object; in response to the static detection result of the static detection being that the target object is not detected, the sensing assembly continues to perform the static detection on the target region within the second set duration; in response to the static detection within the second set duration not detecting the target object, it is determined that the target object does not exist in the target region.
[0091] That is, if the motion trajectory indicates that there is no target object in the target region, and the duration reaches the first set duration, it is determined that there is no target object in the target region according to the motion trajectory, and then it is determined whether the static detection detects the target object. If the static detection result of the static detection is that no target object is detected, in order to further improve the accuracy of target object detection, the sensing assembly continues to perform static detection on the target region for a second set duration. If no target object is detected in the second set duration, it is determined that there is no target object in the target region.
[0092] Therefore, the sensing assembly performs static detection on the target region for a period of time, which further improves the accuracy of target object detection.
[0093] In the target detection method of the embodiments of the present application, the sensing assembly performs dynamic detection on the target region. Since dynamic detection may cause misrecognition due to the target object moving to a position and then being stationary, in the case that the dynamic detection does not detect the target object, the sensing assembly performs static detection on the target region. In response to the static detection result being that the target object is detected, and / or in response to the motion trajectory indicating that there is a target object in the target region, it is determined that there is a target object in the target region. In response to the static detection result being that no target object is detected, and in response to the motion trajectory indicating that there is no target object in the target region, it is determined that there is no target object in the target region, which improves the accuracy of target object detection.
[0094] Based on the above embodiments, Figure 4 Another flowchart of a target detection method provided by the embodiments of the present application is shown in FIG. 4. As shown in FIG. 4, the method comprises the following steps: Figure 4
[0095] In step 401, the sensing assembly performs dynamic detection on the target region.
[0096] In step 402, in response to the dynamic detection not detecting the target object, the sensing assembly performs static detection on the target region.
[0097] In step 401 and step 402, refer to the related explanations in the foregoing embodiments for the same principles, which will not be described here.
[0098] In step 403, the target energy data is determined according to the energy data obtained by the static detection.
[0099] In the embodiments of the present application, the maximum energy data in the plurality of energy data obtained by the static detection can be determined as the target energy data.
[0100] As an example, the sensing assembly can perform static detection on the target region every T milliseconds, and N sets of energy data and distance data can be obtained when the static detection lasts for a set duration, such as 3 minutes, so that the maximum energy data in the N sets of energy data can be determined as the target energy data.
[0101] In step 404, in response to the target energy data being less than a set threshold, it is determined that the static detection result is that the target object is not detected.
[0102] The set threshold is an energy data threshold corresponding to the target object.
[0103] In step 405, in response to the target energy data not being less than the set threshold, it is determined that the static detection result is that the target object is detected.
[0104] In step 406, whether the target object exists in the target region is determined according to the static detection result of the static detection and the motion trajectory of the target object.
[0105] The step 406 can refer to the related explanations in the foregoing embodiments, and the principle is the same, which will not be described here.
[0106] In the target detection method of the embodiments, the sensing assembly is used to perform dynamic detection on the target region; in response to the dynamic detection not detecting the target object, the sensing assembly is used to perform static detection on the target region; the target energy data is determined according to the energy data obtained by the static detection; in response to the target energy data being less than a set threshold, it is determined that the static detection result is that the target object is not detected; in response to the target energy data not being less than the set threshold, it is determined that the static detection result is that the target object is detected; whether the target object exists in the target region is determined according to the static detection result of the static detection and the motion trajectory of the target object, so that the accuracy of target object detection is improved.
[0107] Based on the foregoing embodiments, Figure 5 Another flowchart of a target detection method provided by the embodiments is shown in FIG. 5. Figure 5 As shown in FIG. 5, the method includes the following steps:
[0108] In step 501, the sensing assembly is used to perform dynamic detection on the target region.
[0109] In step 502, in response to the dynamic detection not detecting the target object, the sensing assembly is used to perform static detection on the target region.
[0110] In step 503, whether the target object exists in the target region is determined according to the static detection result of the static detection and the motion trajectory of the target object.
[0111] The steps 501 to 503 can refer to the relevant explanations in the foregoing embodiments, and the principles are the same, and thus will not be described here again.
[0112] In step 504, in response to the target object existing in the target area and the air conditioning device starting the human sensing energy saving instruction being detected, the air conditioning device is controlled not to enter the human sensing energy saving state.
[0113] In the embodiment of the present application, if the target object exists in the target area, even if the air conditioning device starts the human sensing energy saving instruction is detected, the air conditioning device will not be controlled to enter the human sensing energy saving state.
[0114] In step 505, in response to the target object not existing in the target area and the air conditioning device starting the human sensing energy saving instruction being detected, the air conditioning device is controlled to enter the human sensing energy saving state.
[0115] In the embodiment of the present application, if the target object does not exist in the target area and the air conditioning device starts the human sensing energy saving instruction is detected, the air conditioning device is controlled to enter the human sensing energy saving state in response to the instruction.
[0116] In one implementation manner of the embodiment of the present application, the controlling the air conditioning device to enter the human sensing energy saving state comprises at least one of the following operations:
[0117] Controlling the air conditioning device to increase the set temperature in the cooling mode;
[0118] Controlling the air conditioning device to decrease the set temperature in the heating mode;
[0119] Controlling the air conditioning device to shut down.
[0120] In the target detection method of the embodiment of the present application, the target area is dynamically detected by using the sensing assembly. Since the dynamic detection may exist the false recognition caused by the target object moving to a position and then being static, in the case that the target object is not detected by the dynamic detection, the target area is statically detected by using the sensing assembly, and whether the target object exists in the target area is determined according to the static detection result of the static detection and the motion track of the target object, thereby improving the accuracy of the target object detection. Furthermore, when the air conditioning device starts the human sensing energy saving instruction is detected, whether the air conditioning device enters the human sensing energy saving state can be selected according to whether the target object exists in the target area, thereby optimizing the function implementation effect.
[0121] Based on the above embodiment, the following examples are described. Figure 6 Another flowchart of a target detection method provided by the embodiment of the present application is shown in FIG. 4. As shown in FIG. 4, the method comprises the following steps: Figure 6
[0122] Step 601, using the sensing assembly to perform dynamic detection on the target area every T milliseconds.
[0123] In the embodiment of the application, the dynamic detection can detect position data of the dynamic object within a first set distance range of the sensing assembly, such as (x1, y1, x2, y2, x3, y3, …, x n ,y n ), where x represents the horizontal coordinate and y represents the vertical coordinate, and can detect energy data and distance data of the dynamic object within a second set distance range of the sensing assembly, such as (m1, Y1, m2, Y2, m3, Y3, …, m n ,Y n ), where m represents the energy value and Y represents the y-axis distance of the detected energy value. The second set distance is smaller than the first set distance. For example, the dynamic detection can detect position data of the dynamic object within a range of 7 meters from the sensing assembly, and can detect energy data and distance data of the dynamic object within a range of 3 meters from the sensing assembly.
[0124] It should be noted that the position data detected by the dynamic detection can cover the target area, but the energy data and distance data detected by the dynamic detection may not cover the target area due to the smaller range.
[0125] In the embodiment of the application, the sensing assembly performs dynamic detection on the target area every T milliseconds, and obtains the detection data (position data, energy data and distance data) reported by the sensing assembly. In one implementation, the data format of the reported detection data is (x1, y1, x2, y2, x3, y3, …, x n ,y n , m1, Y1, m2, Y2, m3, Y3, …, m n ,Y n ), where x represents the horizontal coordinate, y represents the vertical coordinate, and m represents the energy value. Y represents the y-axis distance of the detected energy value. Thus, the position information (x1, y1, x2, y2, x3, y3, …, x n ,y n ) detected by each dynamic detection can be obtained.
[0126] In the embodiment of the application, the sensing assembly performs dynamic detection on the target area every T milliseconds. If the position data obtained by a certain dynamic detection is 0, it is determined that the target object is not detected by this dynamic detection, otherwise, it is determined that the target object is detected by this dynamic detection.
[0127] Step 602, in response to the dynamic detection detecting the target object, it is determined that the target object exists in the target area.
[0128] In an implementation form of the embodiment of the application, if the duration that the target object is not detected in the dynamic detection reaches the third set duration, it is determined that the target object is not detected in the dynamic detection. Otherwise, it is determined that the target object is detected in the dynamic detection, and at this time, it is not necessary to switch to the static detection, and it is not necessary to determine the target object detection result according to the motion trajectory, and it can be directly determined that the target object exists in the target region.
[0129] In step 603, in response to that the target object is not detected in the dynamic detection, the target object detection result is determined according to the motion trajectory.
[0130] In the embodiment of the application, the target object detection result includes any one of the following:
[0131] There is no target object in the target region.
[0132] There is a target object in the target region.
[0133] In the embodiment of the application, the sensing assembly performs dynamic detection on the target region every T milliseconds, and reports the detection data (position data, energy data and distance data) detected each time to the server. In an implementation form, the data format of the reported detection data is (x1, y1, x2, y2, x3, y3, …, x n ,y n ,m1,Y1,m2,Y2,m3,Y3,…,m n ,Y n ), x represents the horizontal coordinate, y represents the vertical coordinate, m represents the energy value, and Y represents the y-axis distance of the detected energy value. Thus, the server can determine the motion trajectory of the target object based on the reported position data (x1, y1, x2, y2, x3, y3, …, x n ,y n ), and determine the target object detection result based on the determined motion trajectory of the target object, and then the execution subject of the method can obtain the target object detection result of the motion trajectory from the server, and / or obtain the motion trajectory from the server and determine the target object detection result based on the motion trajectory.
[0134] In an implementation form of the embodiment of the application, in response to that the motion trajectory indicates that there is no target object in the target region and the duration reaches the first set duration, it is determined that there is no target object in the target region according to the motion trajectory, otherwise it is determined that there is a target object in the target region according to the motion trajectory.
[0135] It should be noted that step 602 and step 603 are executed alternatively.
[0136] In step 604, the sensing assembly performs static detection on the target region every T milliseconds.
[0137] In the embodiment of the present application, in the case that the target object is not detected by dynamic detection, whether the target object exists in the target region according to the motion track or the target object does not exist in the target region according to the motion track, the sensing assembly performs static detection on the target region every T milliseconds.
[0138] It should be noted that although the dynamic detection can detect the energy data and the distance data, the range of the energy data and the distance data detected by the dynamic detection is small, and the target region cannot be covered, so the sensing assembly needs to perform static detection on the target region, that is, the sensing assembly switches from dynamic detection to static detection.
[0139] It should be noted that even if the energy data and the distance data detected by the dynamic detection can cover the target region, in the embodiment of the present application, the sensing assembly still needs to switch from dynamic detection to static detection, so as to combine the static detection result of the static detection to determine whether the target object exists in the target region, and improve the accuracy of target object detection.
[0140] In the embodiment of the present application, the static detection can detect the energy data and the distance data of the dynamic object within a third set distance range of the sensing assembly, such as (m1, Y1, m2, Y2, m3, Y3, …, m n ,Y n ), m represents an energy value, and Y represents the y-axis distance of the detected energy value. The third set distance is greater than the second set distance, that is, the range of the energy data and the distance data detected by the static detection is greater than the range of the energy data and the distance data detected by the dynamic detection, and the third set distance range of the sensing assembly can cover the target region. For example, the static detection can detect the energy data and the distance data of the dynamic object within a range of 7 meters from the sensing assembly.
[0141] In the embodiment of the present application, the sensing assembly performs static detection on the target region every T milliseconds, and the execution subject of the method can obtain the detection data (energy data and distance data) reported by the sensing assembly. In one implementation, the data format of the reported detection data is (m1, Y1, m2, Y2, m3, Y3, …, m n ,Y n ), m represents an energy value, and Y represents the y-axis distance of the detected energy value. Thus, the energy data and the distance data (m1, Y1, m2, Y2, m3, Y3, …, m n ,Y n ) detected by each static detection can be obtained.
[0142] In the embodiments of the present application, the total number of executions or the total execution time length can be set for the static detection. When the number of static detections reaches the set total number of executions, or the execution time length of the static detection reaches the set total execution time length, it is determined that the static detection is executed. Thus, when the static detection is executed, the maximum energy data in the energy data detected by each static detection can be used to determine the static detection result of the static detection.
[0143] In the embodiments of the present application, if the maximum energy data in the energy data detected by each static detection is not less than the set threshold value (the energy data threshold value corresponding to the target object), it is determined that the static detection result of the static detection is that the target object exists in the target region; if the maximum energy data in the energy data detected by each static detection is less than the set threshold value, it is determined that the static detection result of the static detection is that the target object does not exist in the target region.
[0144] As an example, the target region is detected by the sensing assembly once every T milliseconds. It is assumed that the static detection lasts for 3 minutes, N sets of energy data and distance data are obtained (the reporting interval T<=1000 milliseconds, N>=180), when the maximum energy data in the N sets of energy data is greater than or equal to the set threshold value (M0=20), it is determined that the static detection result of the static detection is that the target object exists in the target region; when the maximum energy data in the N sets of energy data is less than the set threshold value (M0=20), it is determined that the static detection result of the static detection is that the target object does not exist in the target region.
[0145] In step 605, in response to determining that the target object does not exist in the target region according to the motion trajectory, and the static detection result of the static detection is that the target object is not detected, the sensing assembly is used to continue the static detection on the target region within a second set time length to determine whether the target object exists in the target region.
[0146] In the embodiments of the present application, in the case where the target object is not detected by the dynamic detection, if it is determined that the target object does not exist in the target region according to the motion trajectory, and the static detection result of the static detection is that the target object is not detected, in order to further ensure the accuracy of the target object detection, the sensing assembly is used to perform static detection on the target region for a period of time. If the static detection result of the static detection for this period of time is also that the target object does not exist in the target region, it is determined that the target object does not exist in the target region, otherwise it is determined that the target object exists in the target region.
[0147] As an example, it is assumed that the static detection lasts for 3 minutes each time to determine a static detection result. If the static detection performed on the target region by the sensing assembly lasts for t, the number of static detection results is floor(t / 3min,0) (t is divided by 3 and then the integer is taken).
[0148] Step 606, in response to determining that there is a target object in the target area according to the motion trajectory, determining that there is a target object in the target area.
[0149] In the embodiment of the application, in the case that the dynamic detection does not detect a target object, if it is determined that there is a target object in the target area according to the motion trajectory, it is determined that there is a target object in the target area regardless of whether the static detection result of the static detection is that there is a target object in the target area or that there is no target object in the target area.
[0150] It should be noted that step 605 and step 606 are executed alternatively.
[0151] Step 607, in response to detecting the air conditioning equipment opening human sensing energy saving instruction, controlling the air conditioning equipment to perform corresponding operation according to whether there is a target object in the target area.
[0152] In the embodiment of the application, in response to that there is no target object in the target area and that the air conditioning equipment opening human sensing energy saving instruction is detected, the air conditioning equipment is controlled to enter the human sensing energy saving state. In response to that there is a target object in the target area and that the air conditioning equipment opening human sensing energy saving instruction is detected, the air conditioning equipment is not controlled to enter the human sensing energy saving state.
[0153] That is, if there is no target object in the target area and the air conditioning equipment opening human sensing energy saving instruction is detected, the air conditioning equipment is controlled to enter the human sensing energy saving state in response to the instruction. If there is a target object in the target area, even if the air conditioning equipment opening human sensing energy saving instruction is detected, the air conditioning equipment will not be controlled to enter the human sensing energy saving state.
[0154] In an implementation manner of the embodiment of the application, controlling the air conditioning equipment to enter the human sensing energy saving state comprises at least one of the following operations:
[0155] Controlling the air conditioning equipment to increase the set temperature in the cooling mode;
[0156] Controlling the air conditioning equipment to decrease the set temperature in the heating mode;
[0157] Controlling the air conditioning equipment to shut down.
[0158] In summary, the sensing assembly first performs dynamic detection, performs dynamic detection every T milliseconds, and reports the detected detection data (position data, energy data and distance data) each time to the server. The server determines the motion trajectory of the target object based on the reported position data, and determines the target object detection result (whether there is a target object in the target area) based on the determined motion trajectory of the target object.
[0159] During the dynamic detection, if the number of the target objects in the target area is greater than 0, it is determined that the target objects exist in the target area; if the number of the target objects in the target area is equal to 0 for t1 time during the dynamic detection, it is determined that the target objects are not detected by the dynamic detection, and then there are two cases as follows:
[0160] Case 1: it is determined that the target objects exist in the target area according to the motion track (the number of the target objects in the target area is greater than 0 according to the motion track): the sensing component switches to the static detection, and the static detection is performed every T milliseconds, and the energy data and the distance data detected by each static detection are obtained; it is assumed that the static detection is continuously detected for 3 minutes, and N sets of energy data and distance data are obtained (the reporting interval T <= 1000 milliseconds, and N >= 180); then there are two cases as follows:
[0161] Case 1.1: when the maximum energy data in the N sets of energy data is greater than or equal to a set threshold (the energy data threshold corresponding to the target object) M0 (M0 = 20), it is determined that the static detection result of the static detection is that the target objects exist in the target area, at this time, it is determined that the target objects exist in the target area, the air conditioning equipment is controlled not to enter the human sensing energy-saving state in response to the detection of the human sensing energy-saving instruction of the air conditioning equipment, and then the dynamic detection is switched back to continue the detection;
[0162] Case 1.2: when the maximum energy data in the N sets of energy data is less than a set threshold (the energy data threshold corresponding to the target object) M0 (M0 = 20), it is determined that the static detection result of the static detection is that the target objects do not exist in the target area, at this time, it is determined that the target objects exist in the target area, the air conditioning equipment is controlled not to enter the human sensing energy-saving state in response to the detection of the human sensing energy-saving instruction of the air conditioning equipment, and then the dynamic detection is switched back to continue the detection.
[0163] Case 2: it is determined that the target objects do not exist in the target area according to the motion track (the number of the target objects in the target area is equal to 0 according to the motion track, and the number of the target objects in the target area is equal to 0 for t2 time according to the motion track): the sensing component switches to the static detection, and the static detection is performed every T milliseconds, and the energy data and the distance data detected by each static detection are obtained; it is assumed that the static detection is continuously detected for 3 minutes, and N sets of energy data and distance data are obtained (the reporting interval T <= 1000 milliseconds, and N >= 180); then there are two cases as follows:
[0164] Case 2.1: when the maximum energy data in the N groups of energy data is greater than or equal to a set threshold (energy data threshold corresponding to the target object) M0 (M0 = 20), it is determined that the static detection result of the static detection is that there is a target object in the target area, at this time, it is determined that there is a target object in the target area, in response to detecting the air conditioning equipment opening human sensing energy saving instruction, the air conditioning equipment is controlled not to enter the human sensing energy saving state, and then it is switched back to dynamic detection to continue detection.
[0165] Case 2.2: when the maximum energy data in the N groups of energy data is less than the set threshold (energy data threshold corresponding to the target object) M0 (M0 = 20), it is determined that the static detection result of the static detection is that there is no target object in the target area, at this time, in order to further improve the accuracy of target object detection, the target area is further detected by the sensing assembly for t3 time of static detection, if the static detection result of the static detection within t3 time is also that there is no target object in the target area (equivalent to determining that the number of static detection results = floor (t / 3min, 0) (t is divided by 3, and then the integer is taken)), it is determined that there is no target object in the target area, in response to detecting the air conditioning equipment opening human sensing energy saving instruction, the air conditioning equipment is controlled to enter the human sensing energy saving state, and then it is switched back to dynamic detection to continue detection.
[0166] In the target detection method of the embodiments of the present application, the target area is dynamically detected by the sensing assembly every T milliseconds; in response to the dynamic detection detecting the target object, it is determined that there is a target object in the target area; in response to the dynamic detection not detecting the target object, the target object detection result is determined according to the motion trajectory; in response to the dynamic detection not detecting the target object, the target area is statically detected by the sensing assembly every T milliseconds; in response to the dynamic detection not detecting the target object, and the static detection result of the static detection being that the target object is not detected, and it is determined that there is no target object in the target area according to the motion trajectory, the target area is continuously statically detected by the sensing assembly within a second set time to determine whether there is a target object in the target area; in response to the dynamic detection not detecting the target object, and it is determined that there is a target object in the target area according to the motion trajectory, it is determined that there is a target object in the target area; according to whether there is a target object in the target area, in response to detecting the air conditioning equipment opening human sensing energy saving instruction, the air conditioning equipment is controlled to perform corresponding operation, which improves the accuracy of target object detection and optimizes the function implementation effect.
[0167] In order to realize the above-mentioned embodiments, the embodiments of the present application also propose a target detection device.
[0168] Figure 7 A structural schematic diagram of a target detection device provided by the embodiments of the present application.
[0169] AsFigure 7 As shown, the device may include:
[0170] A dynamic detection module 61 is used to perform dynamic detection of a target area using a sensing component;
[0171] a static detection module 62 for performing static detection of the target area using a sensing component in response to the dynamic detection failing to detect the target object;
[0172] The first determining module 63 is configured to determine whether a target object exists in the target area according to a static detection result of the static detection and a motion trajectory of the target object.
[0173] Furthermore, in one implementation of the embodiment of the present application, the static detection module 62 is further configured to:
[0174] In response to the dynamic detection not detecting the target object, determining a target object detection result based on the motion trajectory;
[0175] In response to determining that no target object exists in the target area according to the motion trajectory, a sensing component is used to perform static detection on the target area.
[0176] Furthermore, in one implementation of the embodiment of the present application, the apparatus further includes:
[0177] The second determining module is configured to determine that the target object exists in the target area in response to determining that the target object exists in the target area according to the motion trajectory.
[0178] Furthermore, in one implementation of the embodiment of the present application, the static detection module 62 is further configured to perform at least one of the following:
[0179] Obtain the target object detection results of the motion trajectory from the server;
[0180] The motion trajectory is obtained from the server, and the target object detection result is determined based on the motion trajectory.
[0181] Furthermore, in one implementation of the embodiment of the present application, the first determining module 63 is further configured to:
[0182] In response to the static detection result that the target object is detected, and / or determining that the target object exists in the target area based on the motion trajectory, determining that the target object exists in the target area;
[0183] In response to the static detection result indicating that the target object is not detected and, based on the motion trajectory, determining that the target object does not exist in the target area, determining that the target object does not exist in the target area.
[0184] Furthermore, in one implementation of the embodiment of the present application, the first determining module 63 is further configured to:
[0185] in response to the motion trajectory indicating that there is no target object in the target region, and the duration reaches the first set duration, determining whether the static detection detects the target object;
[0186] in response to the static detection result of the static detection being that no target object is detected, determining that there is no target object in the target region.
[0187] Further, in an implementation manner of the embodiment of the present application, the first determination module 63 is further used for:
[0188] in response to the static detection result being that no target object is detected, continuing to perform the static detection on the target region by using the sensing assembly within a second set duration;
[0189] in response to the static detection within the second set duration not detecting the target object, determining that there is no target object in the target region.
[0190] Further, in an implementation manner of the embodiment of the present application, the apparatus further includes:
[0191] a third determination module, configured to determine whether the target object is detected according to the position data obtained by the dynamic detection;
[0192] a fourth determination module, configured to determine that the target object is not detected by the dynamic detection in response to the duration of not detecting the target object reaching a third set duration.
[0193] Further, in an implementation manner of the embodiment of the present application, the apparatus further includes:
[0194] a fifth determination module, configured to determine target energy data according to the energy data obtained by the static detection;
[0195] a sixth determination module, configured to determine that the static detection result is that no target object is detected in response to the target energy data being less than a set threshold;
[0196] a seventh determination module, configured to determine that the static detection result is that the target object is detected in response to the target energy data not being less than the set threshold.
[0197] Further, in an implementation manner of the embodiment of the present application, the apparatus further includes:
[0198] a first control module, configured to control the air conditioning device not to enter the human sensing energy-saving state in response to there being the target object in the target region, and the air conditioning device detecting the human sensing energy-saving instruction being turned on;
[0199] The second control module is configured to control the air conditioning device to enter a human sensing energy-saving state in response to the target object not existing in the target area and the human sensing energy-saving instruction of the air conditioning device being detected.
[0200] Further, in an implementation form of the embodiment of the application, the second control unit is further configured to perform at least one of the following operations:
[0201] control the air conditioning device to increase a high set temperature in a cooling mode;
[0202] control the air conditioning device to decrease a low set temperature in a heating mode;
[0203] control the air conditioning device to turn off.
[0204] It should be noted that the foregoing explanation and description of the method embodiment are also applicable to the device of the embodiment, and will not be described here again.
[0205] In the target detection device of the embodiment of the application, the target area is dynamically detected by using the sensing assembly. Since dynamic detection may cause misrecognition due to the target object moving to a position and then being static, in the case that the target object is not detected by dynamic detection, the target area is statically detected by using the sensing assembly, and whether the target object exists in the target area is determined according to the static detection result of static detection and the motion track of the target object, thereby improving the accuracy of target object detection.
[0206] To implement the above-mentioned embodiments, the application further provides an air conditioning device configured to perform the method as described in the foregoing method embodiments.
[0207] To implement the above-mentioned embodiments, the application further provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method as described in the foregoing method embodiments when executing the program.
[0208] To implement the above-mentioned embodiments, the application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and the program is executable by a processor to implement the method as described in the foregoing method embodiments.
[0209] To implement the above-mentioned embodiments, the application further provides a computer program product having a computer program stored thereon, and the computer program is executable by a processor to implement the method as described in the foregoing method embodiments.
[0210] Figure 8A block diagram of an electronic device provided for embodiments of this application. For example, the electronic device 800 can be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an air conditioning device, etc.
[0211] Referring to Figure 8 The electronic device 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0212] The processing component 802 usually controls overall operations of the electronic device 800, such as operations associated with displaying, making phone calls, data communications, camera operations and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to complete all or part of steps of the methods described above. In addition, the processing component 802 can include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0213] The memory 804 is configured to store various types of data to support operations of the electronic device 800. Examples of these data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0214] The power component 806 provides power to various components of the electronic device 800. The power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing and distributing power for the electronic device 800.
[0215] The multimedia component 808 includes a screen to provide an output interface between the electronic device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and intensity of the touching or sliding action. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a camera mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zooming capability.
[0216] The audio component 810 is configured to output and / or input an audio signal. For example, the audio component 810 includes a microphone (MIC) to receive an external audio signal when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker to output an audio signal.
[0217] The I / O interface 812 provides an interface for the processing component 802 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0218] The sensor component 814 includes one or more sensors to provide various state assessments for the electronic device 800. For example, the sensor component 814 can detect an open / closed state of the electronic device 800, relative positioning of components, such as a display and a keypad of the electronic device 800, a change in position of the electronic device 800 or a component of the electronic device 800, presence or absence of user contact with the electronic device 800, an orientation or acceleration / deceleration of the electronic device 800, and a temperature change of the electronic device 800. The sensor component 814 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 814 can further include a light sensor such as a CMOS or CCD image sensor for use in an imaging application. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0219] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 4G, or 5G, or a combination thereof. In an example embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.
[0220] In an example embodiment, the electronic device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described methods.
[0221] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, is also provided, which can be executed by the processor 820 of the electronic device 800 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0222] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. Illustrative expressions of the above terms in the specification do not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials, or characteristics described can be combined in any appropriate manner in one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples, without contradiction.
[0223] In addition, the terms "first", "second", etc. are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise explicitly specified.
[0224] Any processes or methods described in the flowcharts or otherwise described herein can be understood as representing code modules, segments, or portions of code which include one or more executable instructions for implementing specific logic functions (or steps) of the application, and alternate implementations are possible. The various steps or functions described in the flowcharts or otherwise described herein can be implemented as program instructions (i.e., as one or more modules of computer program code) in any of a variety of programming languages. The various steps or functions described in the flowcharts or otherwise described herein can be implemented as machine or computer readable code on a computer readable medium. Thus, the various aspects of the application can be embodied in hardware and / or in software (including firmware, resident software, micro-code, etc.) that runs on a processor such as a digital signal processor, which can collectively be referred to as "an appropriate circuit" or "a module." A software module can comprise one or more instructions that, when executed by a processor, carry out the designated computation or step. As will be understood by those skilled in the art, the software modules can be stored on a computer readable medium, including the memory 110, before, during or after execution by a processor. Accordingly, the various aspects of the application can be embodied in a number of different forms, all of which have been contemplated to be within the scope of the applicable patent princi¬ ples described herein. For example, the various embodiments can take the form of a computer program product on a computer readable storage medium having computer system readable data and / or computer program code embodied in the fabric of the medium that can be used to program computers and / or other
[0225] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be embodied in computer executable code, such as in the form of software modules or portions of code that are written in any of a variety of computer programming languages or scripting languages. The logic and / or steps represented in the flowcharts or otherwise described herein can be embodied in any of a variety of ways, including as a stand-alone software package, as a software module, component or section of a program, as a utility for use with
[0226] It should be understood that aspects of the application can be implemented in hardware, software, firmware, or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. As well, if desired, the various steps or methods can be implemented using any of a variety of technologies that are well known in the art, including but not limited to: discrete logic circuitry having logic gates for implementing logic functions upon data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA's), field programmable gate arrays (FPGA's), or the like.
[0227] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by programs instructing related hardware, and the programs can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0228] In addition, each functional unit in each embodiment of the present application can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0229] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present application.
Claims
1. A target detection method, characterized in that: include: Use sensing components to dynamically detect the target area; In response to the dynamic detection not detecting the target object, performing static detection on the target area using the sensing component; It is determined whether the target object is within the target area according to a static detection result of the static detection and a motion trajectory of the target object.
2. The method according to claim 1, characterized in that In response to the dynamic detection not detecting the target object, using the sensing component to perform static detection on the target area includes: In response to the dynamic detection not detecting the target object, determining a target object detection result according to the motion trajectory; In response to determining that the target object does not exist in the target area according to the motion trajectory, the sensor component is used to perform static detection on the target area.
3. The method according to claim 2, characterized in that The method further comprises: In response to determining that the target object exists in the target area according to the motion trajectory, it is determined that the target object exists in the target area.
4. The method according to claim 2, characterized in that Determining the target object detection result based on the motion trajectory includes at least one of the following: Obtaining a target object detection result of the motion trajectory from a server; The motion trajectory is obtained from the server, and the target object detection result is determined based on the motion trajectory.
5. The method according to any one of claims 1 to 4, characterized in that The determining, based on the static detection result of the static detection and the motion trajectory of the target object, whether the target object is within the target area includes: In response to the static detection result that the target object is detected, and / or determining that the target object exists in the target area based on the motion trajectory, determining that the target object exists in the target area; In response to the static detection result indicating that the target object is not detected, and determining that the target object does not exist in the target area based on the motion trajectory, it is determined that the target object does not exist in the target area.
6. The method according to claim 5, characterized in that In response to the static detection result indicating that the target object is not detected, and determining based on the motion trajectory that the target object does not exist in the target area, determining that the target object does not exist in the target area includes: In response to the motion trajectory indicating that the target object is not present in the target area and the duration reaches a first set duration, determining whether the static detection detects the target object; In response to a static detection result of the static detection being that the target object is not detected, it is determined that the target object does not exist in the target area.
7. The method according to claim 6, characterized in that In response to the static detection result indicating that the target object is not detected, determining that the target object does not exist in the target area includes: In response to the static detection result indicating that the target object is not detected, continuing to perform static detection on the target area within a second set time period using the sensing component; In response to the target object not being detected in the static detection within the second set time period, it is determined that the target object does not exist in the target area.
8. The method according to any one of claims 1 to 4, characterized in that The method further comprises: determining whether the target object is detected based on the position data obtained by the dynamic detection; In response to a duration in which the target object is not detected reaching a third set duration, it is determined that the target object is not detected by the dynamic detection.
9. The method according to any one of claims 1 to 4, characterized in that The method further comprises: determining target energy data based on the energy data obtained from the static detection; In response to the target energy data being less than a set threshold, determining that the static detection result is that the target object is not detected; In response to the target energy data being not less than the set threshold, it is determined that the static detection result is that the target object is detected.
10. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In response to the target object being present in the target area and detecting that the air conditioning device has turned on a human-sensing energy-saving instruction, controlling the air conditioning device not to enter a human-sensing energy-saving state; In response to the target object not existing in the target area and detecting that the air conditioning equipment turns on a human-sensing energy-saving instruction, the air conditioning equipment is controlled to enter a human-sensing energy-saving state.
11. The method according to claim 10, characterized in that The controlling the air conditioning equipment to enter the human-sensing energy-saving state includes at least one of the following operations: Controlling the air conditioning equipment to increase the set temperature in cooling mode; Controlling the air conditioning device to lower the set temperature in heating mode; Control the air conditioning equipment to shut down.
12. A target detection device, characterized in that: The target detection device is configured to execute the method according to any one of claims 1 to 11.
13. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 11 is implemented.
14. An air conditioning device, characterized in that: The air conditioning device is configured to perform the method according to any one of claims 1-11.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
16. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Human body detection method and device and storage medium
CN117705294A
Target detection method and device
CN117805796A
Human body induction method and system based on infrared sensor and radar
CN119596297A
Human detection method and apparatus, terminal device, storage medium, and electronic device
WO2021147122A1