Smart kitchen monitoring method, system and device
By combining the generation of grayscale images and thermal imaging images, the problem of inaccurate identification and insufficient cleanliness guarantee of the smart kitchen detection system is solved, the accuracy and efficiency of fire identification are achieved, and the type of fire can be distinguished and processed accordingly. Improved kitchen safety and cleanliness.
Patent Information
- Application Number
- PCT/CN2023/084810
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2023-03-29
- Publication Date
- 2024-09-19
AI Technical Summary
The existing smart kitchen detection system has inaccurate identification and cannot distinguish the type of fire, and the cleanliness is insufficient, resulting in misjudgment and low processing efficiency.
By generating grayscale images and thermal imaging images, combined with visible light image processing, infrared radiation information and flame color information are obtained to determine whether there is a fire, and through deep learning, living objects, oil stains and flames are classified and processed accordingly.
It achieves the accuracy and efficiency of fire identification, can distinguish the type of fire and carry out targeted treatment, identify oil stains and living objects, and improve the cleanliness and safety of the kitchen.
Smart Images

Figure CN2023084810_19092024_PF_FP_ABST
Abstract
Description
A smart kitchen monitoring method, system and device Technical Field
[0001] The present invention relates to the field of smart catering services, and in particular to a smart kitchen monitoring method, system and equipment. Background Art
[0002] Food is the most important thing for people, and eating is an important part of traditional culture. In modern society where all walks of life are becoming more intelligent, restaurants are also becoming more intelligent. The smart restaurant in the main media center of the Beijing Winter Olympics is very eye-catching. As an unmanned smart restaurant, its safety and cleanliness issues are of great concern. Without anyone to keep it clean, it is inevitable that the kitchen will become dangerous or unclean. Since the kitchen inevitably involves electricity and fire, kitchen safety is extremely important.
[0003] A Chinese patent document with a publication date of April 12, 2022 and publication number CN109829111A discloses a fire prevention control method and system for a smart kitchen, which includes the following steps: obtaining real-time oil fume image information inside the kitchen; retrieving initial oil fume image information of the kitchen in its initial state, wherein the initial oil fume image information is image information when there is no oil fume in the kitchen; determining that the kitchen is in a smoky state based on comparison of the real-time oil fume image information with the initial oil fume image information; obtaining oil fume position information corresponding to the real-time oil fume image information based on the smoky state; matching the oil fume position information with the preset stove position information, and outputting an alarm message based on unsuccessful matching; based on the successful matching of the oil fume position information with the stove position information, determining whether the real-time oil fume image information has pre-stored facial image information, and if not, outputting an alarm message.
[0004] The disadvantages of the above-mentioned smart kitchen fire prevention control method and system are: the smoke state is determined by comparing the initial oil fume image with the real-time oil fume image, which has a large error. Because oil fume is inevitable during the cooking process in the kitchen, and it is impossible to clean up the oil fume immediately, misjudgment is inevitable, which will lead to more serious problems. In addition, the types of fires are not classified, and different types of combustion sources require different treatments, which increases the time and difficulty of treatment. In addition, the cleanliness of the kitchen is not taken into consideration and there is no guarantee of cleanliness.
[0005] It should be noted that the above introduction to the technical background is merely intended to provide a clear and complete description of the technical solutions of this application and facilitate understanding by those skilled in the art. Simply because these solutions are described in the background technology section of this application, it should not be assumed that the above technical solutions are well known to those skilled in the art.
[0006] Summary of the Invention
[0007] The first purpose of the present invention is to solve the problem of inaccurate recognition of existing smart kitchen detection systems and provide a smart kitchen monitoring system, method and electronic equipment that have the advantage of accurately identifying whether a fire has occurred.
[0008] The second purpose of the present invention is to solve the problem that the existing smart kitchen detection system cannot distinguish the type of fire, resulting in low efficiency, and to provide a smart kitchen monitoring system, method and electronic equipment, which have the advantages of being able to distinguish the type of fire and handle it accordingly, and having high processing efficiency.
[0009] A third objective of the present invention is to address the problem of unreliable cleanliness in existing smart kitchen monitoring systems by providing a smart kitchen monitoring system, method, and electronic device that can identify oil stains and living things and distinguish between types for corresponding treatment.
[0010] The technical solution adopted by the present invention to solve the above-mentioned technical problems is, in the first aspect: a smart kitchen monitoring method, comprising the following steps: generating a grayscale image through a visible light image within a target range; processing the visible light image, the thermal imaging image and the grayscale image to obtain monitoring information, wherein the monitoring information includes infrared radiation information and grayscale co-occurrence matrix information within the target range, as well as flame color information and before-after difference information of the visible light image; judging whether the monitoring information meets the no-abnormality preset; wherein the no-abnormality preset is: the object does not exist within the target range and the temperature within the target range does not exceed the set value, wherein the object is a living thing and a pollutant within the target range.
[0011] Using the technical solution of the first aspect above, temperature information and object information are obtained through thermal imaging images and grayscale images, which is highly accurate and fast. Open flames can be classified from thermal imaging images, and the cleanliness of the entire target range can be obtained from grayscale images, and living things and oil stains can be classified.
[0012] In the first aspect, before generating a grayscale image from a visible light image, the method further includes: obtaining a visible light image and a thermal imaging image obtained by an image monitoring module within a target range; obtaining monitoring values within the target range by a sensor monitoring module to obtain basic information; wherein the basic information includes temperature information within the target range and information about objects within the target range. Preferably, the temperature information is obtained by a temperature sensor in the sensor detection module, and the object information is obtained by obtaining a visible light image by the image monitoring module and identifying objects in the visible light image. Thus, obtaining basic information and a visible light image is a prerequisite for the aforementioned visible light image processing, and helps obtain the aforementioned monitoring information, thereby assisting in determining whether the pre-set no-abnormality condition is met, thereby achieving the purpose of accurately identifying whether a fire has occurred.
[0013] In the first aspect, after generating a grayscale image from a visible light image, the method further includes: when the no-abnormality preset is met, the central controller repeats the above-mentioned monitoring method steps; when the no-abnormality preset is not met, the central controller controls the problem handling module to resolve the abnormality; wherein the abnormality is the presence of the object within the target range or the temperature within the target range exceeds the set value. Preferably, the abnormality includes not only the presence of living things within the target range and the temperature exceeding the set value, but also the presence of oil stains within the target range. In this way, the oil stains in the entire smart kitchen can be treated, achieving the purpose of identifying and treating the oil stains.
[0014] In the first aspect, processing the visible light image, the thermal image, and the grayscale image includes: comparing infrared radiation differences in the thermal image to determine whether there are areas with excessively large infrared radiation differences; comparing the contrast of each area in the grayscale image to determine whether there are areas with excessively large contrast differences; comparing the front and back of the visible light image to determine whether there are areas with excessively large differences; obtaining a co-occurrence matrix texture feature map of the grayscale image; obtaining a Gaussian blurred contour map of the grayscale image; and obtaining the flame color in the visible light image. Preferably, filtering and refinement calculations are performed after obtaining the texture feature map and the Gaussian blurred contour map. This allows the necessary image information to be obtained before abnormality processing is performed, making subsequent abnormality classification and processing more accurate and rapid, thereby achieving the goal of distinguishing fire types and corresponding processing, achieving high processing efficiency, and accurately identifying whether a fire has occurred.
[0015] In the first aspect, the central controller controls the problem handling module to solve abnormal situations, including: classifying living things according to the grayscale image recognition contour; classifying oil stains according to the co-occurrence matrix oil stain texture features or recognition contours; classifying flames according to the flame color and temperature information; and processing them separately according to the classification. Preferably, the classification process of objects, oil stains, and flames is a deep learning process. Specifically, grayscale image contour recognition is to perform edge detection on the grayscale image to obtain an edge detection image and then perform deep learning to perform similarity comparison and classification; oil stain texture feature recognition is to perform similarity comparison and classification through the texture density and flow direction in the oil stain texture features; flame color recognition is to perform similarity comparison and classification through deep learning after color enhancement of the open flame image taken in the visible light image. In this way, the entire classification process for objects, oil stains, and flames is efficient and accurate, achieving the purpose of being able to identify fires, oil stains, and living things, distinguish the types and process them accordingly, and accurately identify whether a fire has occurred with high processing efficiency.
[0016] In the first aspect, the classified and separate treatment includes: using different methods to treat different types of open flames; using different methods to drive away or capture different types of living things; and using different cleaning methods to treat different types of oil stains. Preferably, an alarm is triggered when the living thing is a human, which makes the classified treatment more efficient.
[0017] In the first aspect, the temperature information includes the temperature of a designated temperature measurement area; the object information includes moving objects and contaminants within the target range; the designated temperature measurement area comprises a circular area with a radius equal to the maximum range of electrical and fire-related devices. Preferably, electrical and fire-related devices include, but are not limited to, power strips, power strip plugs, appliance plugs, manipulators, robots, boilers, etc. This makes it easier to determine the type of fire, while maintaining a reasonable detection range. This achieves the goal of distinguishing fire types and handling them accordingly, resulting in high processing efficiency.
[0018] The second aspect: includes an image monitoring module and a sensor monitoring module. After the sensor monitoring module and the image monitoring module detect living things, they classify living things and pollutants through contour recognition training; after the sensor monitoring module and the image monitoring module detect open flames, they classify open flames through color recognition and temperature monitoring of the sensor monitoring module; after the sensor monitoring module and the image monitoring module detect oil stains, they classify the oil stains through grayscale training.
[0019] By using the technical solution of the second aspect mentioned above, open flames, living things and oil stains can be classified first and then processed according to the corresponding types. In this way, abnormal situations in the smart kitchen can be handled more efficiently and in a shorter time. In addition, the cleanliness of the smart kitchen is taken into consideration. When living things or oil stains appear in the smart kitchen, they can also be handled accordingly to ensure the cleanliness of the smart kitchen.
[0020] In a second aspect, the system further includes an image processing module and a problem handling module. The image processing module assists in classifying anomalies detected by the sensor monitoring module, and the problem handling module handles living things, open flames, and oil stains after the sensor monitoring module classifies the anomalies. Preferably, the image processing module converts the visible light image captured by the image monitoring module into a weighted average grayscale image and a binary grayscale image. This makes it easier to obtain the information required for identification from the weighted average grayscale image and the binary grayscale image, enabling faster and more accurate identification, thereby improving processing efficiency.
[0021] A third aspect: A smart kitchen monitoring device, comprising: a memory for storing a computer program; and a central controller for implementing the steps of the smart kitchen monitoring method described in the first aspect above when executing the computer program.
[0022] Using the technical solution of the third aspect above, information can be efficiently transmitted and stored, and the central controller effectively executes the steps of the smart kitchen monitoring method described in the first aspect above, thereby achieving the purpose of improving processing efficiency.
[0023] The present invention provides a smart kitchen monitoring method, system, and device. This method generates a grayscale image from a visible light image within a target range; processes the visible light image, thermal image, and the grayscale image to obtain monitoring information; and then determines whether the monitoring information meets the pre-defined no-abnormality criteria. The present invention provides the following benefits: 1. Accurately identifies whether a fire has occurred; 2. Efficiently distinguishes fire types and processes them accordingly; 3. It can identify oil stains and living things and process them accordingly.
[0024] With reference to the following description and drawings, specific embodiments of the present application are disclosed in detail, indicating the manner in which the principles of the present application can be employed. It should be understood that the embodiments of the present application are not limited in scope thereby. Within the scope of the terms of the appended claims, the embodiments of the present application include many variations, modifications, and equivalents.
[0025] Features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments. It should be emphasized that the term "include / comprise" as used herein refers to the presence of a feature, an entire part, a step, or a component, but does not exclude the presence or addition of one or more other features, entire parts, steps, or components. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] FIG1 is a schematic diagram of a smart kitchen monitoring method according to the present invention;
[0027] FIG2 is a schematic diagram of processing a visible light image, a thermal imaging image, and a grayscale image according to a smart kitchen monitoring method of the present invention;
[0028] FIG3 is a schematic diagram of a process in which a central controller controls a problem processing module to resolve an abnormal situation in a smart kitchen monitoring method according to the present invention;
[0029] FIG4 is a schematic structural diagram of a smart kitchen monitoring system according to the present invention;
[0030] FIG5 is a schematic diagram of the structure of a smart kitchen monitoring electronic device according to the present invention;
[0031] In the figure: 40 smart kitchen monitoring system, 401 image monitoring module, 402 sensor monitoring module, 403 image processing module, 404 problem processing module, 50 smart kitchen monitoring electronic equipment, 510 central controller, 520 network interface, 530 communication bus, 540 storage interface, 550 memory, 560 input and output interface. DETAILED DESCRIPTION
[0032] The specific implementation of the technical solution of the present invention will be further described below through examples and in conjunction with the accompanying drawings.
[0033] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.
[0034] Example 1
[0035] In embodiment 1 shown in Figures 1 to 3, the present invention provides a smart kitchen monitoring method: comprising the following steps: a smart kitchen monitoring method, generating a grayscale image through a visible light image within a target range; processing the visible light image, the thermal imaging image and the grayscale image to obtain monitoring information, wherein the monitoring information includes infrared radiation information, grayscale co-occurrence matrix information and flame color information within the target range; judging whether the monitoring information meets the no-abnormality preset; wherein the no-abnormality preset is: the object does not exist within the target range and the temperature within the target range does not exceed the set value, wherein the object is a living thing and a pollutant within the target range.
[0036] Figure 1 is a schematic diagram of a smart kitchen monitoring method of the present invention, which is a flow chart of the entire smart kitchen monitoring method and a summary of each step. The flow chart shown in Figure 1 includes the following steps.
[0037] In step S11, the central controller acquires the visible light image and thermal image captured by the image monitoring module within the target range. In this embodiment, the visible light image is acquired via a camera, while the thermal image is acquired via a thermal imaging camera. Specifically, in this embodiment, within the target range, i.e., the entire smart kitchen, distributed cameras and thermal imaging cameras capture and record visible light and thermal images, and transmit the visible light images to a memory in real time. The central controller then acquires the visible light and thermal images from the memory. By acquiring the visible light and thermal images separately and subsequently processing them to obtain more information, the overall monitoring process is more accurate.
[0038] In step S12, the central controller obtains the basic information obtained by the sensing detection module within the target range. In this embodiment, the basic information obtained includes temperature information within the target range and object information within the target range. Specifically, in this embodiment, temperature information is obtained in real time by a temperature sensor and the data is uploaded to the memory. Object information refers to whether there are living things or pollutants within the target range. In this embodiment, the identification of living things by object information is performed by identifying moving objects in visible light images to identify whether there are living things. Furthermore, in this embodiment, the video captured by the camera is analyzed frame by frame, and dynamic area change detection is performed on the video frames to identify whether there are living things, and the data is uploaded to the memory. Then, the central controller obtains the uploaded basic information. The above-mentioned method for detecting living things is relatively accurate, laying the foundation for the classification of living things, making the results accurate, and facilitating the classification of living things. In this embodiment, the identification of pollutants by object information is achieved by comparing the previous and next images, and the pollutants are identified by comparing the differences between the initial image and the current image.
[0039] In step S13, the central controller generates a grayscale image based on the visible light image. In this example, to facilitate classification of oil stains and living things using grayscale images, the visible light image is converted into a weighted average grayscale image and a binary grayscale image. The weighted average grayscale image and the binary grayscale image make it easier to obtain the required information, resulting in faster and more accurate recognition, thus improving processing efficiency.
[0040] In step S14, the central controller processes the visible light image, thermal image, and grayscale image to obtain monitoring information. In this embodiment, the monitoring information includes infrared radiation information within the target range, grayscale co-occurrence matrix information, visible light before and after images, and flame color information. Specifically, in this embodiment, the infrared radiation information is obtained by using the thermal imaging camera to capture a thermal image within the target range, and then obtaining infrared radiation information and temperature information from the thermal image. The grayscale co-occurrence matrix information is obtained by using OpenCV to obtain a grayscale co-occurrence matrix texture map from the converted binary grayscale image. The visible light before and after images are obtained by capturing visible light images within the target range one second before and one second after. The flame color information is obtained by capturing a specific open flame image using the visible light image, converting the RGB image of the open flame image into a hyperspectral HSI image, smoothing two of the three HSI components (saturation and brightness), and then converting the smoothed HSI image into an RGB image to obtain a color-enhanced image, which is the flame color information. Through the above steps, each piece of information is enhanced and processed, and the information obtained is more accurate, which can not only identify fire, oil pollution and living things, but also be more efficient.
[0041] In step S15, the central controller determines whether the monitoring information satisfies the pre-defined no-abnormality condition. If so, the process returns to step S11 and executes again. If not, the process proceeds to step S16. In this embodiment, the pre-defined no-abnormality condition means that no living creatures exist within the target range, and the set temperature within the target range does not exceed a preset value. Specifically, in this embodiment, the target range is the entire smart kitchen. Living creature detection identifies the presence of living creatures by identifying moving objects in visible light images. Furthermore, in this embodiment, the video captured by the camera is analyzed frame by frame, and dynamic area change detection is performed on the video frames to identify the presence of living creatures. In this embodiment, the identifiable living creatures are various moving objects, so manipulators and robots that may exist in the smart kitchen are not included in the training model. In this embodiment, temperature measurement is performed simultaneously by a temperature sensor and a thermal imaging camera. The temperature sensor primarily monitors the area outside the heat source, while the thermal imaging camera provides real-time monitoring of the entire area. If the temperature within a circular area with a radius of the target range for electrical and thermal devices exceeds the set value, the pre-defined no-abnormality condition is not met.
[0042] In step S16, the central controller controls the problem handling module to resolve abnormal situations. In this embodiment, abnormal situations include the presence of living things within the target range, the temperature within a circular area with the radius of the active range of a device involving electricity or fire exceeding a set value, or the presence of oil within the target range. Corresponding treatment is performed for various abnormal situations.
[0043] Figure 2 is a schematic diagram of processing visible light images, thermal imaging images, and grayscale images according to a smart kitchen monitoring method of the present invention, illustrating the specific process of processing visible light images, thermal imaging images, and grayscale images. The flowchart shown in Figure 2 includes the following steps.
[0044] Step S21, whether there is an area with excessively large difference in infrared radiation. In this embodiment, the process of acquiring infrared radiation information is as follows: the thermal imaging camera acquires a thermal imaging image within the target range, and then acquires infrared radiation information and temperature information from the thermal imaging image. Specifically, after the thermal imaging camera acquires the thermal imaging image within the target range, it transmits it to the memory, and the central controller reads the thermal imaging image in the memory, and acquires infrared radiation information and temperature information from the thermal imaging image. If it is determined that the difference in front and back infrared radiation within the circular area with the effective range as the radius of the device involving electricity and fire is too large or the temperature exceeds the set value, then step S22 is executed; if there is no area with excessively large difference in infrared radiation, then step S23 is executed. In this way, the entire process of acquiring temperature information is rapid, and the information acquired is very accurate, which not only achieves the purpose of accurately identifying whether a fire has occurred, but also achieves the purpose of high efficiency.
[0045] Step S22: Transmit the open flame abnormality to the central controller. The central controller will mark the existence of the open flame abnormality and control the image monitoring module to capture the open flame situation for subsequent classification of the open flame abnormality.
[0046] Step S23 compares the contrast of each region in the grayscale image. In this embodiment, the visible light image is converted into a weighted average grayscale value image. The central controller then uses the YOLO V5 algorithm in OpenCV to identify the presence of oil contamination using ripple contrast as a feature. Pollutant identification is achieved by comparing the previous and next images, identifying the pollutant by comparing the initial image with the current image.
[0047] Step S24, determining whether there is oil stain. In this embodiment, when there is a level difference in the ripple contrast or there is a difference between the initial image and the current image, it is considered that there is oil stain, and step S25 is executed. If there is no oil stain, step S26 is executed.
[0048] Step S25: Transmitting the abnormal oil pollution situation to the central controller. If the above step S24 determines that there is oil pollution, the central controller will mark the presence of the abnormal oil pollution situation and control the image monitoring module to capture the oil pollution situation, and subsequently classify the abnormal oil pollution situation.
[0049] Step S26: Analyze the visible light image frame by frame. In this embodiment, the target area is the entire smart kitchen. Living creature detection identifies the presence of living creatures by identifying moving objects in the visible light image. Furthermore, this embodiment analyzes the video captured by the camera frame by frame, detecting dynamic area changes in the video frames to identify the presence of living creatures. The specific steps are: converting each RGB image frame into a binary grayscale image, filtering the binary grayscale image, and then using a frame difference algorithm to obtain a binary motion frame difference. The presence of living creatures is determined based on the motion frame difference.
[0050] Step S27: Detecting the presence of living creatures. In this embodiment, if the brightness difference between the previous and next frames is greater than a threshold, it is determined that a living creature exists in the image, and step S28 is executed. If the brightness difference between the previous and next frames is less than the threshold, it is determined that no living creature exists in the image, and step S29 is executed.
[0051] Step S28: Transmit the abnormal condition of living things to the central controller. If the presence of living things is determined in step S27, the central controller will mark the presence of abnormal condition of living things and control the image monitoring module to capture the abnormal condition of living things. The abnormal condition of living things will be classified later.
[0052] Step S29: Transmitting the abnormality to the central controller. That is, when all the above steps determine that there is no abnormality, the central controller will mark it as abnormal, and at the same time feedback the monitoring information that meets the abnormality preset, and will continue to monitor the target range in real time.
[0053] Figure 3 is a schematic diagram of the process of the central controller controlling the problem processing module to solve abnormal situations in the smart kitchen monitoring method of the present invention, illustrating the process of classifying abnormal situations. The flowchart shown in Figure 3 includes the following steps.
[0054] In step S30, the central controller identifies the type of abnormality. The central controller determines the type of abnormality received and then handles it according to the appropriate method. In this embodiment, if the abnormality is an open flame, steps S310-S314 are executed; if the abnormality is a living thing, steps S320-S323 are executed; and if the abnormality is an oil stain, steps S330-S333 are executed.
[0055] Step S310: Open flame abnormality: The central controller determines that the received abnormality is an open flame abnormality.
[0056] In step S311, the central controller obtains temperature information. In this embodiment, temperature information is acquired in real time by a temperature sensor and uploaded to a memory. The central memory reads the real-time temperature from the memory. The temperature information includes the temperature of a circular area with the maximum operating range of the electrical and fire-related components as the radius. In this embodiment, the electrical and fire-related components include power strips, power strip plugs, electrical appliance plugs, manipulators, robots, and boilers.
[0057] In step S312, the central controller obtains a visible light image and identifies flame color. In this embodiment, flame color identification is performed by color-enhancing an image of an open flame captured from a visible light image, followed by similarity comparison and classification using deep learning. Specifically, the flame color information is acquired by capturing a specific open flame image using the visible light image, converting the RGB image of the open flame image into a hyperspectral HSI image, smoothing two of the three HSI components (saturation and brightness), and then converting the smoothed HSI image into an RGB image to obtain a color-enhanced image, which represents the flame color information. After acquiring the flame color information, flame classification is performed using a deep learning algorithm. In this embodiment, OpenCV is used, and the YOLO V5 algorithm is used for convolutional neural network deep learning. Specifically, the model in this embodiment includes flame colors including light blue, blue, bluish-purple, pale, orange, orange-yellow, yellow, red, and dark red, with a temperature range of 100°C to 2000°C. Flame types are classified based on the corresponding flame colors and temperatures.
[0058] In step S313, the central controller's problem handling module classifies open flames. In this embodiment, flame colors include: light blue, blue, bluish-purple, pale, orange, orange-yellow, yellow, red, and dark red. Temperatures range from 100°C to 2000°C. Flame types are classified based on the corresponding flame colors and temperatures. Specifically, flames can be classified as alcohol combustion, electrical appliance combustion, boiler combustion, gas combustion, and oil fume combustion.
[0059] In step S314, the central controller's problem handling module handles the fire according to the corresponding open flame type. In this embodiment, different fire types are handled differently, such as spraying dry powder for electrical appliances and spraying water for oil smoke and boilers. The user end is also notified of the type of fire, making the process more rapid.
[0060] Step S320: Living creature abnormality: The central controller determines that the received abnormality is a living creature abnormality.
[0061] In step S321, the central controller problem processing module obtains the grayscale image contour. In this embodiment, grayscale image contour recognition involves performing edge detection on the grayscale image to obtain an edge-detected image, and then performing deep learning to perform similarity comparison and classification. Specifically, the steps include obtaining a weighted average grayscale image from the visible light image, performing Gaussian blur processing on the weighted average grayscale image, binarizing the grayscale image after processing to obtain a binarized grayscale image, performing edge detection on the binarized grayscale image to obtain an edge-detected image, and then plotting the obtained grayscale image contour after edge detection.
[0062] In step S322, the central controller's problem processing module classifies the living creatures. In this embodiment, after obtaining the grayscale image outline, OpenCV is used to extract the outline features. Deep learning using a convolutional neural network is then used to identify the living creature's type through comparison. This model can identify living creatures including pests such as mice and cockroaches, as well as humans.
[0063] In step S323, the central controller problem processing module processes the corresponding living creatures according to their types. In this embodiment, different processing is selected for different living creatures, such as capturing harmful creatures and driving away or alarming humans.
[0064] Step S330: Oil pollution abnormality: The central controller determines that the received abnormality is an oil pollution abnormality.
[0065] In step S331, the central controller obtains the symbiotic matrix oil stain texture features from the grayscale image. In this embodiment, the grayscale symbiotic matrix information is obtained by using OpenCV to obtain the grayscale symbiotic matrix texture map from the converted binary grayscale image. The specific steps are: generating a binary grayscale image from the visible light image, then filtering it, and then performing edge detection and refinement after filtering. The specific oil stain texture image is cut from the processed image to obtain the grayscale symbiotic matrix texture map.
[0066] In step S332, the central controller's problem processing module classifies the oil stain. In this embodiment, the visible light image is converted into a weighted average grayscale value image. The central controller then uses the YoloV5 algorithm in OpenCV to use ripple contrast as a feature to identify the presence of oil stains. Specifically, in this embodiment, the specific characteristics of the oil stain include: flow direction and density. Through deep learning of the oil stain image, the differences in the feature values with contrast as the main feature option are identified, thereby classifying the oil stain. In this embodiment, the classification method for pollutants is the same as the classification method for living things described above, and pollutants are classified by identifying contours.
[0067] In step S333, the central controller's problem handling module processes the oil pollution according to its type. In this embodiment, oil, a relatively difficult pollution to clean, can be treated accordingly by identifying its type and degree of contamination. For pollutants, after identifying and classifying them based on their contours, a corresponding treatment method can be selected. For example, vegetable leaves can be recycled, while contaminants like seasonings can be cleaned.
[0068] Example 2
[0069] In embodiment 2 shown in FIG4 , the present invention provides a smart kitchen monitoring system, comprising an image monitoring module and a sensor monitoring module. After the sensor monitoring module and the image monitoring module detect an object, they classify living things and pollutants through contour recognition training; after the sensor monitoring module and the image monitoring module detect an open flame, they classify the open flame through color recognition and the sensor monitoring module temperature monitoring; after the sensor monitoring module and the image monitoring module detect oil stains, they classify the oil stains through grayscale image training.
[0070] FIG4 is a schematic structural diagram of a smart kitchen monitoring system of the present invention, which illustrates the functional modules of the smart kitchen monitoring system.
[0071] Specifically, in this embodiment, the smart kitchen monitoring system 40 includes a sensor monitoring module 402 for monitoring the temperature within a target range, an image monitoring module 401 for recording visible light images, an image processing module 403 for processing visible light images and obtaining information, and a problem processing module 404 for classifying and processing abnormal situations.
[0072] Specifically, in this embodiment, the sensor monitoring module 402 includes a temperature sensor that monitors temperature information. This information is acquired in real time by the temperature sensor and uploaded to a memory, from which the central memory reads the real-time temperature. The temperature information includes the temperature of a circular area with the maximum operating range of electrical and fire-related devices as its radius. In this embodiment, electrical and fire-related devices include power strips, power strip plugs, appliance plugs, manipulators, robots, and boilers.
[0073] Specifically, in this embodiment, the image monitoring module 401 includes five cameras and five thermal imaging cameras, each used to capture visible light images and thermal images within the target range. The cameras capture and record visible light images and transfer them to a memory in real time. The central controller then retrieves the visible light images from the memory. The thermal imaging cameras capture thermal images of the target range and then extract infrared radiation and temperature information from the thermal images. Specifically, the thermal imaging cameras capture the thermal images of the target range and transfer them to the memory. The central controller then reads the thermal images from the memory and extracts infrared radiation and temperature information from the thermal images.
[0074] Specifically, in this embodiment, image processing module 403 is integrated into the central controller and is used to execute the code corresponding to the steps of the above-mentioned method for processing images and obtaining information. The image processing module obtains infrared radiation information and temperature information from the thermal imaging image; uses OpenCV to obtain a grayscale co-occurrence matrix texture map from the converted binary grayscale image; captures a specific open flame image using the above-mentioned visible light image, converts the RGB image of the open flame image into a hyperspectral HSI image, smoothes two of the three components of the HSI, namely saturation and brightness, and then converts the smoothed HSI image into an RGB image to obtain a color-enhanced image. After image processing, the image processing module will also acquire information. After the thermal imaging camera acquires the thermal imaging image within the target range, it is transferred to the memory. The image processing module in the central controller reads the thermal imaging image from the memory and obtains infrared radiation information and temperature information from the thermal imaging image. The visible light image is converted into a weighted average grayscale value image. Then, the central controller uses the yoloV5 algorithm in OpenCV and uses ripple contrast as a feature to identify the presence of oil stains. Pollutants are identified by comparing the difference between the initial image and the current image. The video captured by the camera is analyzed frame by frame, and dynamic area change detection is performed on the video frames to identify the presence of living things. The specific steps are: converting the RGB image of each frame into a binary grayscale image, then filtering the binary grayscale image, and then using the frame difference algorithm to obtain a binary motion frame difference. The presence of living things is determined based on the motion frame difference.
[0075] Specifically, in this embodiment, the problem handling module 404 is integrated into the central controller and is used to execute the code for classifying abnormal situations and processing the corresponding abnormal situations. The problem handling module in the central controller determines the type of abnormal situation received and then handles it according to the method for handling the abnormal situation. When the problem handling module in the central controller determines that the abnormal situation is an open flame abnormality, it classifies the flame using a deep learning algorithm. In this embodiment, the tool used is OpenCV, and the YOLO V5 algorithm is used for convolutional neural network deep learning. The flame type is classified by correspondingly classifying the flame color and temperature. The problem handling module classifies the open flame and handles the problem according to the corresponding open flame type. When the problem handling module determines that the abnormal situation is a living thing abnormality, the problem handling module obtains the grayscale image contour. In this embodiment, grayscale image contour recognition is to perform edge detection on the grayscale image to obtain an edge detection image, then perform deep learning to perform similarity comparison and classification. The problem handling module then classifies the living thing. In this embodiment, after obtaining the grayscale image contour, the tool OpenCV is used to extract contour features, and convolutional neural network deep learning is performed to identify the type of living thing through comparison. The problem handling module handles the problem according to the corresponding living thing type. When the problem handling module determines that the abnormal situation is an oil pollution abnormality, the problem handling module classifies the oil pollution. In this embodiment, the visible light image is converted into a weighted average grayscale value image, and then the YoloV5 algorithm is used in OpenCV to use the ripple contrast as a feature to identify whether there is oil pollution. The problem handling module then processes the oil pollution according to the corresponding type.
[0076] Example 3
[0077] In embodiment 3 shown in FIG5 , the present invention provides a smart kitchen monitoring device, comprising: a memory for storing a computer program; and a central controller for implementing the steps of the smart kitchen monitoring method described in embodiment 1 above when executing the computer program.
[0078] FIG5 is a schematic diagram of the structure of a smart kitchen monitoring electronic device according to the present invention, illustrating the structure of the electronic device.
[0079] In this embodiment, the smart kitchen monitoring electronic device 50 includes a central controller 510 and a memory 550 coupled to the central controller 510. The central controller 510 is configured to execute instructions stored in the memory 550 to implement the smart kitchen monitoring method described in Example 1. Specifically, in this embodiment, to maintain high efficiency for deep learning, the central controller 510 is a workstation containing a high-performance processor, and the memory 550 is an ultra-high-performance server.
[0080] In this embodiment, the smart kitchen monitoring electronic device 50 also includes input / output interfaces 560, a network interface 520, a storage interface 540, and the like. These interfaces, as well as the central controller 510 and the storage 550, can be connected via a communication bus 530 or a wireless network. Specifically, the input / output interface 560 provides a connection interface for input / output devices such as a display, mouse, and keyboard. The network interface 520 provides a connection interface for various networked devices. The storage interface 540 provides a connection interface for external storage devices such as SD cards and mobile hard drives.
[0081] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0082] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0084] Although this document frequently uses terms such as image monitoring module, sensor monitoring module, image processing module, memory, and central controller, the use of other terms is not excluded. These terms are used solely to more conveniently describe and explain the essence of the present invention; interpreting them as any additional limitations would be contrary to the spirit of the present invention.
[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A smart kitchen monitoring method, which obtains visible light images and thermal imaging images through an image monitoring module. It is characterized in that The following steps are involved: Generate a grayscale image through a visible light image within the target range; Processing the visible light image, the thermal imaging image and the grayscale image to obtain monitoring information, wherein the monitoring information includes infrared radiation information and grayscale co-occurrence matrix information within the target range, flame color information and before-after difference information of the visible light image; Determining whether the monitoring information satisfies the no-abnormal preset; in, The no-abnormality preset is: the object does not exist in the target range and the temperature in the target range does not exceed the set value, wherein the object is a living thing and a pollutant in the target range.
2. The smart kitchen monitoring method according to claim 1, It is characterized in that Before generating the grayscale image through the visible light image, the method further includes: Acquire visible light images and thermal imaging images obtained by the image monitoring module within the target range; Obtain the monitoring values of the sensor monitoring module within the target range and obtain basic information; in, The basic information includes temperature information within the target range and object information within the target range.
3. The smart kitchen monitoring method according to claim 1 or 2, It is characterized in that After generating the grayscale image through the visible light image, the method further includes: When the pre-set condition of no abnormality is met, the central controller repeats the above monitoring method steps; When the no-abnormal preset is not met, the central controller controls the problem handling module to resolve the abnormal situation; in, The abnormal situation is that the object exists in the target range or the temperature in the target range exceeds a set value.
4. The smart kitchen monitoring method according to claim 2, It is characterized in that The processing of the visible light image, the thermal imaging image and the grayscale image comprises: Compare the infrared radiation differences in the thermal imaging images to determine whether there are areas with excessively large infrared radiation differences; Compare the contrast of each area in the grayscale image to determine whether there is an area with excessively large contrast differences; Compare the before and after differences of the visible light image to determine whether there are areas with large differences; Obtain the texture features of the grayscale image co-occurrence matrix; Get the grayscale Gaussian blurred contour image; The flame color in the visible light image is obtained.
5. The smart kitchen monitoring method according to claim 4, It is characterized in that The process of the central controller controlling the problem processing module to solve the abnormal situation includes: Classifying living things according to the grayscale image recognition contour; Classifying the oil pollution according to the oil pollution texture features or identification contours of the co-occurrence matrix; Classifying flames according to the flame color and temperature information; The processes are performed separately according to the classification.
6. The smart kitchen monitoring method according to claim 5, It is characterized in that The classifications are processed separately including: Use different methods to deal with different types of open flames; Use drive or capture to deal with different kinds of living things Use different cleaning methods to deal with different types of oil stains.
7. The smart kitchen monitoring method according to claim 1 or 2 or 4 or 5 or 6, It is characterized in that The temperature information includes: the temperature of a designated temperature measurement area; The object information includes: living things and pollutants within the target range; The designated temperature measurement area includes: a circular area with the maximum action range of the device involving electricity and fire as the radius.
8. A smart kitchen monitoring system, including an image monitoring module and a sensor monitoring module, It is characterized in that After the sensor monitoring module and the image monitoring module detect the object, they classify the living things and pollutants through contour recognition training; After the sensor monitoring module and the image monitoring module detect an open flame, the open flame is classified by color recognition and the temperature monitoring of the sensor monitoring module; After the sensor monitoring module and the image monitoring module detect the oil stain, the oil stain is classified through grayscale image training.
9. The smart kitchen monitoring system according to claim 8, It is characterized in that The system also includes: an image processing module and a problem processing module; The image processing module assists in classifying the anomaly after the sensor monitoring module detects the anomaly; The problem handling module handles living things, open flames and oil pollution after the sensor monitoring module classifies the abnormalities.
10. A smart kitchen monitoring device, It is characterized in that include: Memory for storing computer programs; A central controller is used to implement the steps of the smart kitchen monitoring method as described in any one of claims 1 to 7 when executing the computer program.
Citation Information
Patent Citations
Unmanned overflow oil automatic recycling system and working method thereof
CN108547272A
Cooking safety auxiliary method and system, kitchen appliance and combination of kitchen appliance
CN111325047A
Machine learning fire extinguishing system and method based on cloud computing and fire fighting equipment
CN112657109A
Combustion substance identification method, electronic equipment and readable storage medium
CN114241389A
Method and system for supervising safety of kitchen food in real time
CN115100583A
Cited By
Method and system for monitoring overload of diesel generator
CN119373600A
