Cookware dry burning identification method and device, electronic equipment and storage medium
Through infrared image data, the pot eye position of the pot is identified and the temperature is monitored, which solves the problems of slow response speed and insufficient accuracy of the traditional dry burn recognition method, and achieves fast and accurate dry burn status recognition and efficient anti-dry burning treatment.
Patent Information
- Application Number
- CN202411841932.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-15
AI Technical Summary
The traditional dry burn recognition method has slow response speed, low accuracy, and is easily disturbed by environmental factors, making it difficult to quickly and accurately identify the dry burn status.
By obtaining infrared image data, identify the position of the pot eye of the pot, and monitor the temperature value of the pot eye position. If the temperature value is greater than or equal to the set threshold, it is determined that the pot is in a dry burn state.
It realizes rapid and accurate identification of whether the pot is in a dry burn state, avoids interference from environmental factors, and provides an efficient anti-dry burn treatment solution.
Smart Images

Figure CN119832280A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of infrared monitoring technology, and in particular to a method, device, electronic equipment and storage medium for identifying dry-burning of a cooker. Background Art
[0002] In daily life and industrial production, many devices and appliances need to prevent dry burning. Dry burning not only causes equipment damage, but may also cause safety accidents such as fire. Traditional dry burning identification methods mainly rely on temperature sensors, etc., but these methods have some limitations, such as slow response speed, low accuracy, and susceptibility to interference from environmental factors. Summary of the invention
[0003] In order to solve the above technical problems, the embodiments of the present application provide a method, device and electronic device for quickly and accurately identifying a dry-burning state of a cooker. The specific scheme is as follows: In a first aspect, an embodiment of the present application provides a method for identifying a dry-burning cooker, comprising: Acquire infrared image data of a to-be-monitored area, wherein the to-be-monitored area includes a pot in a heated state; Identifying the pot eye position of the pot according to the pixel value of the infrared image data; Monitoring the temperature value at the pot eye position; If the temperature value at the pot eye position is greater than or equal to the temperature threshold, it is determined that the pot is in a dry-burning state.
[0004] According to a specific implementation of the embodiment of the present application, the identifying the pot eye position of the pot according to the pixel value of the infrared image data includes: Perform sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data; Acquire the area to be identified in the filtered image data according to the specifications of a preset judgment matrix; Filtering out a target area from the to-be-identified area according to a first pixel judgment rule, wherein a size of the target area is equal to a size of the preset judgment matrix; The pot eye position of the pot is identified from the target area according to the second pixel judgment rule.
[0005] According to a specific implementation of the embodiment of the present application, the step of screening out the target area from the area to be identified according to the first pixel judgment rule includes: Obtaining a first pixel value and a second pixel value in a preset judgment matrix, wherein the first pixel value is a pixel value of a center point, and the second pixel value is a pixel value of a pixel point adjacent to the center point; In the case that at least six of the second pixel values are greater than the first pixel value, the area where the preset judgment matrix is located is determined as the target area.
[0006] According to a specific implementation of the embodiment of the present application, the step of identifying the pot eye position of the pot from the target area according to the second pixel judgment rule includes: Obtaining a first pixel value, a third pixel value, and a fourth pixel value in a preset judgment matrix, wherein the first pixel value is a pixel value of a center point, the third pixel value is a pixel value of a pixel point adjacent to the center point, and the fourth pixel value is a pixel value that is vertically or horizontally spaced one pixel from the center point; When the third pixel value in any direction is smaller than the first pixel value and the fourth pixel value in the same direction is larger than the first pixel value, the pixel point corresponding to the first pixel value is determined as the pot eye position of the cookware.
[0007] According to a specific implementation of the embodiment of the present application, the sliding filtering of the infrared image data according to the filter matrix of the preset ratio to obtain the filtered image data includes: The infrared image data in the filter matrix is subjected to mean filtering to obtain filtered image data of one pixel.
[0008] According to a specific implementation of the embodiment of the present application, the method further includes: If the pot eye position is not identified according to the current infrared image data: The infrared detector is controlled to adjust the shooting angle, and the infrared image data of the area to be monitored is reacquired until the pot eye position is identified.
[0009] In a second aspect, an embodiment of the present application provides a device for identifying a dry-burning cooker, comprising: An acquisition module, used for acquiring infrared image data of a to-be-monitored area, wherein the to-be-monitored area includes a pot in a heating state; A recognition module, used for identifying the pot eye position of the pot according to the pixel value of the infrared image data; A monitoring module, used for monitoring the temperature value at the pot eye position; The determination module is used to determine that the pot is in a dry-burning state if the temperature value at the pot eye position is greater than or equal to a temperature threshold.
[0010] According to a specific implementation of the embodiment of the present application, the recognition module is specifically used to perform sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data; obtain the area to be identified in the filtered image data according to the specifications of a preset judgment matrix; filter out a target area from the area to be identified according to a first pixel judgment rule, wherein the size of the target area is equal to the size of the preset judgment matrix; and identify the pot eye position of the pot from the target area according to a second pixel judgment rule.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for identifying dry-burning of a cooker in the aforementioned first aspect or any implementation of the first aspect.
[0012] In a fourth aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the method for identifying dry-burning pots in the aforementioned first aspect or any implementation of the first aspect.
[0013] In summary, the embodiments of the present application provide a method, device, electronic device and storage medium for identifying a dry-burned cookware, including: acquiring infrared image data of an area to be monitored, wherein the area to be monitored includes a cookware in a heated state; identifying the pot eye position of the cookware according to the pixel value of the infrared image data; monitoring the temperature value of the pot eye position; if the temperature value of the pot eye position is greater than or equal to a temperature threshold, determining that the cookware is in a dry-burned state. The present invention identifies the pot eye position of the cookware based on an infrared image, and monitors the temperature value of the pot eye position through an infrared signal, so as to quickly and accurately identify whether the cookware is in a dry-burned state, and provide an efficient identification scheme design for the anti-dry-burning treatment of the cookware. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 A schematic diagram of a flow chart of a method for identifying a dry-burning cooker provided in an embodiment of the present application; Figure 2 A schematic diagram of the steps of identifying the pot eye position of a cooker provided in an embodiment of the present application; Figure 3 A schematic diagram of the effect of sliding filtering on infrared image data provided in an embodiment of the present application; Figure 4 A schematic diagram of a process flow of screening a target area according to a first pixel judgment rule provided in an embodiment of the present application; Figure 5 A schematic diagram of a preset judgment matrix provided in an embodiment of the present application; Figure 6 A schematic diagram of a flow chart of steps for identifying the pot eye position of a cookware according to a second pixel judgment rule provided in an embodiment of the present application; Figure 7 A schematic diagram of a device module of a device for identifying dry-boiling cookware provided in an embodiment of the present application. DETAILED DESCRIPTION
[0016] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0017] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0018] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.
[0019] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0020] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, one skilled in the art will appreciate that aspects may be practiced without these specific details.
[0021] refer to Figure 1 The present application provides a method for identifying a dry-burned cooker, comprising the following steps: S101, acquiring infrared image data of a to-be-monitored area, wherein the to-be-monitored area includes a pot in a heating state.
[0022] In this embodiment, an infrared image of the area to be monitored is captured by an infrared camera device, and the infrared image is converted into infrared image data including pixel values of multiple pixel points. The infrared camera device in this implementation may be an infrared detector or other device that can be used to obtain infrared data, and this embodiment does not limit the specific type or model of the infrared camera device. In an optional embodiment, the infrared camera device may use the Heiman sensor HTPA32x32dR2L2.1. The Heiman sensor has a high-performance, high-quality digital signal thermopile infrared array with 32x32 pixels in a TO-39 metal housing. Using an integrated optical lens, the field of view can be adjusted from 33° to 105°.
[0023] It should be noted that when setting up the infrared camera equipment, it should be ensured that the pot is within the photographic range of the infrared camera equipment to ensure that the infrared camera equipment can accurately capture the infrared image data of the pot in the heated state.
[0024] S102, identifying the pot eye position of the cookware according to the pixel value of the infrared image data.
[0025] In this embodiment, after the pixel values of the infrared image data are obtained, the position of the pot eye of the pot can be identified through the correspondence between the pixel values of different pixel points. In actual application, when the pot is in a heating state, for example, when it is placed on a stove and heated with an open flame, the flame will be randomly distributed around the pot due to the size of the pot body. By identifying the position of the pot eye of the pot and monitoring the temperature of the pot eye position, the recognition error caused by the random distribution of the flame can be greatly avoided.
[0026] S103, monitoring the temperature value at the pot eye position.
[0027] In this embodiment, the temperature value of the corresponding pixel point can be directly obtained based on the infrared image data collected by the infrared detector through the corresponding relationship between the infrared image data and the temperature value, and the temperature value of the corresponding pixel point can also be collected through other temperature detector devices. The conversion relationship between the pixel value and the temperature value in the infrared image data can be adaptively configured according to the needs of the actual application scenario, which is not limited here.
[0028] By accurately identifying the position of the pot eye of the cooker through infrared image data and then monitoring the temperature value at the pot eye position in real time, it is possible to promptly and accurately identify whether the cooker is in a dry-burning state and take timely measures to prevent the cooker from dry-burning.
[0029] It should be noted that the pot dry-boiling prevention process includes but is not limited to alarming through a buzzer, sending an alarm signal to a user terminal, and controlling the heating device to shut down, etc. This embodiment does not limit the subsequent solution of the pot dry-boiling prevention process, and can be adaptively configured according to the needs of actual application scenarios.
[0030] S104: If the temperature value at the pot eye position is greater than or equal to the temperature threshold, it is determined that the pot is in a dry-burning state.
[0031] In this embodiment, the temperature threshold can be set to 70°C, or 68-75°C, or adaptively configured according to the needs of the actual application scenario. In a specific embodiment, when the temperature at the pot eye is 70°C, heating continues for 40 seconds, and the temperature value at the pot eye exceeds 89 degrees Celsius, which may cause the pot to overheat and be damaged.
[0032] This embodiment monitors the temperature value at the pot eye position, and determines that the pot is in a dry-burning state when the temperature value at the pot eye position is greater than or equal to a temperature threshold.
[0033] It should be noted that in a feasible embodiment, the temperature rising rate at the pot eye position can also be monitored. When the rising rate of the temperature at the pot eye position within a certain time range is greater than a rate threshold, it is determined that the pot is in a dry burning state.
[0034] In summary, this embodiment provides a method for identifying dry-burning cookware. By setting up a simple infrared detector device and combining it with unique logical judgment, it can accurately and quickly identify whether the cookware is in a dry-burning state. The method for identifying dry-burning cookware proposed in this embodiment can effectively avoid interference from environmental factors and will not affect the dry-burning identification results due to light or dust.
[0035] According to a specific implementation of the embodiment of the present application, Figure 2 As shown, the pot eye position of the pot is identified according to the pixel value of the infrared image data, including: S202, performing sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data.
[0036] In this embodiment, the infrared image data may be subjected to sliding filtering based on a 3*3 filter matrix to obtain filtered image data. Specifically, the image data before and after sliding filtering may be as follows: Figure 3 The preset ratio of the filter matrix can be adaptively replaced according to the needs of the actual application scenario, for example, replaced with 5*5, 4*4, etc.
[0037] In a specific embodiment, the sliding filtering method in this embodiment adopts sliding mean filtering to ensure that the subsequent first pixel judgment rule and the second pixel judgment rule can accurately identify the pot eye position of the pot. It should be noted that the specific filtering method of the sliding filtering method can be adaptively replaced according to the needs of the actual application scenario.
[0038] In actual application, Figure 3 As shown, the edge parts of the filtered image data, namely the first row, first column, last row and last column, can keep the pixel values of the infrared image data unchanged, while the pixel values of the pixels in other areas need to be processed by mean filtering with a preset ratio of the filter matrix.
[0039] S203, obtaining a region to be identified in the filtered image data according to the specification of a preset judgment matrix.
[0040] In this embodiment, the preset judgment matrix can be used as follows: Figure 5 The specific specifications of the preset judgment matrix can also be adaptively replaced according to the needs of the actual application scenario.
[0041] After determining the preset judgment matrix, it is necessary to determine a region to be identified from the filtered image data to ensure that each pixel in the region can be identified based on the preset judgment matrix to determine whether it belongs to the pot eye position. Figure 5 The matrix type shown is used to filter the image data. Figure 3 In the screenshot data shown, the area to be identified is the area from column 5 to column 28 and row 3 to row 29. It should be noted that the specific range of the area to be identified can be determined according to the needs of the actual application scenario.
[0042] S204: Filter out a target area from the area to be identified according to the first pixel judgment rule, wherein the size of the target area is equal to the size of a preset judgment matrix.
[0043] In this embodiment, the first pixel judgment rule is used to judge the range of the area where the pot eye position may exist, that is, the range of the target area. The target areas screened out based on the first judgment rule may be multiple or a single one.
[0044] In this embodiment, only after the target area is screened out from the area to be identified according to the first pixel determination rule, is it identified whether the target area includes the pot eye of the cookware according to the second pixel determination rule.
[0045] The size of the target area is the same as the size of the preset judgment matrix. Figure 5 As shown, the target area is the same as the preset judgment matrix, both of which are 5*5 matrices.
[0046] S205: Identify the pot eye position of the cookware from the target area according to the second pixel judgment rule.
[0047] In this embodiment, the second pixel judgment rule can accurately identify the position of the pot eye of the cookware, that is, when the conditions set by the second pixel judgment rule are met, the center point of the preset judgment matrix (target area) is the position of the pot eye of the cookware.
[0048] According to a specific implementation of the embodiment of the present application, Figure 4 As shown, the target area is screened out from the area to be identified according to the first pixel judgment rule, including: S401, obtaining a first pixel value and a second pixel value in a preset judgment matrix, wherein the first pixel value is a pixel value of a center point, and the second pixel value is a pixel value of a pixel point adjacent to the center point; S402: When at least six second pixel values are greater than the first pixel value, determine the area where the preset judgment matrix is located as the target area.
[0049] In this embodiment, if Figure 5 As shown, the first pixel value refers to the pixel value of the pixel point where pixel_5 is located. The second pixel value refers to the pixel values of the pixel points where pixel_1, pixel_2, pixel_3, pixel_4, pixel_6, pixel_7, pixel_8, and pixel_9 are located.
[0050] If and only if there are at least 6 second pixel values that are all greater than the first pixel value, the area where the preset judgment matrix is located is determined as the target area to execute the second pixel judgment rule.
[0051] In a preferred embodiment, when all second pixel values are required to be greater than the first pixel value, the area where the preset judgment matrix is located is determined as the target area to ensure recognition accuracy.
[0052] According to a specific implementation of the embodiment of the present application, Figure 6 As shown, identifying the pot eye position of the pot from the target area according to the second pixel judgment rule includes: S601, obtaining a first pixel value, a third pixel value, and a fourth pixel value in a preset judgment matrix, wherein the first pixel value is a pixel value of a center point, the third pixel value is a pixel value of a pixel point adjacent to the center point, and the fourth pixel value is a pixel value that is vertically or horizontally spaced one pixel from the center point; S602: When the third pixel value in any direction is smaller than the first pixel value and the fourth pixel value in the same direction is larger than the first pixel value, the pixel point corresponding to the first pixel value is determined as the pot eye position of the cookware.
[0053] In this embodiment, if Figure 5 As shown, the first pixel value refers to the pixel value of the pixel point where pixel_5 is located. The third pixel value refers to the pixel value of the pixel points where pixel_2, pixel_4, pixel_6, and pixel_8 are located. The fourth pixel value refers to the pixel value of the pixel points where pixel_10, pixel_11, pixel_12, and pixel_13 are located.
[0054] During the judgment process, if any one of the following conditions is met, the pot eye position of the central pixel point is determined: pixel_5>pixel_2, and pixel_5<pixel_10; pixel_5>pixel_4, and pixel_5<pixel_11; pixel_5>pixel_6, and pixel_5<pixel_12; pixel_5>pixel_8, and pixel_5<pixel_13.
[0055] It should be noted that if the above conditions are not met, it is determined that the target area does not include the pot eye position, and other target areas are identified based on the second pixel judgment rule until the pot eye position of the pot is identified.
[0056] According to a specific implementation of the embodiment of the present application, the method for identifying a dry-burned cooker further includes: If the pot eye position is not identified based on the current infrared image data: Control the infrared detector to adjust the shooting angle and reacquire the infrared image data of the area to be monitored until the pot eye position is identified.
[0057] In this embodiment, if the pot eye position is not included in all the target areas filtered out by the current infrared image data, it can be determined that the pot eye position of the pot cannot be photographed within the shooting angle of the infrared detector, or the infrared detector is abnormal. At this time, the infrared detector is controlled to automatically adjust the shooting angle to ensure that the pot in the heating state is within the shooting range of the infrared detector, and the infrared image data acquisition step and the pot eye position recognition step in the above method embodiment are re-executed.
[0058] In this embodiment, if the infrared detector adjusts the shooting angle multiple times and still cannot identify the position of the pot eye, an abnormal prompt message is sent to the user terminal to prompt the user to check the status and setting position of the infrared detector to repair the abnormality and ensure that it can detect in time whether the pot is in a dry-burning state.
[0059] To sum up, the present embodiment provides a method for identifying dry-burning cookware, which can accurately, quickly and effectively identify whether the cookware is in a dry-burning state, and promptly alarm the user to prevent the cookware from being damaged due to overheating caused by dry-burning. At the same time, the execution logic of the method for identifying dry-burning cookware in the present embodiment is simple. While not occupying too many computing resources, it can also effectively avoid interference from environmental factors, thereby further improving the accuracy of dry-burning state identification.
[0060] Based on the same inventive concept, the embodiment of the present application also provides a dry-boiled pot identification device for implementing the dry-boiled pot identification method mentioned above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more dry-boiled pot identification device embodiments provided below can refer to the limitations of the dry-boiled pot identification method above, and will not be repeated here.
[0061] In one embodiment, reference Figure 7 This embodiment also provides a device 700 for identifying a dry-burned cooker, comprising: an acquisition module 710, an identification module 720, a monitoring module 730 and a determination module 740, wherein: An acquisition module 710 is used to acquire infrared image data of a to-be-monitored area, wherein the to-be-monitored area includes a pot in a heated state; An identification module 720, configured to identify the pot eye position of the pot according to the pixel value of the infrared image data; A monitoring module 730, used to monitor the temperature value of the pot eye position; The determination module 740 is used to determine that the pot is in a dry-boiling state if the temperature value at the pot eye position is greater than or equal to a temperature threshold.
[0062] In one embodiment, the recognition module 720 is specifically used to perform sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data; obtain the area to be identified in the filtered image data according to the specifications of a preset judgment matrix; filter out a target area from the area to be identified according to a first pixel judgment rule, wherein the size of the target area is equal to the size of the preset judgment matrix; and identify the pot eye position of the cookware from the target area according to a second pixel judgment rule.
[0063] In one embodiment, the identification module 720 is specifically used to obtain a first pixel value and a second pixel value in a preset judgment matrix, wherein the first pixel value is the pixel value of the center point, and the second pixel value is the pixel value of the pixel point adjacent to the center point; when at least 6 second pixel values are greater than the first pixel value, the area where the preset judgment matrix is located is determined as the target area.
[0064] In one embodiment, the identification module 720 is specifically used to obtain a first pixel value, a third pixel value and a fourth pixel value in a preset judgment matrix, wherein the first pixel value is the pixel value of the center point, the third pixel value is the pixel value of the pixel point adjacent to the center point, and the fourth pixel value is the pixel value that is one pixel point vertically or horizontally spaced from the center point; when the third pixel value in any direction is less than the first pixel value and the fourth pixel value in the same direction is greater than the first pixel value, the pixel point corresponding to the first pixel value is determined as the pot eye position of the cookware.
[0065] In one embodiment, the identification module 720 is specifically configured to perform mean filtering on the infrared image data in the filter matrix to obtain filtered image data of a pixel.
[0066] In one embodiment, the device for identifying dry-burning of a cooker further includes: The adjustment module is used to control the infrared detector to adjust the shooting angle if the pot eye position is not identified according to the current infrared image data, and re-acquire the infrared image data of the area to be monitored until the pot eye position is identified.
[0067] In summary, the embodiments of the present application provide a device for identifying dry-burning cookware, which can accurately, quickly and effectively identify whether the cookware is in a dry-burning state, and promptly issue an alarm to the user to prevent the cookware from being damaged due to overheating caused by dry-burning. At the same time, the execution logic of the dry-burning cookware identification method of this embodiment is simple. While not occupying too many computing resources, it can also effectively avoid interference from environmental factors, thereby further improving the accuracy of dry-burning state identification.
[0068] Figure 7 The specific implementation of the device shown can refer to the specific implementation of the aforementioned method embodiment, which will not be repeated here.
[0069] In addition, an embodiment of the present application further provides an electronic device, the electronic device comprising: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for identifying dry-burning of a cooker in the aforementioned method embodiment.
[0070] It should be noted that the electronic device in this embodiment may be a compound eye detector device, or may be other electronic devices equipped with or connected to the compound eye detector device.
[0071] An embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the method for identifying dry-burning of a cooker in the aforementioned method embodiment.
[0072] The electronic devices in the embodiments of the present application may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
[0073] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Examples of computer-readable storage media may be, but are not limited to: electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0074] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0075] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0076] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains infrared image data of an area to be monitored, wherein the area to be monitored includes a pot in a heated state; identifies the pot eye position of the pot according to the pixel value of the infrared image data; monitors the temperature value of the pot eye position; and determines that the pot is in a dry-burning state if the temperature value of the pot eye position is greater than or equal to a temperature threshold.
[0077] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0078] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0079] The units involved in the embodiments described in this application can be implemented by software or hardware. It should be understood that each part of this application can be implemented by hardware, software, firmware or a combination thereof.
[0080] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for identifying dry-burning of a cooker, characterized in that: include: Acquire infrared image data of a to-be-monitored area, wherein the to-be-monitored area includes a pot in a heated state; Identifying the pot eye position of the pot according to the pixel value of the infrared image data; Monitoring the temperature value at the pot eye position; If the temperature value at the pot eye position is greater than or equal to the temperature threshold, it is determined that the pot is in a dry-burning state.
2. The method according to claim 1, characterized in that The step of identifying the pot eye position of the pot according to the pixel value of the infrared image data comprises: Perform sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data; Acquire the area to be identified in the filtered image data according to the specification of the preset judgment matrix; Filtering out a target area from the to-be-identified area according to a first pixel judgment rule, wherein a size of the target area is equal to a size of the preset judgment matrix; The pot eye position of the pot is identified from the target area according to the second pixel judgment rule.
3. The method according to claim 2, characterized in that The step of selecting a target area from the area to be identified according to the first pixel judgment rule includes: Obtaining a first pixel value and a second pixel value in a preset judgment matrix, wherein the first pixel value is a pixel value of a center point, and the second pixel value is a pixel value of a pixel point adjacent to the center point; In the case that at least six of the second pixel values are greater than the first pixel value, the area where the preset judgment matrix is located is determined as the target area.
4. The method according to claim 2, characterized in that: The step of identifying the pot eye position of the pot from the target area according to the second pixel judgment rule comprises: Obtaining a first pixel value, a third pixel value, and a fourth pixel value in a preset judgment matrix, wherein the first pixel value is a pixel value of a center point, the third pixel value is a pixel value of a pixel point adjacent to the center point, and the fourth pixel value is a pixel value that is vertically or horizontally spaced one pixel from the center point; When the third pixel value in any direction is smaller than the first pixel value and the fourth pixel value in the same direction is larger than the first pixel value, the pixel point corresponding to the first pixel value is determined as the pot eye position of the cookware.
5. The method according to claim 2, characterized in that: The step of performing sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data comprises: The infrared image data in the filter matrix is subjected to mean filtering to obtain filtered image data of a pixel.
6. The method according to claim 1, characterized in that The method further comprises: If the pot eye position is not identified according to the current infrared image data: The infrared detector is controlled to adjust the shooting angle, and the infrared image data of the area to be monitored is reacquired until the pot eye position is identified.
7. A device for identifying dry-burning of a cooker, characterized in that: include: An acquisition module, used for acquiring infrared image data of a to-be-monitored area, wherein the to-be-monitored area includes a pot in a heating state; A recognition module, used for identifying the pot eye position of the pot according to the pixel value of the infrared image data; A monitoring module, used for monitoring the temperature value at the pot eye position; The determination module is used to determine that the pot is in a dry-burning state if the temperature value at the pot eye position is greater than or equal to a temperature threshold.
8. The device according to claim 7, characterized in that The recognition module is specifically used to perform sliding filtering on the infrared image data according to a filter matrix of a preset ratio to obtain filtered image data; and obtain the area to be recognized in the filtered image data according to the specifications of a preset judgment matrix; According to the first pixel judgment rule, a target area is screened out from the area to be identified, wherein the size of the target area is equal to the size of the preset judgment matrix; and according to the second pixel judgment rule, the pot eye position of the pot is identified from the target area.
9. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for identifying dry-burning of a cooker as described in any one of claims 1-6.
10. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for identifying dry-burning of a cooker according to any one of claims 1 to 6.