WO2021082284A1 - Baking mold specification detection method and apparatus, and kitchen appliance - Google Patents

Baking mold specification detection method and apparatus, and kitchen appliance Download PDF

Info

Publication number
WO2021082284A1
WO2021082284A1 PCT/CN2020/071670 CN2020071670W WO2021082284A1 WO 2021082284 A1 WO2021082284 A1 WO 2021082284A1 CN 2020071670 W CN2020071670 W CN 2020071670W WO 2021082284 A1 WO2021082284 A1 WO 2021082284A1
Authority
WO
WIPO (PCT)
Prior art keywords
mold
baking mold
baking
information
area
Prior art date
Application number
PCT/CN2020/071670
Other languages
French (fr)
Chinese (zh)
Inventor
刘彦甲
苏明月
高进宝
李玉强
冯浩
王华伟
王京华
Original Assignee
青岛海尔智能技术研发有限公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔智能技术研发有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔智能技术研发有限公司
Publication of WO2021082284A1 publication Critical patent/WO2021082284A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds

Definitions

  • This application relates to the technical field of smart equipment, for example, it relates to a method and device for detecting the specifications of a baking mold, and kitchen appliances.
  • kitchen electrical equipment such as ovens, microwave ovens, air fryer, etc.
  • the size and weight of the food can be determined by identifying the type of food and the weight detection device, thereby determining the kitchen
  • the set temperature and the set time of the electric equipment to roast the food to achieve the purpose of roasting the food.
  • weight detection devices to kitchen appliances, such as gravity sensors, will increase the manufacturing cost of the kitchen appliances.
  • performance and service life of the weight detection devices will affect the size and weight of the ingredients, resulting in the size and weight of the ingredients. The weight is not accurate enough.
  • the embodiments of the present disclosure provide a method, device and kitchen electrical equipment for detecting the specifications of a baking mold, so as to solve the technical problem that the kitchen electrical equipment determines that the specification information of the baking mold is not accurate enough.
  • the method includes:
  • the mold specification corresponding to the area information is determined.
  • the device includes:
  • the image acquisition module is configured to acquire an image of the working area of the kitchen appliance on which the baking mold is placed;
  • the model training module is configured to train the image through a convolutional neural network model, determine the image information of the position of the baking mold in the kitchen appliance, and divide the set surface of the baking mold Image information
  • An area determination module configured to determine area information of a set surface of the baking mold according to the position image information and the segmented image information
  • the specification determination module is configured to determine the mold specification corresponding to the area information according to the stored correspondence relationship between the mold area and the mold specification.
  • the baking mold specification detection device includes a processor and a memory storing program instructions, and the processor is configured to execute the above baking mold specification detection method when the program instructions are executed.
  • the kitchen electrical equipment includes: the aforementioned baking mold specification detection device.
  • the method, device and kitchen electrical equipment for baking mold specification detection provided by the embodiments of the present disclosure can achieve the following technical effects:
  • FIG. 1 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of a MobileNet model training provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a binary mask matrix provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a bit-wise multiplication provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure.
  • Fig. 8 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure.
  • the image of the working area of the kitchen appliance is deep learning through the convolutional neural network model to obtain the specification information of the baking mold in which the food is placed in the kitchen appliance.
  • the content of the food in the baking mold can be determined Specification information, and further control the baking of ingredients.
  • FIG. 1 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure. As shown in Figure 1, the process of baking mold specification inspection includes:
  • Step 101 Obtain an image of the working area of the kitchen electrical equipment on which the baking mold is placed.
  • the kitchen electrical equipment includes: ovens, microwave ovens, air fryer and other equipment with baking function. These kitchen appliances can bake or roast the ingredients put in the baking mold.
  • Baking molds are objects that can only place ingredients and have a certain shape, such as: baking molds corresponding to cakes, baking molds corresponding to bread, etc. Therefore, generally, the specification information of the baking mold can be determined to determine the ingredients in the baking mold Specification information.
  • the kitchen appliance may be equipped with an image acquisition device, so that the image of the working area of the kitchen appliance on which the baking mold is placed can be acquired through the image acquisition device.
  • Step 102 Train the image through the convolutional neural network model to determine the image information of the position of the baking mold in the kitchen appliance and the segmented image information of the set surface of the baking mold.
  • CNN Convolutional Neural Network
  • different neural network models can be used to train the images respectively to obtain the position image information of the baking mold in the kitchen appliance and the segmented image information of the set surface of the baking mold.
  • the neural compression network model can be used to train the image to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance; the network model can also be segmented by examples to train the image to obtain the design of the baking mold.
  • the binarization mask matrix of a given surface can be used to train the images respectively to obtain the position image information of the baking mold in the kitchen appliance and the segmented image information of the set surface of the baking mold.
  • Kitchen appliances such as ovens, air fryer, etc.
  • the baking mold can be placed on different grills. Therefore, the image can be trained through the neural compression network model , The level position of the baking mold in the kitchen electrical equipment is obtained, and then the baking mold can be determined on which layer of the grill.
  • MobileNet is a lightweight neural compression network model, which has the advantages of small size and high accuracy. It can reduce response delay while ensuring accuracy, and can achieve rapid convergence. Use this lightweight Network training can also reduce the amount of calculation, thereby reducing the requirements for hardware equipment.
  • the image is trained through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance.
  • the image is trained through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance.
  • other types of neural compression network models can also train images to obtain image information of the position of the baking mold in the kitchen appliance.
  • Fig. 2 is a schematic diagram of a MobileNet model training provided by an embodiment of the present disclosure.
  • the level position of the baking mold in the oven can be determined.
  • the first level can be determined and the results can be obtained.
  • the grid mapping matrix is a two-dimensional matrix with the same size as the picture taken by the camera, and the value of each element represents the actual area corresponding to the corresponding position.
  • Mask-RCNN is an instance segmentation network model. Through the Mask-RCNN algorithm model, segmentation tasks, positioning and classification tasks can be completed at the same time, and the mask image corresponding to the image can be obtained.
  • the setting surface may be on the mold. surface.
  • the Mask-RCNN obtained by training judges the type of mold and obtains the corresponding binarized mask matrix. Among them, the types of molds may include: sponge cake molds, toast molds, and the like.
  • the image is trained to obtain the binarization mask matrix of the setting surface of the baking mold and the type information of the mold.
  • FIG. 3 is a schematic diagram of a binary mask matrix provided by an embodiment of the present disclosure.
  • the obtained image is input into the Mask-RCNN model, and the instance segmentation is performed according to each pixel in the image, and the information is accurately labeled, so that the type judgment and precise position segmentation of the baking mold can be realized, and the result is shown in Figure 3.
  • other types of instance segmentation network models can also be trained on the image to obtain segmented image information of the set surface of the baking mold.
  • Step 103 Determine the area information of the set surface of the baking mold according to the position image information and the segmented image information.
  • the position image information and segmented image information of the baking mold have been known, so that the area information of the set surface of the baking mold can be determined, which can include: position image information and segmented image information, the position image information and segmented image corresponding to the same pixel Information is processed by calculation, such as: addition, multiplication, or weighted addition, etc. Then, the information that meets the set conditions after processing is retained, and based on the retained information, the area information of the set surface of the baking mold is obtained. For example: retain the information that is not equal to 0, or the information greater than the set value, and add the retained information, calculate the difference, or weighted addition, etc., to obtain the area information of the set surface of the baking mold.
  • the position image information and segmented image information corresponding to the same pixel are subjected to the first calculation process, and the information that meets the set conditions after the processing is retained, and the second calculation process is performed according to the retained information to obtain the setting surface area of the baking mold information.
  • the grid mapping matrix and the binarized mask matrix can be multiplied by bit to obtain the area matrix information of the setting surface of the baking mold; and the element values in the area matrix information can be summed. , Get the area information of the setting surface of the baking mold.
  • Fig. 4 is a schematic diagram of a bitwise multiplication provided by an embodiment of the present disclosure. As shown in Figure 4, by multiplying the grid mapping matrix and the binarization mask matrix, the background area in the image can be masked and only the corresponding area of the mold setting surface is retained, that is, the result matrix in Figure 4 is baked The area matrix information of the setting surface of the mold, and the binarization matrix is the binarization mask moment in this embodiment.
  • the element values in the area matrix information are summed to obtain the area information of the set surface of the baking mold.
  • Step 104 Determine the mold specification corresponding to the area information according to the stored corresponding relationship between the mold area and the mold specification.
  • the mold specifications are standard, such as 6 inches, 7 inches, and 8 inches.
  • the corresponding relationship between the mold area and the mold specifications can be configured in advance, for example, the corresponding relationship between the upper surface area of the mold and the mold specifications can be configured according to Configure the saved correspondence to determine the mold specifications corresponding to the area information in the above process.
  • the types of molds may include: sponge cake molds, toast molds, and the like.
  • the type information of the baking mold can also be obtained in other ways, for example, according to the instruction information input by the user, the type information of the baking mold is obtained.
  • the image of the working area of the kitchen appliance is deep learning through the convolutional neural network model to obtain the specification information of the baking mold in which the food is placed in the kitchen appliance.
  • the specification information of the ingredients is used to further control the baking of the ingredients.
  • the mold specifications can be identified without adding any hardware equipment, which reduces the manufacturing resources of kitchen appliances, and does not rely on the performance of the weight measurement hardware equipment, which improves the accuracy of determining mold specifications.
  • the mold is put in the kitchen appliance to bake or bake the food. Therefore, after determining the mold specification corresponding to the area information, it also includes: according to the mold specification of the baking mold, the baking control of the food placed in the baking mold is performed.
  • the baking process corresponding to the mold type information can be determined, and the mold specifications of the baking mold can determine the specific parameters of the baking process, such as: baking time, baking Temperature and so on, thus, by running the baking process with determined parameters, the baking control of the ingredients put into the baking mold can be realized.
  • the specific parameters of the baking process such as: baking time, baking Temperature and so on
  • the specification information of the ingredients in the baking mold is determined, and the baking control of the ingredients is further carried out. It can be seen that there is no need to add any hardware equipment. In the process of identifying the types of ingredients, the specifications of the ingredients can also be determined, which reduces the manufacturing resources of kitchen electrical equipment, and does not rely on the performance of the weight measurement hardware equipment to improve the determination of the specifications of the ingredients. The accuracy of the information.
  • the corresponding relationship between the mold area and the mold specification that matches the mold type is stored in the oven.
  • FIG. 5 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure. As shown in Figure 5, the baking mold specification inspection process includes:
  • Step 501 Obtain an image of the working area of the oven where the baking mold is placed.
  • a camera is built into the oven, so that an image of the working area of the oven can be obtained through the camera.
  • Step 502 Train the image through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance.
  • Step 503 Train the image through the Mask-RCNN model to obtain the binarized mask matrix of the set surface of the baking mold and the type information of the mold.
  • step 502 and step 503 is not limited, and can be performed simultaneously or sequentially.
  • Step 504 Perform bitwise multiplication processing on the grid mapping matrix and the binarized mask matrix to obtain the area matrix information of the set surface of the baking mold.
  • Step 505 Perform a summation process on the element values in the area matrix information to obtain the area information of the set surface of the baking mold.
  • Step 506 Determine the corresponding relationship between the mold area and the mold specification that matches the type information of the mold, and determine the mold specification corresponding to the area information according to the matched correspondence.
  • the image of the working area in the oven can be deep-learned through the convolutional neural network model to obtain the specification information of the baking mold where the ingredients are placed.
  • the specification information of the ingredients in the baking mold can be determined, so that:
  • the specifications of the mold can be determined without adding any hardware equipment, which reduces the manufacturing resources of the oven, and does not rely on the performance of the weight measurement hardware equipment, which improves the accuracy of determining the mold specification information.
  • a baking mold specification detection device can be constructed.
  • Fig. 6 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure.
  • the baking mold specification detection device includes: an image acquisition module 610, a model training module 620, an area determination module 630, and a specification determination module 640.
  • the image acquisition module 610 is configured to acquire an image of the working area of the kitchen appliance on which the baking mold is placed.
  • the model training module 620 is configured to train the image through the convolutional neural network model, determine the position image information of the baking mold in the kitchen appliance, and the segmented image information of the set surface of the baking mold.
  • the area determination module 630 is configured to determine the area information of the set surface of the baking mold according to the position image information and the segmented image information.
  • the specification determining module 640 is configured to determine the mold specification corresponding to the area information according to the stored correspondence relationship between the mold area and the mold specification.
  • the model training module 620 is specifically configured to train the image through the neural compression network model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance; segment the network model by example, The image is trained to obtain the binarized mask matrix of the setting surface of the baking mold.
  • the area determining module 630 is specifically configured to perform a bitwise multiplication process on the grid mapping matrix and the binarized mask matrix to obtain the area matrix information of the setting surface of the baking mold; and the area matrix information The element values in are summed to obtain the area information of the setting surface of the baking mold.
  • it further includes: a baking control module configured to perform baking control on the ingredients put into the baking mold according to the mold specifications of the baking mold.
  • the following is an example to illustrate the baking mold specification detection process performed by the baking mold specification detection device provided by the embodiment of the present disclosure.
  • Fig. 7 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure.
  • the baking mold specification detection device includes: an image acquisition module 610, a model training module 620, an area determination module 630, and a specification determination module 640, and may also include a baking control module 650.
  • the image acquisition module 610 can acquire an image of the working area of the kitchen appliance on which the baking mold is placed.
  • the model training module 620 can train the image through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance, and train the image through the Mask-RCNN model to obtain the baking mold Set the surface binarization mask matrix and mold type information.
  • the area determination module 630 can perform a bitwise multiplication process on the grid mapping matrix and the binarization mask matrix to obtain the area matrix information of the setting surface of the baking mold, and sum the element values in the area matrix information After processing, the area information of the set surface of the baking mold is obtained.
  • the specification determination module 640 can determine the correspondence between the mold area and the mold specification that matches the type information of the mold, and determine the mold specification corresponding to the area information according to the matched correspondence.
  • the baking process corresponding to the mold type information can be determined, and the mold specifications of the baking mold can determine the specific parameters of the baking process, such as: baking time, baking temperature, etc. Therefore, the baking control module 650 can perform baking control on the food material put into the baking mold according to the baking process with the determined parameters.
  • the baking mold specification detection device after the baking mold specification detection device acquires the image of the working area in the kitchen appliance, it performs deep learning through the convolutional neural network model to obtain the specification information of the baking mold in which the food is placed in the kitchen appliance. , Can determine the specification information of the ingredients in the baking mold, and further control the baking of the ingredients. There is no need to add any hardware equipment. In the process of identifying the type of food, the specifications of the baking mold and the food can also be determined, which reduces the manufacturing resources of the kitchen electrical equipment, and does not rely on the performance of the weight measurement hardware equipment to improve the determination of the food Accuracy of specification information.
  • the embodiment of the present disclosure provides a device for detecting the specification of a baking mold, the structure of which is shown in FIG. 8 and includes:
  • a processor (processor) 100 and a memory (memory) 101 may also include a communication interface (Communication Interface) 102 and a bus 103. Among them, the processor 100, the communication interface 102, and the memory 101 can communicate with each other through the bus 103. The communication interface 102 can be used for information transmission.
  • the processor 100 may call the logic instructions in the memory 101 to execute the method for detecting the specifications of the baking mold in the foregoing embodiment.
  • logic instructions in the memory 101 can be implemented in the form of software functional units and when sold or used as independent products, they can be stored in a computer readable storage medium.
  • the memory 101 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 100 executes functional applications and data processing by running the program instructions/modules stored in the memory 101, that is, implements the baking mold specification detection method in the foregoing method embodiment.
  • the memory 101 may include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a terminal device, and the like.
  • the memory 101 may include a high-speed random access memory, and may also include a non-volatile memory.
  • the embodiment of the present disclosure provides a kitchen appliance, which includes the above-mentioned baking mold specification detection device.
  • the embodiment of the present disclosure provides a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are configured to execute the above-mentioned baking mold specification detection method.
  • the embodiments of the present disclosure provide a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer program The computer executes the above-mentioned baking mold specification detection method.
  • the aforementioned computer-readable storage medium may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
  • the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which can be a personal computer, a server, or a network). Equipment, etc.) execute all or part of the steps of the method described in the embodiments of the present disclosure.
  • the aforementioned storage medium may be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc.
  • the first element can be called the second element, and likewise, the second element can be called the first element, as long as all occurrences of the "first element” are renamed consistently and all occurrences "Second component” can be renamed consistently.
  • the first element and the second element are both elements, but they may not be the same element.
  • the terms used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms "a” (a), “an” (an) and “the” (the) are intended to also include plural forms .
  • the term “and/or” as used in this application refers to any and all possible combinations of one or more of the associated lists.
  • the term “comprise” (comprise) and its variants “comprises” and/or including (comprising) and the like refer to the stated features, wholes, steps, operations, elements, and/or The existence of components does not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components, and/or groups of these. If there are no more restrictions, the element defined by the sentence “including one" does not exclude the existence of other same elements in the process, method, or device that includes the element.
  • each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other.
  • the methods, products, etc. disclosed in the embodiments if they correspond to the method parts disclosed in the embodiments, then the related parts can be referred to the description of the method parts.
  • the disclosed methods and products may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units may only be a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units can be selected to implement this embodiment according to actual needs.
  • the functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logic function.
  • Executable instructions may also occur in a different order than the order marked in the drawings. For example, two consecutive blocks can actually be executed in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Food Science & Technology (AREA)
  • Image Analysis (AREA)

Abstract

A baking mold specification detection method and apparatus, and a kitchen appliance. The method comprises: obtaining an image of a working area of a kitchen appliance where a baking mold is placed; training the image by means of a convolutional neural network model, and determining location image information of the baking mold in the kitchen appliance, and segmentation image information of a set surface of the baking mold; according to the location image information and the segmentation image information, determining area information of the set surface of the baking mold; and according to stored correspondence between mold areas and mold specifications, determining a mold specification corresponding to the area information. Therefore, the accuracy in determining baking mold specification information is improved.

Description

烘焙模具规格检测的方法及装置、厨电设备Method and device for detecting baking mold specifications, and kitchen electrical equipment
本申请基于申请号为201911045086.9、申请日为2019年10月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201911045086.9 and an application date of October 30, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本申请涉及智能设备技术领域,例如涉及烘焙模具规格检测的方法及装置、厨电设备。This application relates to the technical field of smart equipment, for example, it relates to a method and device for detecting the specifications of a baking mold, and kitchen appliances.
背景技术Background technique
目前,厨电设备,例如:烤箱,微波炉,空气炸锅等等都具有烤制食物的功能,一般,可通过识别食材的种类,以及通过重量检测装置确定食材的尺寸以及重量,从而,确定厨电设备烤制食物的设定温度以及设定时间,达到烤制食材的目的。At present, kitchen electrical equipment, such as ovens, microwave ovens, air fryer, etc., have the function of grilling food. Generally, the size and weight of the food can be determined by identifying the type of food and the weight detection device, thereby determining the kitchen The set temperature and the set time of the electric equipment to roast the food to achieve the purpose of roasting the food.
但是,在厨电设备中增加重量检测装置,例如重力传感器,会增加厨电设备的制造成本,并且,重量检测装置的性能、使用寿命等等都会影响食材的尺度以及重量,导致食材的尺寸以及重量不够准确。However, adding weight detection devices to kitchen appliances, such as gravity sensors, will increase the manufacturing cost of the kitchen appliances. Moreover, the performance and service life of the weight detection devices will affect the size and weight of the ingredients, resulting in the size and weight of the ingredients. The weight is not accurate enough.
发明内容Summary of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to have a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not a general comment, nor is it intended to determine key/important components or describe the scope of protection of these embodiments, but serves as a preface to the detailed description that follows.
本公开实施例提供了一种烘焙模具规格检测的方法、装置和厨电设备,以解决厨电设备确定烘焙模具规格信息不够准确的技术问题。The embodiments of the present disclosure provide a method, device and kitchen electrical equipment for detecting the specifications of a baking mold, so as to solve the technical problem that the kitchen electrical equipment determines that the specification information of the baking mold is not accurate enough.
在一些实施例中,所述方法包括:In some embodiments, the method includes:
获取放置了烘焙模具的厨电设备的工作区域的图像;Obtain an image of the working area of the kitchen electrical equipment with the baking mold;
通过卷积神经网络模型,对所述图像进行训练,确定所述烘焙模具在所述厨电设备中的位置图像信息,以及,所述烘焙模具的设定表面的分割图像信息;Training the image through a convolutional neural network model to determine the image information of the position of the baking mold in the kitchen appliance and the segmented image information of the setting surface of the baking mold;
根据所述位置图像信息和所述分割图像信息,确定所述烘焙模具的设定表面的面积信息;Determining the area information of the set surface of the baking mold according to the position image information and the segmented image information;
根据保存的模具面积与模具规格的对应关系,确定所述面积信息对应的模具规格。According to the stored corresponding relationship between the mold area and the mold specification, the mold specification corresponding to the area information is determined.
在一些实施例中,所述装置包括:In some embodiments, the device includes:
图像获取模块,被配置为获取放置了烘焙模具的厨电设备的工作区域的图像;The image acquisition module is configured to acquire an image of the working area of the kitchen appliance on which the baking mold is placed;
模型训练模块,被配置为通过卷积神经网络模型,对所述图像进行训练,确定所述烘焙模具在所述厨电设备中的位置图像信息,以及,所述烘焙模具的设定表面的分割图像信息;The model training module is configured to train the image through a convolutional neural network model, determine the image information of the position of the baking mold in the kitchen appliance, and divide the set surface of the baking mold Image information
面积确定模块,被配置为根据所述位置图像信息和所述分割图像信息,确定所述烘焙模具的设定表面的面积信息;An area determination module configured to determine area information of a set surface of the baking mold according to the position image information and the segmented image information;
规格确定模块,被配置为根据保存的模具面积与模具规格的对应关系,确定所述面积信息对应的模具规格。The specification determination module is configured to determine the mold specification corresponding to the area information according to the stored correspondence relationship between the mold area and the mold specification.
在一些实施例中,所述烘焙模具规格检测的装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在执行所述程序指令时,执行上述烘焙模具规格检测方法In some embodiments, the baking mold specification detection device includes a processor and a memory storing program instructions, and the processor is configured to execute the above baking mold specification detection method when the program instructions are executed.
在一些实施例中,所述厨电设备包括:上述烘焙模具规格检测的装置。In some embodiments, the kitchen electrical equipment includes: the aforementioned baking mold specification detection device.
本公开实施例提供的烘焙模具规格检测的方法、装置和厨电设备,可以实现以下技术效果:The method, device and kitchen electrical equipment for baking mold specification detection provided by the embodiments of the present disclosure can achieve the following technical effects:
对厨电设备的工作区域的图像,通过卷积神经网络模型,进行深度学习,得到厨电设备中放置食材的烘焙模具的规格信息,这样,可确定烘焙模具内食材的规格信息,从而,不需增加任何硬件设备,即可确定模具的规格,减少了厨电设备的制造资源,并且,不依赖重量测量硬件设备的性能,提高了确定模具规格信息的准确性。For the image of the working area of the kitchen electrical equipment, deep learning is carried out through the convolutional neural network model to obtain the specification information of the baking mold in which the ingredients are placed in the kitchen electrical equipment. In this way, the specification information of the ingredients in the baking mold can be determined. It is necessary to add any hardware equipment to determine the specifications of the mold, which reduces the manufacturing resources of kitchen appliances, and does not rely on the performance of the weight measurement hardware equipment, which improves the accuracy of determining the mold specification information.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The above general description and the following description are only exemplary and explanatory, and are not used to limit the application.
附图说明Description of the drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the accompanying drawings. These exemplified descriptions and drawings do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation, and among them:
图1是本公开实施例提供的一种烘焙模具规格检测方法的流程示意图;FIG. 1 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种MobileNet模型训练的示意图;Figure 2 is a schematic diagram of a MobileNet model training provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种二值化掩码矩阵的示意图;FIG. 3 is a schematic diagram of a binary mask matrix provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种对位相乘的示意图;FIG. 4 is a schematic diagram of a bit-wise multiplication provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种烘焙模具规格检测方法的流程示意图;FIG. 5 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种烘焙模具规格检测装置的结构示意图;6 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure;
图7是本公开实施例提供的一种烘焙模具规格检测装置的结构示意图;FIG. 7 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure;
图8是本公开实施例提供的一种烘焙模具规格检测装置的结构示意图。Fig. 8 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to have a more detailed understanding of the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a number of details are used to provide a sufficient understanding of the disclosed embodiments. However, without these details, one or more embodiments can still be implemented. In other cases, in order to simplify the drawings, well-known structures and devices may be simplified for display.
本公开实施例中,对厨电设备的工作区域的图像,通过卷积神经网络模型,进行深度 学习,得到厨电设备中放置食材的烘焙模具的规格信息,这样,可确定烘焙模具内食材的规格信息,进一步进行食材的烘焙控制。In the embodiments of the present disclosure, the image of the working area of the kitchen appliance is deep learning through the convolutional neural network model to obtain the specification information of the baking mold in which the food is placed in the kitchen appliance. In this way, the content of the food in the baking mold can be determined Specification information, and further control the baking of ingredients.
图1是本公开实施例提供的一种烘焙模具规格检测方法的流程示意图。如图1所示,烘焙模具规格检测的过程包括:FIG. 1 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure. As shown in Figure 1, the process of baking mold specification inspection includes:
步骤101:获取放置了烘焙模具的厨电设备的工作区域的图像。Step 101: Obtain an image of the working area of the kitchen electrical equipment on which the baking mold is placed.
本公开实施例中,厨电设备包括:烤箱、微波炉、空气炸锅等等具有烤制功能的设备。这些厨电设备可对放入烘焙模具中的食材进行烘焙或烤制。烘焙模具是只可以放置食材并且具有一定形状的物体,例如:与蛋糕对应的烘焙模具,与面包对应的烘焙模具等等,因此,一般确定了烘焙模具的规格信息,即可确定烘焙模具内食材的规格信息。In the embodiments of the present disclosure, the kitchen electrical equipment includes: ovens, microwave ovens, air fryer and other equipment with baking function. These kitchen appliances can bake or roast the ingredients put in the baking mold. Baking molds are objects that can only place ingredients and have a certain shape, such as: baking molds corresponding to cakes, baking molds corresponding to bread, etc. Therefore, generally, the specification information of the baking mold can be determined to determine the ingredients in the baking mold Specification information.
厨电设备中可配置有图像采集装置,从而,可通过图像采集装置,获取到放置了烘焙模具的厨电设备的工作区域的图像。The kitchen appliance may be equipped with an image acquisition device, so that the image of the working area of the kitchen appliance on which the baking mold is placed can be acquired through the image acquisition device.
步骤102:通过卷积神经网络模型,对图像进行训练,确定烘焙模具在厨电设备中的位置图像信息,以及,烘焙模具的设定表面的分割图像信息。Step 102: Train the image through the convolutional neural network model to determine the image information of the position of the baking mold in the kitchen appliance and the segmented image information of the set surface of the baking mold.
卷积神经网络(CNN)已经普遍应用在计算机图像处理领域,并且已经取得了不错的效果。目前,为了追求分类准确度,模型深度越来越深,模型复杂度也越来越高。本实施例中可采用不同的神经网络模型,分别对图像进行训练,得到烘焙模具在厨电设备中的位置图像信息,以及,烘焙模具的设定表面的分割图像信息。其中,可通过神经压缩网络模型,对图像进行训练,得到烘焙模具在厨电设备中的层次位置对应的网格映射矩阵;还可通过实例分割网络模型,对图像进行训练,得到烘焙模具的设定表面的二值化掩码矩阵。Convolutional Neural Network (CNN) has been widely used in the field of computer image processing, and has achieved good results. At present, in order to pursue classification accuracy, the depth of the model is getting deeper and deeper, and the complexity of the model is getting higher and higher. In this embodiment, different neural network models can be used to train the images respectively to obtain the position image information of the baking mold in the kitchen appliance and the segmented image information of the set surface of the baking mold. Among them, the neural compression network model can be used to train the image to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance; the network model can also be segmented by examples to train the image to obtain the design of the baking mold. The binarization mask matrix of a given surface.
厨电设备,例如:烤箱、空气炸锅等等,可能有一层、两层或多层烤架,烘焙模具可以放入不同的烤架上,因此,可以通过神经压缩网络模型,对图像进行训练,得到烘焙模具在厨电设备中的层次位置,即可确定烘焙模具在那一层烤架上。Kitchen appliances, such as ovens, air fryer, etc., may have one, two or more grills. The baking mold can be placed on different grills. Therefore, the image can be trained through the neural compression network model , The level position of the baking mold in the kitchen electrical equipment is obtained, and then the baking mold can be determined on which layer of the grill.
其中,MobileNet是一种轻量级神经压缩网络模型,具有体积小、精度高的优点,能够在保证精度的同时降低响应时延,并且,能够达到快速收敛的效果,用这种轻量级的网络训练同时能够降低计算量,从而降低了对硬件设备的要求。Among them, MobileNet is a lightweight neural compression network model, which has the advantages of small size and high accuracy. It can reduce response delay while ensuring accuracy, and can achieve rapid convergence. Use this lightweight Network training can also reduce the amount of calculation, thereby reducing the requirements for hardware equipment.
可选地,通过MobileNet模型,对图像进行训练,得到烘焙模具在厨电设备中的层次位置对应的网格映射矩阵。当然,在其他一些实施例中,其他类型的神经压缩网络模型,也可对图像进行训练,得到烘焙模具在厨电设备中的位置图像信息。Optionally, the image is trained through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance. Of course, in some other embodiments, other types of neural compression network models can also train images to obtain image information of the position of the baking mold in the kitchen appliance.
图2是本公开实施例提供的一种MobileNet模型训练的示意图。在本实施例中,获取到烤箱工作区域的图像后,输入到MobileNet模型中,进行训练,可确定烘焙模具在烤箱中的层次位置,如图2所示,可确定第1层次,并可得到对应网格映射矩阵。网格映射矩阵是一个与相机拍摄图片同等大小的二维矩阵,每个元素的值代表相应位置实际对应的面积。Fig. 2 is a schematic diagram of a MobileNet model training provided by an embodiment of the present disclosure. In this embodiment, after acquiring the image of the working area of the oven, it is input into the MobileNet model for training, and the level position of the baking mold in the oven can be determined. As shown in Figure 2, the first level can be determined and the results can be obtained. Corresponds to the grid mapping matrix. The grid mapping matrix is a two-dimensional matrix with the same size as the picture taken by the camera, and the value of each element represents the actual area corresponding to the corresponding position.
Mask-RCNN是一种实例分割网络模型,通过Mask-RCNN算法模型可同时完成分割任务、定位以及分类任务,得到图像对应的掩码图像。本实施例,在训练Mask-RCNN时 仅对模具设定表面进行标注,而不是标注整个模具,因为模具上表面对判断容器规格更有帮助,在一些实施例中,设定表面可为模具上表面。通过训练得到的Mask-RCNN对模具种类进行判断并获得对应二值化掩码矩阵。其中,模具种类可包括:海绵蛋糕模具、吐司模具等。Mask-RCNN is an instance segmentation network model. Through the Mask-RCNN algorithm model, segmentation tasks, positioning and classification tasks can be completed at the same time, and the mask image corresponding to the image can be obtained. In this embodiment, when training Mask-RCNN, only the mold setting surface is marked, instead of marking the entire mold, because the upper surface of the mold is more helpful for judging the specifications of the container. In some embodiments, the setting surface may be on the mold. surface. The Mask-RCNN obtained by training judges the type of mold and obtains the corresponding binarized mask matrix. Among them, the types of molds may include: sponge cake molds, toast molds, and the like.
可选地,通过Mask-RCNN模型,对图像进行训练,得到烘焙模具的设定表面的二值化掩码矩阵以及模具的种类信息。Optionally, through the Mask-RCNN model, the image is trained to obtain the binarization mask matrix of the setting surface of the baking mold and the type information of the mold.
图3是本公开实施例提供的一种二值化掩码矩阵的示意图。在本实施例中,获取的图像输入Mask-RCNN模型中,根据图像中每个像素进行实例分割,并精确进行信息标注,从而可实现烘焙模具的种类判断与精确位置分割,得到如图3所示的二值化掩码矩阵。FIG. 3 is a schematic diagram of a binary mask matrix provided by an embodiment of the present disclosure. In this embodiment, the obtained image is input into the Mask-RCNN model, and the instance segmentation is performed according to each pixel in the image, and the information is accurately labeled, so that the type judgment and precise position segmentation of the baking mold can be realized, and the result is shown in Figure 3. The binarization mask matrix shown.
当然,在其他一些实施例中,其他类型的实例分割网络模型,也可对图像进行训练,得到烘焙模具的设定表面的分割图像信息。Of course, in some other embodiments, other types of instance segmentation network models can also be trained on the image to obtain segmented image information of the set surface of the baking mold.
步骤103:根据位置图像信息和分割图像信息,确定烘焙模具的设定表面的面积信息。Step 103: Determine the area information of the set surface of the baking mold according to the position image information and the segmented image information.
已经获知了烘焙模具的位置图像信息和分割图像信息,从而,可确定烘焙模具的设定表面的面积信息,可包括:位置图像信息和分割图像信息中,同一像素对应的位置图像信息和分割图像信息进行运算处理,例如:相加、相乘,或加权相加等等。然后保留处理后满足设定条件的信息,并根据保留的信息,得到烘焙模具的设定表面的面积信息。例如:保留不等于0的信息,或大于设定值的信息,并将保留的信息求和,求差,或加权相加等等,得到烘焙模具的设定表面的面积信息。即将同一像素对应的位置图像信息和分割图像信息进行第一运算处理,并保留处理后满足设定条件的信息,并根据保留的信息,进行第二运算处理,得到烘焙模具的设定表面的面积信息。The position image information and segmented image information of the baking mold have been known, so that the area information of the set surface of the baking mold can be determined, which can include: position image information and segmented image information, the position image information and segmented image corresponding to the same pixel Information is processed by calculation, such as: addition, multiplication, or weighted addition, etc. Then, the information that meets the set conditions after processing is retained, and based on the retained information, the area information of the set surface of the baking mold is obtained. For example: retain the information that is not equal to 0, or the information greater than the set value, and add the retained information, calculate the difference, or weighted addition, etc., to obtain the area information of the set surface of the baking mold. That is, the position image information and segmented image information corresponding to the same pixel are subjected to the first calculation process, and the information that meets the set conditions after the processing is retained, and the second calculation process is performed according to the retained information to obtain the setting surface area of the baking mold information.
在一些实施例中,可将网格映射矩阵和二值化掩码矩阵进行对位相乘处理,得到烘焙模具的设定表面的区域矩阵信息;对区域矩阵信息中的元素值进行求和处理,得到烘焙模具的设定表面的面积信息。In some embodiments, the grid mapping matrix and the binarized mask matrix can be multiplied by bit to obtain the area matrix information of the setting surface of the baking mold; and the element values in the area matrix information can be summed. , Get the area information of the setting surface of the baking mold.
图4是本公开实施例提供的一种对位相乘的示意图。如图4所示,将网格映射矩阵和二值化掩码矩阵进行对位相乘,即可屏蔽掉图像中的背景区域仅保留模具设定表面对应区域,即图4中结果矩阵为烘焙模具的设定表面的区域矩阵信息,而二值化矩阵即为本实施例中的二值化掩码矩。Fig. 4 is a schematic diagram of a bitwise multiplication provided by an embodiment of the present disclosure. As shown in Figure 4, by multiplying the grid mapping matrix and the binarization mask matrix, the background area in the image can be masked and only the corresponding area of the mold setting surface is retained, that is, the result matrix in Figure 4 is baked The area matrix information of the setting surface of the mold, and the binarization matrix is the binarization mask moment in this embodiment.
然后,对区域矩阵信息中的元素值进行求和处理,得到烘焙模具的设定表面的面积信息。如图4所示,区域矩阵信息即结果矩阵中各个元素值进行求和,分别为0.4+1.5+0.3+1.1+0.6+0.4=4.3,从而,得到了烘焙模具的设定表面的面积。Then, the element values in the area matrix information are summed to obtain the area information of the set surface of the baking mold. As shown in Fig. 4, the area matrix information, namely the value of each element in the result matrix, is summed to be 0.4+1.5+0.3+1.1+0.6+0.4=4.3 respectively, so that the area of the set surface of the baking mold is obtained.
步骤104:根据保存的模具面积与模具规格的对应关系,确定面积信息对应的模具规格。Step 104: Determine the mold specification corresponding to the area information according to the stored corresponding relationship between the mold area and the mold specification.
一般模具规格都是标准的,例如:6寸、7寸、8寸,这样,可预先配置模具面积与模具规格的对应关系,例如配置模具上表面面积与模具规格的对应关系,从而,可根据配置保存的对应关系,确定上述过程中面积信息对应的模具规格。Generally, the mold specifications are standard, such as 6 inches, 7 inches, and 8 inches. In this way, the corresponding relationship between the mold area and the mold specifications can be configured in advance, for example, the corresponding relationship between the upper surface area of the mold and the mold specifications can be configured according to Configure the saved correspondence to determine the mold specifications corresponding to the area information in the above process.
在一些实施例中,针对不同种类的食物,对应的烘焙模具也有不同的种类,即模具种类可包括:海绵蛋糕模具、吐司模具等。这样,针对不用种类的模具,可以预先配置保存不同的模具面积与模具规格的对应关系,从而,在通过Mask-RCNN模型确定了模具种类信息的情况下,可保存的对应的关系中,确定与模具种类信息匹配的对应的关系,然后,在匹配的对应关系中,确定面积信息对应的模具规格。当然,烘焙模具的种类信息也可通过其他方式获取,例如:根据用户输入的指令信息,获取烘焙模具的种类信息。In some embodiments, there are different types of corresponding baking molds for different types of food, that is, the types of molds may include: sponge cake molds, toast molds, and the like. In this way, for different types of molds, you can pre-configure and save the correspondence between different mold areas and mold specifications. Therefore, when the mold type information is determined through the Mask-RCNN model, the correspondence relationship that can be saved is determined with The mold type information matches the corresponding relationship, and then, in the matched corresponding relationship, the mold specification corresponding to the area information is determined. Of course, the type information of the baking mold can also be obtained in other ways, for example, according to the instruction information input by the user, the type information of the baking mold is obtained.
可见,本公开实施例中,对厨电设备的工作区域的图像,通过卷积神经网络模型,进行深度学习,得到厨电设备中放置食材的烘焙模具的规格信息,这样,可确定烘焙模具内食材的规格信息,进一步进行食材的烘焙控制。不需增加任何硬件设备,即可识别模具规格,减少了厨电设备的制造资源,并且,不依赖重量测量硬件设备的性能,提高了确定模具规格信息的准确性。It can be seen that, in the embodiment of the present disclosure, the image of the working area of the kitchen appliance is deep learning through the convolutional neural network model to obtain the specification information of the baking mold in which the food is placed in the kitchen appliance. In this way, the inside of the baking mold can be determined The specification information of the ingredients is used to further control the baking of the ingredients. The mold specifications can be identified without adding any hardware equipment, which reduces the manufacturing resources of kitchen appliances, and does not rely on the performance of the weight measurement hardware equipment, which improves the accuracy of determining mold specifications.
厨电设备中放入模具是为了对食材进行烘焙或者烤制,因此,确定面积信息对应的模具规格之后,还包括:根据烘焙模具的模具规格,对放入烘焙模具的食材进行烘焙控制。The mold is put in the kitchen appliance to bake or bake the food. Therefore, after determining the mold specification corresponding to the area information, it also includes: according to the mold specification of the baking mold, the baking control of the food placed in the baking mold is performed.
可选地,在通过Mask-RCNN模型确定了模具种类信息的情况下,即可确定模具种类信息对应的烘焙工艺,而烘焙模具的模具规格可确定烘焙工艺中具体参数,例如:烘焙时间,烘焙温度等等,从而,运行已确定参数的烘焙工艺,即可实现对放入烘焙模具的食材的烘焙控制。当然,也可根据烘焙模具的模具规格对应的烘焙时间,烘焙温度等等烘焙参数,直接进行烘焙控制。Optionally, when the mold type information is determined through the Mask-RCNN model, the baking process corresponding to the mold type information can be determined, and the mold specifications of the baking mold can determine the specific parameters of the baking process, such as: baking time, baking Temperature and so on, thus, by running the baking process with determined parameters, the baking control of the ingredients put into the baking mold can be realized. Of course, it is also possible to directly control the baking according to the baking time, baking temperature and other baking parameters corresponding to the mold specifications of the baking mold.
可见,确定烘焙模具内食材的规格信息,进一步进行食材的烘焙控制。可见,不需增加任何硬件设备,在进行食材种类的识别过程中,也可确定食材的规格,减少了厨电设备的制造资源,并且,不依赖重量测量硬件设备的性能,提高了确定食材规格信息的准确性。It can be seen that the specification information of the ingredients in the baking mold is determined, and the baking control of the ingredients is further carried out. It can be seen that there is no need to add any hardware equipment. In the process of identifying the types of ingredients, the specifications of the ingredients can also be determined, which reduces the manufacturing resources of kitchen electrical equipment, and does not rely on the performance of the weight measurement hardware equipment to improve the determination of the specifications of the ingredients. The accuracy of the information.
下面将操作流程集合到具体实施例中,举例说明本发明实施例提供的烘焙模具规格检测过程。The operation procedures are assembled into specific embodiments below to illustrate the baking mold specification detection process provided by the embodiments of the present invention.
本公开一实施例中,烤箱中保存了与模具种类匹配的,模具面积与模具规格的对应关系。In an embodiment of the present disclosure, the corresponding relationship between the mold area and the mold specification that matches the mold type is stored in the oven.
图5是本公开实施例提供的一种烘焙模具规格检测方法的流程示意图。如图5所示,烘焙模具规格检测过程包括:FIG. 5 is a schematic flowchart of a method for detecting specifications of a baking mold provided by an embodiment of the present disclosure. As shown in Figure 5, the baking mold specification inspection process includes:
步骤501:获取放置了烘焙模具的烤箱的工作区域的图像。Step 501: Obtain an image of the working area of the oven where the baking mold is placed.
烤箱中内置了摄像头,从而,可通过摄像头获取烤箱的工作区域的图像。A camera is built into the oven, so that an image of the working area of the oven can be obtained through the camera.
步骤502:通过MobileNet模型,对图像进行训练,得到烘焙模具在厨电设备中的层次位置对应的网格映射矩阵。Step 502: Train the image through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance.
步骤503:通过Mask-RCNN模型,对图像进行训练,得到烘焙模具的设定表面的二值化掩码矩阵以及模具的种类信息。Step 503: Train the image through the Mask-RCNN model to obtain the binarized mask matrix of the set surface of the baking mold and the type information of the mold.
步骤502与步骤503的先后顺序不做限定,可同时进行,也可先后进行。The sequence of step 502 and step 503 is not limited, and can be performed simultaneously or sequentially.
步骤504:将网格映射矩阵和二值化掩码矩阵进行对位相乘处理,得到烘焙模具的设 定表面的区域矩阵信息。Step 504: Perform bitwise multiplication processing on the grid mapping matrix and the binarized mask matrix to obtain the area matrix information of the set surface of the baking mold.
步骤505:对区域矩阵信息中的元素值进行求和处理,得到烘焙模具的设定表面的面积信息。Step 505: Perform a summation process on the element values in the area matrix information to obtain the area information of the set surface of the baking mold.
步骤506:确定与模具的种类信息匹配的模具面积与模具规格的对应关系,并根据匹配的对应关系确定与面积信息对应的模具规格。Step 506: Determine the corresponding relationship between the mold area and the mold specification that matches the type information of the mold, and determine the mold specification corresponding to the area information according to the matched correspondence.
可见,本实施例中,可烤箱中工作区域的图像,通过卷积神经网络模型,进行深度学习,得到放置食材的烘焙模具的规格信息,这样,可确定烘焙模具内食材的规格信息,从而,不需增加任何硬件设备,即可确定模具的规格,减少了烤箱的制造资源,并且,不依赖重量测量硬件设备的性能,提高了确定模具规格信息的准确性。It can be seen that in this embodiment, the image of the working area in the oven can be deep-learned through the convolutional neural network model to obtain the specification information of the baking mold where the ingredients are placed. In this way, the specification information of the ingredients in the baking mold can be determined, so that: The specifications of the mold can be determined without adding any hardware equipment, which reduces the manufacturing resources of the oven, and does not rely on the performance of the weight measurement hardware equipment, which improves the accuracy of determining the mold specification information.
根据上述烘焙模具规格检测的过程,可构建一种烘焙模具规格检测的装置。According to the above-mentioned baking mold specification detection process, a baking mold specification detection device can be constructed.
图6是本公开实施例提供的一种烘焙模具规格检测装置的结构示意图。如图6所示,烘焙模具规格检测装置包括:图像获取模块610、模型训练模块620、面积确定模块630以及规格确定模块640。Fig. 6 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure. As shown in FIG. 6, the baking mold specification detection device includes: an image acquisition module 610, a model training module 620, an area determination module 630, and a specification determination module 640.
图像获取模块610,被配置为获取放置了烘焙模具的厨电设备的工作区域的图像。The image acquisition module 610 is configured to acquire an image of the working area of the kitchen appliance on which the baking mold is placed.
模型训练模块620,被配置为通过卷积神经网络模型,对图像进行训练,确定烘焙模具在厨电设备中的位置图像信息,以及,烘焙模具的设定表面的分割图像信息。The model training module 620 is configured to train the image through the convolutional neural network model, determine the position image information of the baking mold in the kitchen appliance, and the segmented image information of the set surface of the baking mold.
面积确定模块630,被配置为根据位置图像信息和分割图像信息,确定烘焙模具的设定表面的面积信息。The area determination module 630 is configured to determine the area information of the set surface of the baking mold according to the position image information and the segmented image information.
规格确定模块640,被配置为根据保存的模具面积与模具规格的对应关系,确定面积信息对应的模具规格。The specification determining module 640 is configured to determine the mold specification corresponding to the area information according to the stored correspondence relationship between the mold area and the mold specification.
在一些实施例中,模型训练模块620,具体被配置为通过神经压缩网络模型,对图像进行训练,得到烘焙模具在厨电设备中的层次位置对应的网格映射矩阵;通过实例分割网络模型,对图像进行训练,得到烘焙模具的设定表面的二值化掩码矩阵。In some embodiments, the model training module 620 is specifically configured to train the image through the neural compression network model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance; segment the network model by example, The image is trained to obtain the binarized mask matrix of the setting surface of the baking mold.
在一些实施例中,面积确定模块630,具体被配置为将网格映射矩阵和二值化掩码矩阵进行对位相乘处理,得到烘焙模具的设定表面的区域矩阵信息;对区域矩阵信息中的元素值进行求和处理,得到烘焙模具的设定表面的面积信息。In some embodiments, the area determining module 630 is specifically configured to perform a bitwise multiplication process on the grid mapping matrix and the binarized mask matrix to obtain the area matrix information of the setting surface of the baking mold; and the area matrix information The element values in are summed to obtain the area information of the setting surface of the baking mold.
在一些实施例中,还包括:烘焙控制模块,被配置为根据烘焙模具的模具规格,对放入烘焙模具的食材进行烘焙控制。In some embodiments, it further includes: a baking control module configured to perform baking control on the ingredients put into the baking mold according to the mold specifications of the baking mold.
下面举例说明本公开实施例提供的烘焙模具规格检测装置进行烘焙模具规格检测过程。The following is an example to illustrate the baking mold specification detection process performed by the baking mold specification detection device provided by the embodiment of the present disclosure.
图7是本公开实施例提供的一种烘焙模具规格检测装置的结构示意图。如图7所示,烘焙模具规格检测装置包括:图像获取模块610、模型训练模块620、面积确定模块630以及规格确定模块640,还可包括:烘焙控制模块650。Fig. 7 is a schematic structural diagram of a baking mold specification detection device provided by an embodiment of the present disclosure. As shown in FIG. 7, the baking mold specification detection device includes: an image acquisition module 610, a model training module 620, an area determination module 630, and a specification determination module 640, and may also include a baking control module 650.
其中,图像获取模块610可获取放置了烘焙模具的厨电设备的工作区域的图像。Wherein, the image acquisition module 610 can acquire an image of the working area of the kitchen appliance on which the baking mold is placed.
这样,模型训练模块620可通过MobileNet模型,对图像进行训练,得到烘焙模具在 厨电设备中的层次位置对应的网格映射矩阵,以及通过Mask-RCNN模型,对图像进行训练,得到烘焙模具的设定表面的二值化掩码矩阵以及模具的种类信息。In this way, the model training module 620 can train the image through the MobileNet model to obtain the grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance, and train the image through the Mask-RCNN model to obtain the baking mold Set the surface binarization mask matrix and mold type information.
从而,面积确定模块630可将网格映射矩阵和二值化掩码矩阵进行对位相乘处理,得到烘焙模具的设定表面的区域矩阵信息,并对区域矩阵信息中的元素值进行求和处理,得到烘焙模具的设定表面的面积信息。Therefore, the area determination module 630 can perform a bitwise multiplication process on the grid mapping matrix and the binarization mask matrix to obtain the area matrix information of the setting surface of the baking mold, and sum the element values in the area matrix information After processing, the area information of the set surface of the baking mold is obtained.
已预先保存了与模具种类匹配的,模具面积与模具规格的对应关系。从而,规格确定模块640可确定与模具的种类信息匹配的模具面积与模具规格的对应关系,并根据匹配的对应关系确定与面积信息对应的模具规格。The corresponding relationship between the mold area and the mold specifications that matches the mold type has been saved in advance. Therefore, the specification determination module 640 can determine the correspondence between the mold area and the mold specification that matches the type information of the mold, and determine the mold specification corresponding to the area information according to the matched correspondence.
由于在通过Mask-RCNN模型确定了模具种类信息的情况下,即可确定模具种类信息对应的烘焙工艺,而烘焙模具的模具规格可确定烘焙工艺中具体参数,例如:烘焙时间,烘焙温度等等,从而,烘焙控制模块650可根据确定了参数的烘焙工艺,对放入烘焙模具的食材进行烘焙控制。Since the mold type information is determined through the Mask-RCNN model, the baking process corresponding to the mold type information can be determined, and the mold specifications of the baking mold can determine the specific parameters of the baking process, such as: baking time, baking temperature, etc. Therefore, the baking control module 650 can perform baking control on the food material put into the baking mold according to the baking process with the determined parameters.
可见,本实施例中,烘焙模具规格检测装置获取厨电设备内的工作区域的图像后,通过卷积神经网络模型,进行深度学习,得到厨电设备中放置食材的烘焙模具的规格信息,这样,可确定烘焙模具内食材的规格信息,进一步进行食材的烘焙控制。不需增加任何硬件设备,在进行食材种类的识别过程中,也可确定烘焙模具以及食材的规格,减少了厨电设备的制造资源,并且,不依赖重量测量硬件设备的性能,提高了确定食材规格信息的准确性。It can be seen that, in this embodiment, after the baking mold specification detection device acquires the image of the working area in the kitchen appliance, it performs deep learning through the convolutional neural network model to obtain the specification information of the baking mold in which the food is placed in the kitchen appliance. , Can determine the specification information of the ingredients in the baking mold, and further control the baking of the ingredients. There is no need to add any hardware equipment. In the process of identifying the type of food, the specifications of the baking mold and the food can also be determined, which reduces the manufacturing resources of the kitchen electrical equipment, and does not rely on the performance of the weight measurement hardware equipment to improve the determination of the food Accuracy of specification information.
本公开实施例提供了一种烘焙模具规格检测的装置,其结构如图8所示,包括:The embodiment of the present disclosure provides a device for detecting the specification of a baking mold, the structure of which is shown in FIG. 8 and includes:
处理器(processor)100和存储器(memory)101,还可以包括通信接口(Communication Interface)102和总线103。其中,处理器100、通信接口102、存储器101可以通过总线103完成相互间的通信。通信接口102可以用于信息传输。处理器100可以调用存储器101中的逻辑指令,以执行上述实施例的烘焙模具规格检测的方法。A processor (processor) 100 and a memory (memory) 101 may also include a communication interface (Communication Interface) 102 and a bus 103. Among them, the processor 100, the communication interface 102, and the memory 101 can communicate with each other through the bus 103. The communication interface 102 can be used for information transmission. The processor 100 may call the logic instructions in the memory 101 to execute the method for detecting the specifications of the baking mold in the foregoing embodiment.
此外,上述的存储器101中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 101 can be implemented in the form of software functional units and when sold or used as independent products, they can be stored in a computer readable storage medium.
存储器101作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器100通过运行存储在存储器101中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的烘焙模具规格检测的方法。As a computer-readable storage medium, the memory 101 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing by running the program instructions/modules stored in the memory 101, that is, implements the baking mold specification detection method in the foregoing method embodiment.
存储器101可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器101可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 101 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a terminal device, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a non-volatile memory.
本公开实施例提供了一种厨电设备,包含上述的烘焙模具规格检测装置。The embodiment of the present disclosure provides a kitchen appliance, which includes the above-mentioned baking mold specification detection device.
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述烘焙模具规格检测方法。The embodiment of the present disclosure provides a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are configured to execute the above-mentioned baking mold specification detection method.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述烘焙模具规格检测方法。The embodiments of the present disclosure provide a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer program The computer executes the above-mentioned baking mold specification detection method.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The aforementioned computer-readable storage medium may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which can be a personal computer, a server, or a network). Equipment, etc.) execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. A medium that can store program codes, or it can be a transient storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。本公开实施例的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。当用于本申请中时,虽然术语“第一”、“第二”等可能会在本申请中使用以描述各元件,但这些元件不应受到这些术语的限制。这些术语仅用于将一个元件与另一个元件区别开。比如,在不改变描述的含义的情况下,第一元件可以叫做第二元件,并且同样第,第二元件可以叫做第一元件,只要所有出现的“第一元件”一致重命名并且所有出现的“第二元件”一致重命名即可。第一元件和第二元件都是元件,但可以不是相同的元件。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings fully illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The examples only represent possible changes. Unless explicitly required, the individual components and functions are optional, and the order of operations can be changed. Parts and features of some embodiments may be included in or substituted for parts and features of other embodiments. The scope of the embodiments of the present disclosure includes the entire scope of the claims and all available equivalents of the claims. When used in this application, although the terms "first", "second", etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, without changing the meaning of the description, the first element can be called the second element, and likewise, the second element can be called the first element, as long as all occurrences of the "first element" are renamed consistently and all occurrences "Second component" can be renamed consistently. The first element and the second element are both elements, but they may not be the same element. Moreover, the terms used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms "a" (a), "an" (an) and "the" (the) are intended to also include plural forms . Similarly, the term "and/or" as used in this application refers to any and all possible combinations of one or more of the associated lists. In addition, when used in this application, the term "comprise" (comprise) and its variants "comprises" and/or including (comprising) and the like refer to the stated features, wholes, steps, operations, elements, and/or The existence of components does not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components, and/or groups of these. If there are no more restrictions, the element defined by the sentence "including one..." does not exclude the existence of other same elements in the process, method, or device that includes the element. In this article, each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method parts disclosed in the embodiments, then the related parts can be referred to the description of the method parts.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件 还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to realize the described functions, but such realization should not be considered as going beyond the scope of the embodiments of the present disclosure. The technicians can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device, and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units may only be a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units can be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions, and operations of the system, method, and computer program product according to the embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logic function. Executable instructions. In some alternative implementations, the functions marked in the block may also occur in a different order than the order marked in the drawings. For example, two consecutive blocks can actually be executed in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the drawings, the operations or steps corresponding to different blocks can also occur in a different order than disclosed in the description, and sometimes there is no specific operation or step between different operations or steps. order. For example, two consecutive operations or steps can actually be performed substantially in parallel, and they can sometimes be performed in the reverse order, depending on the functions involved. Each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by dedicated hardware Realized in combination with computer instructions.

Claims (10)

  1. 一种烘焙模具规格检测的方法,其特征在于,包括:A method for detecting the specification of a baking mold, which is characterized in that it comprises:
    获取放置了烘焙模具的厨电设备的工作区域的图像;Obtain an image of the working area of the kitchen electrical equipment with the baking mold;
    通过卷积神经网络模型,对所述图像进行训练,确定所述烘焙模具在所述厨电设备中的位置图像信息,以及,所述烘焙模具的设定表面的分割图像信息;Training the image through a convolutional neural network model to determine the image information of the position of the baking mold in the kitchen appliance and the segmented image information of the setting surface of the baking mold;
    根据所述位置图像信息和所述分割图像信息,确定所述烘焙模具的设定表面的面积信息;Determining the area information of the set surface of the baking mold according to the position image information and the segmented image information;
    根据保存的模具面积与模具规格的对应关系,确定所述面积信息对应的模具规格。According to the stored corresponding relationship between the mold area and the mold specification, the mold specification corresponding to the area information is determined.
  2. 根据权利要求1所述的方法,其特征在于,所述确定所述烘焙模具在所述厨电设备中的位置图像信息,以及,所述烘焙模具的设定表面的分割图像信息包括:The method according to claim 1, wherein said determining the image information of the position of the baking mold in the kitchen appliance, and the segmented image information of the setting surface of the baking mold comprises:
    通过神经压缩网络模型,对所述图像进行训练,得到所述烘焙模具在所述厨电设备中的层次位置对应的网格映射矩阵;Training the image through a neural compression network model to obtain a grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance;
    通过实例分割网络模型,对所述图像进行训练,得到所述烘焙模具的设定表面的二值化掩码矩阵。Through the instance segmentation network model, the image is trained to obtain the binarized mask matrix of the setting surface of the baking mold.
  3. 根据权利要求2所述的方法,其特征在于,所述确定所述烘焙模具的设定表面的面积信息包括:The method according to claim 2, wherein the determining the area information of the setting surface of the baking mold comprises:
    将所述网格映射矩阵和所述二值化掩码矩阵进行对位相乘处理,得到所述烘焙模具的设定表面的区域矩阵信息;Performing bitwise multiplication processing on the grid mapping matrix and the binarized mask matrix to obtain area matrix information of the setting surface of the baking mold;
    对所述区域矩阵信息中的元素值进行求和处理,得到所述烘焙模具的设定表面的面积信息。A summation process is performed on the element values in the area matrix information to obtain the area information of the set surface of the baking mold.
  4. 根据权利要求1所述的方法,其特征在于,所述确定所述面积信息对应的模具规格之后,还包括:The method according to claim 1, wherein after the determining the mold specifications corresponding to the area information, the method further comprises:
    根据所述烘焙模具的模具规格,对放入所述烘焙模具的食材进行烘焙控制。According to the mold specifications of the baking mold, baking control is performed on the food materials put into the baking mold.
  5. 一种烘焙模具规格检测的装置,其特征在于,包括:A device for detecting the specification of a baking mold, which is characterized in that it comprises:
    图像获取模块,被配置为获取放置了烘焙模具的厨电设备的工作区域的图像;The image acquisition module is configured to acquire an image of the working area of the kitchen appliance on which the baking mold is placed;
    模型训练模块,被配置为通过卷积神经网络模型,对所述图像进行训练,确定所述烘焙模具在所述厨电设备中的位置图像信息,以及,所述烘焙模具的设定表面的分割图像信息;The model training module is configured to train the image through a convolutional neural network model, determine the image information of the position of the baking mold in the kitchen appliance, and divide the set surface of the baking mold Image information
    面积确定模块,被配置为根据所述位置图像信息和所述分割图像信息,确定所述烘焙模具的设定表面的面积信息;An area determination module configured to determine area information of a set surface of the baking mold according to the position image information and the segmented image information;
    规格确定模块,被配置为根据保存的模具面积与模具规格的对应关系,确定所述面积信息对应的模具规格。The specification determination module is configured to determine the mold specification corresponding to the area information according to the stored correspondence relationship between the mold area and the mold specification.
  6. 根据权利要求5所述的装置,其特征在于,The device of claim 5, wherein:
    所述模型训练模块,具体被配置为通过神经压缩网络模型,对所述图像进行训练,得到所述烘焙模具在所述厨电设备中的层次位置对应的网格映射矩阵;通过实例分割网络模 型,对所述图像进行训练,得到所述烘焙模具的设定表面的二值化掩码矩阵。The model training module is specifically configured to train the image through a neural compression network model to obtain a grid mapping matrix corresponding to the hierarchical position of the baking mold in the kitchen appliance; segment the network model through examples , Training the image to obtain a binarized mask matrix of the setting surface of the baking mold.
  7. 根据权利要求6所述的装置,其特征在于,The device according to claim 6, wherein:
    所述面积确定模块,具体被配置为将所述网格映射矩阵和所述二值化掩码矩阵进行对位相乘处理,得到所述烘焙模具的设定表面的区域矩阵信息;对所述区域矩阵信息中的元素值进行求和处理,得到所述烘焙模具的设定表面的面积信息。The area determination module is specifically configured to perform a bitwise multiplication process on the grid mapping matrix and the binarization mask matrix to obtain the area matrix information of the setting surface of the baking mold; The element values in the area matrix information are summed to obtain the area information of the setting surface of the baking mold.
  8. 根据权利要求5所述的装置,其特征在于,还包括:The device according to claim 5, further comprising:
    烘焙控制模块,被配置为根据所述烘焙模具的模具规格,对放入所述烘焙模具的食材进行烘焙控制。The baking control module is configured to perform baking control on the ingredients put into the baking mold according to the mold specifications of the baking mold.
  9. 一种烘焙模具规格检测的装置,包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在执行所述程序指令时,执行如权利要求1至4任一项所述的方法。A device for detecting the specification of a baking mold, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the program instructions as described in any one of claims 1 to 4 when the program instructions are executed. The method described.
  10. 一种厨电设备,其特征在于,包括如权利要求5或9所述的装置。A kitchen appliance, characterized by comprising the device according to claim 5 or 9.
PCT/CN2020/071670 2019-10-30 2020-01-13 Baking mold specification detection method and apparatus, and kitchen appliance WO2021082284A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911045086.9 2019-10-30
CN201911045086.9A CN112749587A (en) 2019-10-30 2019-10-30 Method and device for detecting specification of baking mold and kitchen electrical equipment

Publications (1)

Publication Number Publication Date
WO2021082284A1 true WO2021082284A1 (en) 2021-05-06

Family

ID=75640655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071670 WO2021082284A1 (en) 2019-10-30 2020-01-13 Baking mold specification detection method and apparatus, and kitchen appliance

Country Status (2)

Country Link
CN (1) CN112749587A (en)
WO (1) WO2021082284A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109008887A (en) * 2018-06-28 2018-12-18 青岛海尔智能技术研发有限公司 A kind of method for washing shoe, device, shoe washing machine and computer readable storage medium
CN109214406A (en) * 2018-05-16 2019-01-15 长沙理工大学 Based on D-MobileNet neural network image classification method
WO2019128543A1 (en) * 2017-12-30 2019-07-04 Midea Group Co., Ltd. Food preparation method and system based on ingredient recognition
CN110084244A (en) * 2019-03-14 2019-08-02 上海达显智能科技有限公司 Method, smart machine and application based on image recognition object

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128543A1 (en) * 2017-12-30 2019-07-04 Midea Group Co., Ltd. Food preparation method and system based on ingredient recognition
CN109214406A (en) * 2018-05-16 2019-01-15 长沙理工大学 Based on D-MobileNet neural network image classification method
CN109008887A (en) * 2018-06-28 2018-12-18 青岛海尔智能技术研发有限公司 A kind of method for washing shoe, device, shoe washing machine and computer readable storage medium
CN110084244A (en) * 2019-03-14 2019-08-02 上海达显智能科技有限公司 Method, smart machine and application based on image recognition object

Also Published As

Publication number Publication date
CN112749587A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US20210291356A1 (en) Multi-sensor array including an ir camera as part of an automated kitchen assistant system for recognizing and preparing food and related methods
CN113194792B (en) System and method for training cooking utensil, positioning food and determining cooking progress
KR102329592B1 (en) Food preparation methods and systems based on ingredient recognition
CN110084244B (en) Method for identifying object based on image, intelligent device and application
CN104887183B (en) Based on the monitoring of optical skin health and pre- intelligent diagnosis method
CN106503442A (en) The recommendation method and apparatus of menu
CN110956217A (en) Food maturity recognition method and device and computer storage medium
WO2021102254A1 (en) System and method for estimating foodstuff completion time
CN110826574A (en) Food material maturity determination method and device, kitchen electrical equipment and server
CN106846122A (en) Commodity data treating method and apparatus
WO2021082285A1 (en) Method and device for measuring volume of ingredient, and kitchen appliance apparatus
WO2021082284A1 (en) Baking mold specification detection method and apparatus, and kitchen appliance
CN111248716B (en) Food cooking control method, image processing method and device and cooking equipment
US20230089725A1 (en) Cooking apparatus and controlling method thereof
CN110553295A (en) Range hood gear shifting method and device and range hood
CN113592938A (en) Method and device for detecting volume of food in baking equipment and baking equipment
CN114903343A (en) Automatic steaming and baking method and device and steaming and baking box thereof
WO2022065074A1 (en) Information processing device, information processing method, and program
Pereira et al. Flipping food during grilling tasks, a dataset of utensils kinematics and dynamics, food pose and subject gaze
CN114641830A (en) Food volume and calorie calculation method, electronic device, electronic apparatus, and storage medium
CN116452881B (en) Food nutritive value detection method, device, equipment and storage medium
Takahashi et al. A study on estimating the attractiveness of food photography
CN111860211A (en) Tableware and reference object identification method, device and storage medium
CN111178274A (en) Information prompting method and device, computer readable storage medium and electronic device
CN109949407A (en) A kind of head portrait generation method, device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20881058

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20881058

Country of ref document: EP

Kind code of ref document: A1