Control method of cooking equipment, cooking equipment and computer readable storage medium
By setting up a movable camera module in the cooking equipment, obtaining the food images of the multi-layer baking chamber and controlling the heating temperature, the problem of difficulty in identifying the mature state of the food in traditional cooking equipment is solved, and the fine regulation and accuracy of the cooking process are achieved control.
Patent Information
- Application Number
- CN202410988865.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-12-06
AI Technical Summary
The fixed camera settings in traditional cooking equipment cause the ingredients in the multi-layer baking chamber to be photographed and the maturity of the ingredients cannot be identified, resulting in the fine regulation of the cooking process being unsatisfactory.
Design a cooking device, by setting a camera module that can move in a vertical direction on the inner liner, obtaining the food images of each layer of baking chamber according to preset time intervals, judging the maturity of the food and controlling the heating temperature of the heating component. Ensure that the ingredients in each baking chamber are accurately photographed and identified.
It realizes fine identification and precise regulation of ingredients in the multi-layer baking chamber, avoids insufficient information acquisition caused by camera fixation settings, and improves the control accuracy of the cooking process.
Smart Images

Figure CN119095205A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of kitchen appliance control, and in particular to a cooking device control method, a cooking device, and a computer-readable storage medium. Background Art
[0002] With the development of intelligent kitchen appliances, user experience requirements are getting higher and higher. For example, cooking equipment needs to be able to identify the maturity of ingredients, so as to achieve fine control of cooking and achieve better cooking results.
[0003] In the conventional technology, the food is photographed by a camera to identify the ripeness of the food. However, for a cooking device with multiple layers of baking chambers, the food can be cooked separately in different baking chambers, but because the camera is fixed, the food in the baking chambers of some layers cannot be photographed, resulting in the inability to identify the ripeness of the food from the photographed images, and thus the fine control of the cooking process is unsatisfactory. Summary of the invention
[0004] Based on this, it is necessary to provide a control method for a cooking device, a cooking device and a computer-readable storage medium that can achieve fine control of the cooking process in order to address the above technical problems.
[0005] In a first aspect, the present application provides a control method for a cooking device, the cooking device comprising an inner pot and a multi-layered baking chamber, a heating component, and a camera module movable in a vertical direction of the inner pot, the method comprising:
[0006] According to a first preset time interval, controlling the camera module to move in a vertical direction to respectively obtain first food images corresponding to each layer of the baking cavity;
[0007] Determining, based on each of the first food images, a target recipe corresponding to the food in each layer of the baking chamber, and a maturity state of the food;
[0008] Based on the ripeness state of the food in each layer of the baking cavity and the target recipe, the heating power of the heating component is controlled to control the heating temperature in each layer of the baking cavity.
[0009] In one embodiment, determining the target recipe corresponding to the ingredients in each layer of the baking chamber and the maturity state of the ingredients based on each of the first ingredient images includes:
[0010] For any first ingredient image:
[0011] Determining whether the food in any of the first food images is located at the center of the image;
[0012] If the food in any of the first food images is not at the center of the image, controlling the camera module to move to a target position in a vertical direction to obtain a second food image;
[0013] Based on the second ingredient image, a target recipe corresponding to the ingredient in the baking chamber and a maturity state of the ingredient are determined.
[0014] In one embodiment, the camera module includes a camera and an electric guide rail, and the electric guide rail is used to drive the camera to move;
[0015] The step of controlling the camera module to move to a target position in a vertical direction to obtain a second food image includes:
[0016] Determining image offset data based on the position of the food in any one of the first food images and the center of the image;
[0017] Determining the module movement amount based on the image deviation data;
[0018] The camera is controlled to move the module movement amount in the vertical direction on the electric guide rail to move to a target position, and the camera is controlled to capture a second food image at the target position.
[0019] In one embodiment, determining the maturity state of the food in each layer of the baking chamber based on each of the first food images includes:
[0020] Obtain calibration images corresponding to the food in each layer of the baking chamber respectively;
[0021] The first food image is compared with the corresponding calibration image to determine the maturity state of the food in each layer of the baking cavity.
[0022] In one embodiment, the camera module is provided with a furnace lamp; after the camera module is controlled to move in a vertical direction to respectively obtain the first food image corresponding to each layer of the baking chamber, the method includes:
[0023] Acquire the image brightness of the first food image;
[0024] If the image brightness is lower than a preset brightness threshold, the furnace lamp is controlled to increase the brightness so that the image brightness is equal to the preset brightness threshold.
[0025] In one embodiment, the cooking device further includes a display screen, and determining the target recipe corresponding to the ingredients in each layer of the baking chamber based on each of the first ingredient images includes:
[0026] Identifying and obtaining a food type from each of the first food images;
[0027] Based on each of the food types, outputting corresponding at least two recipes to be selected to the display screen;
[0028] A recipe selection instruction is received, and based on the recipe selection instruction, target recipes corresponding to the ingredients in the baking chambers of each layer are determined respectively.
[0029] In one embodiment, the cooking device further includes a display screen, and after the cooking is completed, the method further includes:
[0030] Get all the images of ingredients during the cooking process;
[0031] Based on all the food images, generate a short video;
[0032] Generate a sharing interface corresponding to the short video, and output the sharing interface to a display screen.
[0033] In a second aspect, the present application further provides a cooking device, the cooking device comprising:
[0034] Liner;
[0035] A multi-layered grilling chamber disposed in the inner pot is used to provide a cooking space for ingredients;
[0036] A camera module disposed in the inner pot and movable in a vertical direction of the inner pot, for taking images of the food, and moving in the multi-layer roasting chamber;
[0037] A heating component disposed in the inner pot, used for heating the food;
[0038] A processor is used to implement the steps of the method as described above.
[0039] In one of the embodiments, the camera module includes a camera and an electric guide rail; the electric guide rail is used to drive the camera to move.
[0040] In a third aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0041] According to a first preset time interval, controlling the camera module to move in a vertical direction to respectively obtain first food images corresponding to each layer of the baking cavity;
[0042] Determining, based on each of the first food images, a target recipe corresponding to the food in each layer of the baking chamber, and a maturity state of the food;
[0043] Based on the ripeness state of the food in each layer of the baking cavity and the target recipe, the heating power of the heating component is controlled to control the heating temperature in each layer of the baking cavity.
[0044] The control method of the cooking device, the cooking device and the computer-readable storage medium control the camera to move in each layer of the baking chamber at a first preset time interval and obtain the first food image corresponding to each layer of the baking chamber, thereby determining the target recipe and the ripeness state of the food based on the first food image, and controlling the heating component based on this to complete the cooking. The method avoids the problem of not being able to obtain the ripeness state of the food due to the fixed setting of the camera, thereby achieving fine control of the cooking process. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 is a schematic diagram of the structure of a cooking device in one embodiment;
[0047] Figure 2 is a flow chart of a method for controlling a cooking device in one embodiment;
[0048] Figure 3 Schematic diagram of a flow chart of a method for controlling a cooking device in another embodiment.
[0049] The reference numerals are described as follows: 102: inner pot; 104: multi-layer baking chamber; 106: heating component; 108: camera module. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] In an exemplary embodiment, Figure 1 As shown, a cooking device is provided.
[0052] The cooking device includes: an inner pot 102; a multi-layer baking chamber 104 arranged in the inner pot 102, for providing a cooking space for food; a camera module 108 arranged in the inner pot 102 and movable in a vertical direction along the inner pot 102, for taking images of food and moving in the multi-layer baking chamber 104; a heating component 106 arranged in the inner pot 102, for heating food; and a processor, for implementing each step of the control method of the cooking device.
[0053] Exemplarily, the cooking equipment includes, but is not limited to, a steam oven and an oven.
[0054] The multi-layer baking chamber 104 is formed by a baking tray seat in the inner pot 102 and a baking tray, and the baking tray can be placed on the baking tray seat, that is, the multi-layer baking chamber 104 is formed between the baking trays and between the baking trays and the inner pot 102 .
[0055] Among them, the camera module 108 is arranged on the side of the inner pot 102, and can be moved along the vertical direction of the inner pot 102 to shoot the food. Compared with the fixed camera, the movable camera module 108 can avoid the baking tray from blocking the food, so as to shoot the food more comprehensively.
[0056] The heating component 106 includes but is not limited to a heating tube and a hot air blower.
[0057] Exemplarily, the camera module 108 includes a camera and a moving part, and the moving part is used to drive the camera to move. The moving part includes but is not limited to an electric guide rail, a worm gear structure, and a gear rack structure.
[0058] For example, in the conventional technology, when shooting with a camera, reflections are likely to occur, resulting in the problem of not being able to shoot clearly. The reason is that the position of the oven light in the cooking device is not appropriate, specifically, the oven light is fixedly set on the inner pot 102. In this embodiment, the oven light is set on the camera module 108, and the oven light moves with the movement of the camera module 108, thereby avoiding the problem caused by reflections.
[0059] In an exemplary embodiment, Figure 2 As shown, a control method for a cooking device is provided, which is applied to the above cooking device and includes the following steps 202 to 206. Among them:
[0060] Step 202: Control the camera module to move in a vertical direction at a first preset time interval to obtain first food images corresponding to each layer of the baking cavity.
[0061] The first preset time interval can be set as needed, and this embodiment does not limit it. It should be noted that the first preset time interval is the same as the time interval for judging the maturity of the food, and the judgment time interval affects the control accuracy during the cooking process. The judgment time interval is negatively correlated with the control accuracy, that is, the shorter the judgment time interval, the higher the control accuracy, and the longer the judgment time interval, the lower the control accuracy. Therefore, if a higher control accuracy needs to be achieved, the first preset time interval needs to be set shorter.
[0062] Among them, food materials are placed in the baking chamber, and the food materials in each layer of the baking chamber can be different, that is, the cooking device can cook different food materials at the same time through the multi-layer baking chamber.
[0063] The first food image is an image containing food.
[0064] Exemplarily, when acquiring the first food image at every first preset time interval, the camera module is controlled to move from the first baking cavity to the last baking cavity in the vertical direction within each layer of the baking cavity, and when moving to each layer of the baking cavity, the food in the baking cavity is photographed, thereby obtaining the first food image corresponding to each layer of the baking cavity.
[0065] For example, the cooking device includes three layers of baking chambers, namely, a first layer of baking chamber, a second layer of baking chamber, and a third layer of baking chamber, wherein the second layer of baking chamber is between the first layer of baking chamber and the third layer of baking chamber, and the camera module can be located in any layer of baking chamber in the initial state. Accordingly, after cooking is completed, the camera module can return to the position corresponding to the initial state.
[0066] Generally, the camera module is in the first layer baking cavity or the third layer baking cavity in the initial state, so that it is convenient to move sequentially from the first layer baking cavity to the third layer baking cavity, or from the third layer baking cavity to the first layer baking cavity.
[0067] In the process of controlling the camera module to move in each layer of the baking chamber, the camera module is controlled to capture one or more images of the first food each time it is in a layer of the baking chamber.
[0068] Step 204: Determine the target recipe corresponding to the ingredients in each baking chamber and the maturity status of the ingredients based on each first ingredient image.
[0069] Among them, the target recipe is used for the cooking device to cook according to a predetermined procedure, that is, the target recipe corresponds to a cooking program, and the cooking program corresponds to a heating curve. The heating curve includes a corresponding relationship between heating time and heating power, that is, the cooking device heats with a certain heating power at a certain heating time based on the target recipe, thereby achieving cooking of the ingredients.
[0070] It should be noted that the heating time in the target recipe is used as a reference during the cooking process, that is, the cooking device can adjust the heating power by determining the ripeness state of the ingredients. That is, the target recipe can also be the corresponding relationship between the ripeness state of the corresponding ingredients and the heating power.
[0071] Among them, the maturity state includes but is not limited to raw, tender, cooked, and burnt.
[0072] It is understandable that since the heating temperature and heating time of different ingredients are generally different, different ingredients correspond to different recipes. For example, if the ingredient is chicken, it generally requires a higher heating temperature and a longer heating time to complete the cooking.
[0073] Exemplarily, the determination of the target recipe may be completed after the camera module is controlled to move for the first time. During the cooking process, the maturity state of the ingredients may be changed, such as from raw to tender, or from tender to cooked. The purpose of determining the maturity state of the ingredients is to determine the heating power according to the maturity state of the ingredients.
[0074] Step 206 , based on the maturity state of the ingredients in each layer of the baking cavity and the target recipe, the heating power of the heating component is controlled to control the heating temperature in each layer of the baking cavity.
[0075] There may be two or more heating components, and each heating component may operate at a different heating power, thereby controlling the heating temperature in each layer of the baking chamber at different temperatures to adapt to the cooking temperature required for different ingredients.
[0076] For example, if the food in the first layer baking chamber needs to be cooked at 200°C and the food in the second layer baking chamber needs to be cooked at 180°C, the heating component close to the first layer baking chamber can be controlled to heat with a heating power greater than that of the heating component close to the second layer baking chamber, thereby achieving the above temperature requirements.
[0077] It can be understood that during the process from the beginning to the end of cooking, the cooking device can be controlled by the above control method for each cooking state, that is, each cooking stage.
[0078] In the control method of the cooking device, the camera is controlled to move in each layer of the baking chamber at a first preset time interval, and the first food image corresponding to each layer of the baking chamber is obtained, so as to determine the target recipe and the ripeness state of the food based on the first food image, and control the heating component based on this to complete the cooking. This method avoids the problem of obtaining less food information or even no food information due to inappropriate camera installation position, thereby improving the accuracy of the recognized ripeness state of the food, and further realizing fine control of the cooking process.
[0079] For example, controlling the shooting angle of the camera module when shooting food will also affect the amount of information about the food in the image, that is, an incorrect shooting angle will lead to low accuracy in the maturity state of the food obtained through image recognition, which will in turn lead to unsatisfactory fine control of the cooking process.
[0080] In this embodiment, when determining the target recipe corresponding to the ingredients in each layer of the baking chamber and the maturity state of the ingredients based on each first ingredient image, for any first ingredient image, it is first determined whether the ingredient is in the center of the image.
[0081] If the food in any first food image is located at the center of the image, the target recipe corresponding to the food in each layer of the baking cavity and the maturity state of the food are determined directly through the first food image.
[0082] If the food in any of the first food images is not at the center of the image, it is necessary to control the camera module to move to the target position in the vertical direction, and then control the camera module to shoot, so as to obtain the second food image.
[0083] Among them, whether the food is in the center of the image is determined by the distance between the position of the food in the image and the center of the image. When the distance is 0 or close to 0, it can be determined that the food is in the center of the image. Correspondingly, when the distance is not 0 or not close to 0, it can be determined that the food is not in the center of the image.
[0084] It should be noted that when the distance is less than or equal to the preset distance, it can be determined that the distance is close to 0, and when the distance is greater than the preset distance, it can be determined that the distance is not close to 0. The preset distance is not limited in this embodiment.
[0085] After the second food image is acquired, a target recipe corresponding to the food in the baking chamber and a maturity state of the food are determined based on the second food image.
[0086] Exemplarily, the camera module includes a camera and an electric guide rail, and controlling the camera module to move in the vertical direction is to control the electric guide rail to move in the vertical direction.
[0087] In one embodiment, when controlling the camera module to move to the target position in the vertical direction, images of the food can be continuously captured during the movement, and it can be determined whether the food is in the center of the image captured during the process. When the food is in the center of the image, it can be determined that the camera module has moved to the target position.
[0088] In another embodiment, for controlling the camera module to move to the target position in the vertical direction, the image offset data can be determined based on the position of the food in any first food image and the image center. The image offset data is the distance between the position of the food in any first food image and the image center.
[0089] Afterwards, the module movement amount is determined based on the image deviation data. It can be understood that since the distance in the image is not equal to the actual distance that the camera needs to move on the electric guide rail, there is a proportional relationship between the two. Therefore, it is necessary to convert the image deviation data into the module movement amount through this proportional relationship. The conversion process can be carried out by the distance between the camera aperture and the food and the distance between the aperture and the imaging plane. The specific conversion process can refer to the prior art, and this embodiment will not be repeated.
[0090] After obtaining the module movement amount, the camera is controlled to move the module movement amount in the vertical direction on the electric guide rail, for example, 3 cm, to move to the target position, and the camera is controlled to capture the second food image at the target position.
[0091] Exemplarily, the judgment of the maturity state is achieved by comparing the food image with the calibration image. Before the comparison, it is necessary to obtain the calibration images corresponding to the food in each layer of the baking chamber respectively. The calibration images are reference images of each maturity state. If the food image is the same as the reference image of the maturity state of "tender", it can be determined that the food has changed from the maturity state of "raw" to the maturity state of "cookable".
[0092] It can be understood that the maturity state of the food in each layer of the baking chamber is determined by comparing each first food image with the corresponding calibration image, that is, determining whether each first food image is identical to the corresponding calibration image.
[0093] It should be noted that different ingredients correspond to different calibration images, that is, when determining the maturity status of different ingredients, it is necessary to compare and determine through corresponding calibration images.
[0094] It should be noted that the ripeness state of the food in each layer of the baking chamber can be determined respectively by comparing each second food image with the corresponding calibration image.
[0095] Exemplarily, a furnace lamp is also provided on the camera module, and the furnace lamp can provide fill light when taking images based on the camera, thereby making the image clearer.
[0096] It should be noted that different brightness of the furnace lamp will result in different clarity of the image. It is not appropriate to have a furnace lamp that is too small or too large.
[0097] Therefore, after controlling the camera module to move in the vertical direction to respectively obtain the first food image corresponding to each layer of the baking chamber, it is also possible to determine whether the image brightness is appropriate by obtaining the image brightness of the first food image, and control the oven light to adjust the brightness if it is not appropriate.
[0098] Exemplarily, the brightness of the oven light is controlled by adjusting a voltage transformer module in the cooking device.
[0099] It can be understood that during adjustment, if the image brightness is lower than the preset brightness threshold, the furnace light is controlled to increase the brightness so that the image brightness is equal to the preset brightness threshold; if the image brightness is higher than the preset brightness threshold, the furnace light is controlled to reduce the brightness so that the image brightness is equal to the preset brightness threshold.
[0100] The preset brightness threshold is not limited in this embodiment.
[0101] In one embodiment, the cooking device further comprises a display screen, and the display screen is used for human-computer interaction.
[0102] It is understandable that even for the same ingredients, there can be different cooking methods, that is, one ingredient can correspond to multiple recipes.
[0103] Therefore, the ingredient type can be identified from each first ingredient image, and at least two corresponding recipes can be determined based on each ingredient type, that is, each ingredient type corresponds to at least two recipes to be selected, and then these recipes to be selected are output to the display screen respectively, so that the user can select the recipe to be used when cooking the ingredient this time.
[0104] Receive a recipe selection instruction, which can be input through a display screen (touch screen), can also be input through voice, can also be input through physical buttons on the cooking device, etc.
[0105] Based on the recipe selection instruction, target recipes corresponding to the ingredients in each layer of the baking cavity are determined respectively.
[0106] In one embodiment, after cooking is finished, the cooking device also provides a social sharing function, that is, the user can share the cooking process. The shared content of the cooking process can be images or videos specially taken by the camera during the cooking process, or all the images of the ingredients obtained during the cooking process.
[0107] After acquiring all the food images in the cooking process, a short video can be generated based on all the food images, and a sharing interface corresponding to the short video can be generated, and the sharing interface can be output to the display screen. Afterwards, the user can choose whether to share the short video through the display screen.
[0108] For example, for each layer of the baking chamber, the control process of the cooking device is generally described below with an optional embodiment, such as Figure 3 As shown, a control method for a cooking device is provided. The method comprises the following steps:
[0109] Step 1: Turn on the oven light and control the camera to take a photo to obtain the first food image.
[0110] Step 2: Get the image information of the food.
[0111] Step 3: Determine whether the food is in the center of the image. If not, obtain the image offset data, determine the module movement amount according to the image offset data, and control the camera to move vertically on the electric guide rail based on the module movement amount to adjust the camera position, and return to step 1. If yes, execute step 4.
[0112] Step 4: Determine whether the light reaches the corresponding level (whether the image brightness reaches the preset brightness threshold). If yes, proceed to step 5. If no, control the furnace light to increase the brightness to adjust the image brightness to reach the preset brightness threshold, and return to step 1.
[0113] Step 5: Identify the ingredient type from the first ingredient image, and display at least two to-be-selected recipes corresponding to the ingredient type on a display screen for the customer to select a target recipe.
[0114] Step 6: Control the cooking process according to the target recipe.
[0115] Step 7: Control the camera to take photos at a first preset time interval, obtain the second food image, and compare it with the calibration image to obtain the maturity status.
[0116] Step 8: Based on the maturity state, determine whether the food has reached the corresponding level (i.e., whether the maturity state has changed). If not, wait for a certain period of time and return to step 7. If yes, execute step 9.
[0117] Step 9: End or enter the next cooking stage. If the current cooking stage is "raw", the next cooking stage can be "tender".
[0118] The process of the next cooking stage is similar to steps 7 to 9 and will not be described again here.
[0119] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0120] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0121] According to a first preset time interval, controlling the camera module to move in a vertical direction to respectively obtain first food images corresponding to each layer of the baking cavity;
[0122] Determining, based on each of the first food images, a target recipe corresponding to the food in each layer of the baking chamber, and a maturity state of the food;
[0123] Based on the ripeness state of the food in each layer of the baking cavity and the target recipe, the heating power of the heating component is controlled to control the heating temperature in each layer of the baking cavity.
[0124] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0125] For any first ingredient image:
[0126] Determining whether the food in any of the first food images is located at the center of the image;
[0127] If the food in any of the first food images is not at the center of the image, controlling the camera module to move to a target position in a vertical direction to obtain a second food image;
[0128] Based on the second ingredient image, a target recipe corresponding to the ingredient in the baking chamber and a maturity state of the ingredient are determined.
[0129] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0130] Determining image offset data based on the position of the food in any one of the first food images and the center of the image;
[0131] Determining the module movement amount based on the image deviation data;
[0132] The camera is controlled to move the module movement amount in the vertical direction on the electric guide rail to move to a target position, and the camera is controlled to capture a second food image at the target position.
[0133] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0134] Obtain calibration images corresponding to the food in each layer of the baking chamber respectively;
[0135] The first food image is compared with the corresponding calibration image to determine the maturity state of the food in each layer of the baking cavity.
[0136] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0137] Acquire the image brightness of the first food image;
[0138] If the image brightness is lower than a preset brightness threshold, the furnace lamp is controlled to increase the brightness so that the image brightness is equal to the preset brightness threshold.
[0139] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0140] Identifying and obtaining a food type from each of the first food images;
[0141] Based on each of the food types, outputting corresponding at least two recipes to be selected to the display screen;
[0142] A recipe selection instruction is received, and based on the recipe selection instruction, target recipes corresponding to the ingredients in the baking chambers of each layer are determined respectively.
[0143] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0144] Get all the images of ingredients during the cooking process;
[0145] Based on all the food images, generate a short video;
[0146] Generate a sharing interface corresponding to the short video, and output the sharing interface to a display screen.
[0147] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0148] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0149] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0150] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for controlling a cooking device, characterized in that: The cooking device comprises an inner pot, a multi-layered baking chamber arranged in the inner pot, a heating component, and a camera module movable in a vertical direction along the inner pot, and the method comprises: According to a first preset time interval, controlling the camera module to move in a vertical direction to respectively obtain first food images corresponding to each layer of the baking cavity; Determining, based on each of the first food images, a target recipe corresponding to the food in each layer of the baking chamber, and a maturity state of the food; Based on the ripeness state of the food in each layer of the baking cavity and the target recipe, the heating power of the heating component is controlled to control the heating temperature in each layer of the baking cavity.
2. The method according to claim 1, characterized in that The step of determining, based on each of the first food images, a target recipe corresponding to the food in each layer of the baking chamber and a maturity state of the food includes: For any first ingredient image: Determining whether the food in any of the first food images is located at the center of the image; If the food in any of the first food images is not at the center of the image, controlling the camera module to move to a target position in a vertical direction to obtain a second food image; Based on the second ingredient image, a target recipe corresponding to the ingredient in the baking chamber and a maturity state of the ingredient are determined.
3. The method according to claim 2, characterized in that The camera module includes a camera and an electric guide rail, and the electric guide rail is used to drive the camera to move; The step of controlling the camera module to move to a target position in a vertical direction to obtain a second food image includes: Determining image offset data based on the position of the food in any one of the first food images and the center of the image; Determining the module movement amount based on the image deviation data; The camera is controlled to move the module movement amount in the vertical direction on the electric guide rail to move to a target position, and the camera is controlled to capture a second food image at the target position.
4. The method according to claim 1, characterized in that: The determining the maturity state of the food in each layer of the baking chamber based on each of the first food images includes: Obtain calibration images corresponding to the food in each layer of the baking chamber respectively; The first food image is compared with the corresponding calibration image to determine the maturity state of the food in each layer of the baking cavity.
5. The method according to claim 1, characterized in that The camera module is provided with a furnace lamp; after the camera module is controlled to move in a vertical direction to obtain first food images corresponding to each layer of the baking chamber, the method includes: Acquire the image brightness of the first food image; If the image brightness is lower than a preset brightness threshold, the furnace lamp is controlled to increase the brightness so that the image brightness is equal to the preset brightness threshold.
6. The method according to claim 1, characterized in that The cooking device further includes a display screen, and determining a target recipe corresponding to the ingredients in each layer of the baking chamber based on each of the first ingredient images includes: Identifying and obtaining a food type from each of the first food images; Based on each of the food types, outputting corresponding at least two recipes to be selected to the display screen; A recipe selection instruction is received, and based on the recipe selection instruction, target recipes corresponding to the ingredients in the baking chambers of each layer are determined respectively.
7. The method according to claim 2 or 3, characterized in that: The cooking device further includes a display screen. After the cooking is finished, the method further includes: Get all the images of ingredients during the cooking process; Based on all the food images, generate a short video; Generate a sharing interface corresponding to the short video, and output the sharing interface to a display screen.
8. A cooking device, characterized in that: The cooking device comprises: Liner; A multi-layered grilling chamber disposed in the inner pot is used to provide a cooking space for ingredients; A camera module disposed in the inner pot and movable in a vertical direction of the inner pot, for taking images of the food, and moving in the multi-layer roasting chamber; A heating component disposed in the inner pot, used for heating the food; A processor, configured to implement the steps of the method according to any one of claims 1 to 7.
9. The cooking device according to claim 8, characterized in that The camera module includes a camera and an electric guide rail; the electric guide rail is used to drive the camera to move.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Cooking utensil and cooking method thereof
CN119867505A
