Oven and control method thereof

By installing the first camera component of a dual camera on the outside of the oven, and using the principle of binocular ranging and feature recognition, the problem of unclear images and inaccurate position judgment inside the oven in the existing technology is solved, and better food in the oven is achieved. Image acquisition and cooking effects.

CN114938920BActive Publication Date: 2024-10-15HISENSE (SHANDONG) KITCHEN & BATHROOM CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210688017.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2024-10-15
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

When the existing oven obtains the image of the food inside the oven, the image is not clear enough, and the position of the food cannot be accurately judged, resulting in inappropriate cooking procedures and inability to obtain better cooking results.

Method used

Install the first camera component of the dual camera outside the oven, use the principle of binocular ranging to obtain the shelf position of the baking pan in the oven, determine the type and attributes of the food through feature recognition and motion tracking, and recommend the appropriate shelf position and Cooking program.

Benefits of technology

Improved clarity and accuracy of food images ensures accurate placement of baking sheets in the oven, resulting in better cooking results and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114938920B_ABST
    Figure CN114938920B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an oven and a control method thereof, and particularly relates to the technical field of ovens, and is used to obtain images of food to be cooked and determine the accurate placement position of the food to be cooked. The oven includes: a box body; a door body; a protruding structure; the protruding structure is connected to the box body; a first camera assembly, which is embedded on a side surface of the protruding structure away from the box body, and the collection surface of the first camera assembly faces the plane where the bottom of the box body is located, and the first camera assembly includes a first camera and a second camera, and the first camera and the second camera constitute a binocular camera; a controller, which is configured to: obtain a first binocular image obtained by photographing a baking tray placed in the oven through the first camera assembly; based on the binocular ranging principle, process the first binocular image to obtain the shelf position of the baking tray in the oven.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ovens, and in particular to an oven and a control method thereof. Background Art

[0002] With the development of science and technology, more and more home appliances are developing in the direction of diversity, and the types of ovens are becoming more and more diverse. During the use of the oven, real-time observation of food, such as taking videos and photos, is not only a user's demand, but also one of the directions for the development of intelligent ovens.

[0003] At present, in order to obtain images inside the oven, most people install a camera inside the oven. Although the image of the food can be captured, the captured image is not clear enough, and the oven cannot accurately determine the placement of the food based on the image captured by the camera. The cooking program matched accordingly is not appropriate, and a better cooking effect cannot be obtained. Summary of the invention

[0004] The present application provides an oven and a control method thereof, which are used to obtain an image of food to be cooked and determine the exact placement position of the food to be cooked.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides an oven, comprising:

[0007] The box body is provided with a cooking cavity for taking in and putting in food;

[0008] The door body has one end rotatably connected to the box body and the other end is a free end; when the door body is in a closed state, it covers the cooking cavity opening and forms a cooking cavity with the box body;

[0009] The protruding structure is arranged at the edge of the cooking cavity, and the protruding structure is located on the side where the free end of the door body in the closed state is located; the protruding structure is connected to the box body;

[0010] A first camera assembly is embedded on a side surface of the protruding structure away from the box body, the collection surface of the first camera assembly faces the plane where the bottom of the box body is located, the first camera assembly includes a first camera and a second camera, and the first camera and the second camera constitute a binocular camera;

[0011] The controller is configured as:

[0012] Acquiring a first binocular image by photographing a baking tray placed in the oven through a first camera assembly;

[0013] Based on the binocular ranging principle, the first binocular image is processed to obtain the shelf position of the baking tray in the oven.

[0014] The technical solution provided by the embodiment of the present application brings at least the following beneficial effects: since the first camera assembly is located outside the oven, the first camera assembly is not disturbed by the oil smoke inside the oven when taking images, and the images are clearer. The oven controller can process the first binocular image taken by the first camera assembly based on the binocular ranging principle, and can more accurately determine the shelf position of the baking tray in the oven. In this way, in the subsequent cooking process, the controller can control the operation of other electrical components according to the accurate shelf position of the baking tray, and can obtain better cooking effects.

[0015] In some embodiments, the controller of the oven is configured to obtain a first binocular image obtained by photographing a baking tray placed in the oven through a first camera assembly, and specifically perform the following steps: in response to the user's operation of opening the door, control the first camera assembly to shoot and obtain a first video; perform feature recognition on each binocular image in the first video; after the baking tray feature is first recognized from the binocular image in the first video, track the motion of the baking tray; based on the motion tracking of the baking tray, use the binocular image taken in the first video when the baking tray is in a non-moving state as the first binocular image. In this way, by performing feature recognition on each binocular image in the first video and tracking the motion of the baking tray, the motion state of the baking tray can be accurately determined, thereby accurately determining the first binocular image of the baking tray in a non-moving state in the first video.

[0016] In some embodiments, the controller of the oven is further configured to: based on the motion tracking of the baking tray, use the binocular image captured in the first video when the baking tray is in motion as the second binocular image; perform feature recognition on the second binocular image to determine the type information of the food on the baking tray; determine the recommended shelf position based on the type information of the food on the baking tray; and issue a first prompt message, the first prompt message being used to indicate to the user the recommended shelf position suitable for the baking tray. In this way, the controller of the oven can determine the type information of the food on the baking tray by performing feature recognition on the second binocular image, and can then recommend a shelf position to the user based on the type information of the food, and indicate to the user the recommended shelf position suitable for the baking tray, so that the user can place the baking tray on the recommended shelf position, so that the food can achieve a better cooking effect.

[0017] In some embodiments, the oven further includes: a second camera assembly, which is disposed in the cooking cavity and located on the side wall of the cooking cavity opposite to the door body, and the acquisition surface of the second camera assembly faces the cooking cavity opening; the controller of the oven is further configured to: control the second camera assembly to shoot to obtain a third image; perform three-dimensional modeling of the food on the baking tray based on the first binocular image and the third image to obtain a first food model; determine the attribute information of the food according to the first food model, the attribute information of the food including at least one of the type of food, the volume of the food, or the type of food; determine the cooking program according to the attribute information of the food; and execute the cooking program. In this way, the controller of the oven can perform three-dimensional modeling of the food on the baking tray according to the first binocular image and the third image, and can obtain a more accurate and complete first food model, and the controller can determine the attribute information of the food on the baking tray accordingly, and then match a cooking program that is more in line with the food attribute information, thereby achieving a better cooking effect.

[0018] In some embodiments, the controller of the oven is further configured to: after executing the cooking program, in response to the user opening the door, control the first camera assembly to shoot to obtain a fourth binocular image, and control the second camera assembly to shoot to obtain a fifth image; based on the fourth binocular image and the fifth image, perform three-dimensional modeling of the food on the baking tray to obtain a second food model; and determine the ingredient information of the food according to the second food model, the ingredient information of the food including at least one of the water content, fat content, or energy content of the food. In this way, after the controller completes the cooking program, the second food model is obtained by secondary modeling of the food, and the various ingredient information of the food can be accurately and clearly determined, so that the user can have a clearer understanding of the nutritional content of the food.

[0019] In some embodiments, the controller of the oven is further configured to: during the cooking process, control the second camera assembly to shoot to obtain a sixth image; divide the sixth image into a foreground area and a background area; detect the outline edge of the food on the baking tray from the divided foreground area; perform background blur processing on the sixth image according to the outline edge of the food on the baking tray; and display the sixth image after the background blur processing. In this way, by performing background blur processing on the sixth image, the sundries in the sixth image can be hidden, and the sixth image is more beautiful, which can enhance the viewing experience of the user.

[0020] In some embodiments, the controller of the oven is further configured to: when the door is in a closed state, obtain the second video captured by the first camera assembly; perform feature recognition on each binocular image in the second video; and control the door to open in response to the first recognition of a preset human feature from the binocular image of the second video. In this way, when the controller of the oven recognizes the preset human feature from the binocular image of the second video, the controller controls the door to open automatically without the need for the user to manually operate the door, which makes it convenient for the user to use the oven when the user encounters special circumstances. For example, when the user has food in his hand and cannot manually open the door, the user extends his feet into the shooting range of the first camera assembly, and the controller recognizes the user's feet from the second video captured by the first camera assembly, and then controls the door to open, without the need for the user to manually operate the door to open, which makes it more convenient for the user to use the oven.

[0021] In a second aspect, an embodiment of the present application provides a method for controlling an oven, the method comprising: acquiring a first binocular image by photographing a baking tray placed in the oven through a first camera component; based on the binocular ranging principle, processing the first binocular image to obtain a shelf position of the baking tray in the oven.

[0022] In some embodiments, a first binocular image is obtained by photographing a baking tray placed in an oven through a first camera component, specifically including: in response to a user opening a door, controlling the first camera component to photograph and obtain a first video; performing feature recognition on each binocular image in the first video; after the baking tray feature is first recognized from the binocular image in the first video, tracking the motion of the baking tray; based on the motion tracking of the baking tray, using the binocular image captured in the first video when the baking tray is in a non-moving state as the first binocular image.

[0023] In some embodiments, the control method also includes: based on motion tracking of the baking tray, using the binocular image captured in the first video when the baking tray is in motion as a second binocular image; performing feature recognition on the second binocular image to determine type information of food on the baking tray; based on the type information of food on the baking tray, determining a recommended shelf position; and issuing a first prompt message, the first prompt message being used to indicate to the user a recommended shelf position suitable for the baking tray.

[0024] In a third aspect, an embodiment of the present application provides a controller comprising: one or more processors; one or more memories; wherein the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the controller executes any one of the control methods provided in the second aspect.

[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which, when controlled on a computer, enable the computer to execute the method provided in the second aspect and possible implementation methods.

[0026] In a fifth aspect, an embodiment of the present invention provides a computer program product, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the method provided in the second aspect and possible implementation methods.

[0027] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the controller, or may be packaged separately from the processor of the controller, which is not limited in this application.

[0028] The beneficial effects described in the second to fifth aspects of the present application can be referred to the beneficial effect analysis of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of the overall structure of an oven provided in an embodiment of the present application;

[0030] Figure 2 A schematic diagram of the installation of a camera assembly provided in an embodiment of the present application;

[0031] Figure 3 A schematic diagram of the structure of a camera assembly provided in an embodiment of the present application Figure 1 ;

[0032] Figure 4 A schematic diagram of the acquisition angle of a camera assembly provided in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of the structure of a camera assembly provided in an embodiment of the present application Figure 2 ;

[0034] Figure 6 A schematic diagram of the structure of a camera assembly provided in an embodiment of the present application Figure 3 ;

[0035] Figure 7 A schematic diagram of the installation of a display screen provided in an embodiment of the present application Figure 1 ;

[0036] Figure 8 A schematic diagram of the installation of a display screen provided in an embodiment of the present application Figure 2 ;

[0037] Fig. 9A schematic diagram of the structure of a camera assembly provided in an embodiment of the present application Figure 4 ;

[0038] Fig.10 A schematic diagram of the structure of a camera assembly provided in an embodiment of the present application Figure 5 ;

[0039] Fig.11 A schematic diagram of the structure of another oven provided in an embodiment of the present application;

[0040] Fig.12 A circuit system architecture diagram of an oven provided in an embodiment of the present application;

[0041] Fig.13 A flow chart of a method for controlling an oven provided in an embodiment of the present application;

[0042] Fig.14 A flow chart of another oven control method provided in an embodiment of the present application;

[0043] Fig.15 A flow chart of another oven control method provided in an embodiment of the present application;

[0044] Fig.16 A flow chart of another oven control method provided in an embodiment of the present application;

[0045] Fig.17 A flow chart of another oven control method provided in an embodiment of the present application;

[0046] Fig.18 A flow chart of another oven control method provided in an embodiment of the present application;

[0047] Fig.19 A schematic diagram of a cooking process of an oven provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0049] As described in the background technology, when the camera is installed inside the oven, although the image inside the oven can be captured, the captured image is not clear enough and cannot be used to accurately determine the placement of the food to be cooked inside the oven. The cooking program matched according to the placement of the food to be cooked cannot achieve better cooking results.

[0050] In view of this, the present application provides an oven, which can capture the process of a user putting food into the oven by installing a first camera assembly with dual cameras on a protruding structure outside the oven, and the image captured by the first camera assembly is also clearer, so the placement of the food in the oven can be accurately determined. Moreover, the first camera assembly is located outside the oven and is not damaged by the high temperature inside the oven when the oven is working, so there is no need to deliberately increase the high temperature resistance of the first camera assembly, and the manufacturing cost can also be saved.

[0051] In the embodiment of the present application, the oven is a cooking device with a baking function or a steam heating function. For example, the oven can be an electric oven, an integrated stove with an oven function, etc., which is not limited to this.

[0052] To further describe the solution of this application, Figure 1 The figure shows a schematic diagram of the overall structure of an oven provided in an embodiment of the present application. Figure 1 As shown, the oven 10 includes: a box body 11, a door body 12 and a first camera assembly 13.

[0053] In some embodiments, the box body 11 is provided with a top plate 110 on the top side, side plates 111 on both sides, a rear plate 112 (not shown) on the rear side, a bottom plate 113 (not shown) on the bottom, and a front plate 114 on the front side. A cooking cavity for taking in and putting food is provided on the front plate 114, and a protruding structure 115 is formed at one end of the front plate 114 away from the bottom plate 113 at the edge of the cooking cavity. The protruding structure 115 is located on the side where the free end of the door body 12 in the closed state is located. The box body 11 can be as follows Figure 1 The one shown is approximately a rectangular parallelepiped, but other shapes are also possible.

[0054] In some embodiments, one end of the door body 12 is rotatably connected to the bottom plate 113 of the box body 11 through a door hinge assembly, and the other end is a free end. When the door body 12 is in a closed state, it covers the cooking cavity opening and forms a cooking cavity with the box body 11, and the cooking cavity is connected to the cooking cavity opening opened on the front plate 114. When cooking is required, the cooking cavity is opened by using the door body 12, and the food to be cooked is placed into the cooking cavity from the cooking cavity opening, and then the cooking cavity is closed by using the door body 12, and the power is turned on to cook. After cooking is completed, the food is taken out to achieve cooking of the food.

[0055] In some embodiments, an observation window may be further provided on the door body 12 for observing the cooking status of food in the oven 10. The observation window is usually made of high temperature resistant transparent glass material, through which the user can clearly see the cooking status of the food inside the oven, so that the user can confirm whether the oven 10 is in a normal operating state.

[0056] In some embodiments, a door handle may be further provided on the door body 12 to provide a force application point for the user when opening the oven door, thereby facilitating the user to open the door body 12 of the oven 10 .

[0057] In some embodiments, the first camera assembly 13 is embedded on a side surface of the protruding structure 115 away from the box body 11, and the collection surface of the first camera assembly 13 faces the plane where the bottom of the box body 11 is located. In this way, the first camera assembly 13 is located outside the oven, which can prevent the first camera assembly 13 from being damaged by the high temperature when the oven 10 is working. In addition, the collection surface of the first camera assembly 13 faces the plane where the bottom of the box body 11 is located, which can not only collect images inside the oven 10, but also collect part of the image outside the door body 12 of the oven 10. When the user puts in or takes out food, the first camera assembly 13 can collect images of the food outside the oven 10. When the food is outside the oven 10, it is not affected by the oil smoke inside the oven 10, and the food image collected by the first camera assembly 13 is also clearer.

[0058] In some embodiments, Figure 2 As shown, a groove is provided on the protruding structure 115, and at least a part of the first camera assembly 13 is located in the groove. In this way, by embedding the first camera assembly 13 in the groove of the protruding structure 115, the first camera assembly 13 and the protruding structure 115 are more firmly combined.

[0059] In some embodiments, reference Figure 3 The first camera assembly 13 includes: a camera housing 130, a first camera 131 and a second camera 132. A camera installation cavity is provided in the camera housing 130, and the first camera 131 and the second camera 132 are arranged side by side and spaced apart in the camera installation cavity along the width direction of the cooking cavity. The width direction of the cooking cavity is perpendicular to the depth direction of the cooking cavity and parallel to the plane where the bottom of the box is located. In this way, the first camera 131 and the second camera 132 are arranged side by side to form a first camera assembly 13 with dual cameras. The distance between the camera assembly and the object can be obtained from the picture taken by the first camera assembly 13 based on the binocular ranging principle, and the oven 10 can realize functions such as three-dimensional modeling of food.

[0060] In some embodiments, the collection surfaces of the first camera 131 and the second camera 132 are both oriented toward the plane where the bottom of the box 11 is located, and the viewing angle range of the first camera assembly 13 to collect images can be as follows: Figure 4 The shaded area in the figure is shown.

[0061] Optionally, the camera housing 130 may be Figure 2 The shown one is in a cylindrical shape and is disposed on the protruding structure 115 , but may also be in other shapes (such as a cuboid, etc.).

[0062] At present, there are two main application methods of dual-camera solutions:

[0063] Method 1: Use dual cameras to generate stereoscopic vision and obtain the depth of field information of the image, and then use the depth of field information of the image for distance-related applications (such as blurring the background of an object, etc.), 3D shooting and modeling-related applications, optical zoom-related applications, etc.

[0064] Method 2: Use two different pictures taken by dual cameras to fuse them to obtain an image with better quality.

[0065] When the distance between the two cameras is greater, the depth of field accuracy is higher; when the distance between the two cameras is closer, the difference between the captured images is smaller, the error generated when the two images are fused is smaller, and the image quality is higher.

[0066] Based on the two application modes of the dual-camera solution, the combination of the two cameras in the dual-camera assembly can be any of the following combinations:

[0067] Combination 1: color camera + color camera. The color camera uses the RGB color mode to obtain various colors through the changes of the three color channels of red (R), green (G), and blue (B) and their superposition.

[0068] The depth of field calculated from the images captured by this combination is also more accurate, which allows for background blur and refocusing of objects in the image (i.e. taking a photo first and then focusing).

[0069] Combination 2: Color camera + black and white camera. The black and white camera does not use a color filter, and its photosensitivity is greatly improved, so it can record the outline and details of objects with high resolution.

[0070] By combining a color camera and a black and white camera, the imaging quality of images in dark environments can be improved, and clear images can be obtained even in poor light.

[0071] Combination 3: wide-angle camera + telephoto camera. The wide-angle camera has a shorter focal length, a wider viewing angle, and a longer depth of field; the telephoto camera has a longer focal length, a smaller viewing angle, and a shorter depth of field.

[0072] By combining the wide-angle camera and the telephoto camera, optical zoom can be achieved, so that both distant and near objects can be captured clearly.

[0073] Combination 4: Color camera + depth camera. The depth camera has a depth measurement function and can more accurately perceive changes in the surrounding environment.

[0074] By combining a color camera and a depth camera, three-dimensional modeling of objects in the image can be achieved, for example.

[0075] In the embodiment of the present application, the combination of the first camera 131 and the second camera 132 in the first camera assembly 13 can be a combination of a color camera and a depth camera to better achieve a three-dimensional modeling effect of the food to be cooked.

[0076] In this way, by arranging the first camera and the second camera side by side and at intervals along the width direction of the cooking cavity in the camera housing 130, two sets of images can be collected. Then, the oven can measure the distance between the food and the first camera component based on the two sets of images using depth of field ranging technology, and then determine the placement of the food in the oven, so that the oven can better perform the cooking process according to the placement of the food.

[0077] In some embodiments, Figure 5 As shown, the first camera assembly 13 further includes: a door switch button 133, which is arranged on the outer surface of the camera housing 130 and away from the side of the box body 11; the door switch button 133 is used to control the opening and closing of the door body 12. In this way, when it is necessary to put food in, the user only needs to click the door switch button 133 to open the door body 12, which is more convenient and quick.

[0078] In some embodiments, Figure 6 As shown, the first camera assembly 13 also includes: a first display screen 134, which is arranged on a side of the camera housing 130 away from the bottom of the box body 11 and connected to the camera housing 130, and the first display screen 134 is electrically connected to the first camera 131 and the second camera 132, and the first display screen 134 is used to display the image collected by the first camera 131 and the second camera 132 or the control panel of the oven 10. Among them, the first display screen 134 can be set to a circular, oval, square, etc., and the embodiment of the present application does not make specific restrictions on this. In this way, by setting the first display screen 134 on a side of the camera housing 130 away from the bottom of the box body 11, the image collected by the first camera assembly 13 can be displayed, so that the user can have a clearer understanding of the cooking process of the food in the oven 10, and improve the user's experience. Alternatively, the user can also set or view the working parameters of the oven 10 (such as the working time of the oven 10, the heating temperature, etc.) on the first display screen 134, so that the user can have a deeper understanding of the cooking process of the food.

[0079] Optionally, the first display screen 134 may be a liquid crystal display screen or an organic light-emitting diode (OLED) display screen. The specific type, size, and resolution of the display screen are not limited. It is understood by those skilled in the art that the display screen may be modified in performance and configuration as required.

[0080] In some embodiments, Figure 6 As shown, the first camera assembly 13 further includes: a connecting portion 135, which is disposed between the first display screen 134 and the camera housing 130, one end of the connecting portion 135 is clamped on the camera housing 130, and the other end is rotatably connected to the first display screen 134. In this way, the first display screen 134 can be rotated, and the user does not need to change the viewing angle, but only needs to rotate the first display screen 134 to allow the user to view the image displayed on the first display screen 134, which can improve the user experience.

[0081] In some embodiments, the rotation angle between the first display screen 134 and the connecting portion 135 ranges from 30° to 45°. For example, when the rotation angle between the first display screen 134 and the connecting portion 135 is 30°, the installation state of the first display screen 134 can be as follows: Figure 7 As shown, when the rotation angle between the first display screen 134 and the connecting portion 135 is 45°, the installation state of the first display screen 134 can be as follows: Figure 8 shown.

[0082] In this way, by setting the rotation angle range between the first display screen 134 and the connecting portion 135 to be between 30° and 45°, the user can obtain a more comfortable viewing experience when viewing the display content of the first display screen 134, which can better meet the user's needs.

[0083] In some embodiments, Fig. 9 or Fig.10 As shown, the first camera assembly 13 further includes: a transparent protective shell 136, which is arranged on one side of the first camera 131 and the second camera 132 near the bottom of the box body 11, and covers the collection surface of the first camera 131 and the second camera 132, and the transparent protective shell 136 is connected to the camera shell 130. Among them, the transparent protective shell 136 can be made of tempered glass or other hard transparent materials, and this application does not limit this.

[0084] In this way, the transparent protective shell 136 and the camera shell 130 form an enclosed space that can accommodate the first camera 131 and the second camera 132, which can protect the two cameras from damage caused by external collisions, and the transparent protective shell 136 will not affect the image capture effect of the first camera 131 and the second camera 132.

[0085] In some embodiments, Fig. 9 or Fig.10As shown, the first camera assembly 13 further includes: a heater 137, which is disposed between the collection surface of at least one of the first camera 131 and the second camera 132 and the transparent protective shell 136, and is used to heat the transparent protective shell 136. In this way, after cooking is completed, the transparent protective shell 136 is heated by the heater 137, and will not be fogged due to the hot steam when the food is taken out of the oven 10, and the first camera 131 and the second camera 132 can still collect clear images.

[0086] Optionally, the upper limit of the heating temperature of the heater 137 can be set to 45° C. In this way, the transparent protective shell 136 can be heated to prevent the hot air from condensing on the transparent protective shell 136 to form water mist, which affects the effect of the first camera 131 and the second camera 132 in collecting images, and the heating temperature of the heater 137 can be prevented from being too high to damage the first camera 131 and the second camera 132.

[0087] In some embodiments, a baking tray device 14 is further provided in the cooking cavity, and the baking tray device includes a baking tray shelf 141 and a removable baking tray 142. The baking tray shelf 141 can be divided into multiple levels according to the size of the cooking cavity, for example, Figure 1 As shown, the baking tray rack 141 is divided into a first rack 1411, a second rack 1412, a third rack 1413, a fourth rack 1414 and a fifth rack 1415. The baking tray rack 141 is used to support the baking tray 142. According to the cooking needs of the user, the baking tray 142 can be moved on multiple levels of the baking tray rack 141 to obtain a better cooking effect.

[0088] Optionally, the baking tray device 14 can also be replaced by a rotatable tray device, which includes a tray body and a drive motor. The tray body is used to hold the food to be cooked, and the drive motor drives the tray body to rotate, so that the food is cooked more evenly and quickly. Alternatively, the baking tray device 14 can also be replaced by a rotatable grill device, which includes a plurality of oil-leaking skeleton structures and a drive motor. The skeleton structure is used to insert the food to be baked, and the drive motor drives the skeleton structure to rotate, so that the food is baked more evenly, and the oil generated during the baking process can also leak out, so as to obtain more delicious food.

[0089] In some embodiments, Fig.11 As shown, the oven 10 further includes: a second camera assembly 15, which is arranged in the cooking cavity and located on the side wall of the cooking cavity opposite to the door body 12, and the collection surface of the second camera assembly 15 faces the cooking cavity opening. In this way, by adding the second camera assembly 15 inside the oven 10, the image inside the oven 10 can be fully collected in combination with the perspective of the image collection of the first camera assembly 13, and the placement position of the food in the oven 10 can also be determined more accurately.

[0090] Fig.12 The circuit system architecture diagram of the oven 10 is shown as an example.

[0091] like Fig.12 As shown, the oven 10 further includes: a heating element 16 , a temperature sensor 17 , a timing device 18 , a voice prompt device 19 , a human-computer interaction device 20 , a communication device 21 , a power supply 22 and a controller 23 .

[0092] Among them, the first camera component 13, the second camera component 15, the heating element 16, the temperature sensor 17, the timing device 18, the voice prompt device 19, the human-computer interaction device 20, the communication device 21 and the power supply 22 are all connected to the controller 23.

[0093] In some embodiments, the heating element 16 refers to a heating component with a heating function, which is used to heat the food inside the oven 10 so that the food inside the oven 10 is cooked. The heating element 16 can be arranged at the upper and lower parts of the box body 11, and can also be arranged on the four sides of the box body 11, and the number of heating elements 16 can be set to multiple. In particular, when the oven includes a second camera assembly 15, the second camera assembly 15 should be arranged at the cold end of the heating element 16 to prevent the high temperature of the heating element 16 from damaging the second camera assembly 15 when it is working.

[0094] In some embodiments, the temperature sensor 17 refers to a sensor that can detect temperature and convert the detected temperature value into a usable output signal, and can be used to detect the temperature inside the oven 10. The temperature sensor 17 can be arranged at the upper and lower parts of the box body 11, and can also be arranged on the four side surfaces of the box body 11, and the number of the temperature sensor 17 can be set to multiple.

[0095] In some embodiments, the timing device 18 is used to limit the cooking time of the oven 10. When the cooking time defined by the user is exceeded, the controller 23 can control the heating element 16 to stop working or reduce the heating power, thereby completing the cooking of the food in the oven.

[0096] In some embodiments, the voice prompt device 19 is used to play voice prompt information according to a program. The content of the voice prompt information can be preset by the manufacturer of the oven 10, or can be set by the user through the human-computer interaction device 20. For example, when the controller 23 determines that the food in the oven 10 is cooked, the controller 23 can control the voice prompt device 19 to play prompt information such as "the food is cooked".

[0097] In some embodiments, the human-machine interaction device 20 is used to implement the interaction between the user and the oven 10. The human-machine interaction device 20 may include one or more of a physical button or a touch display panel. For example, the user may instruct the oven 10 to start executing a cooking program through the human-machine interaction device 20, or the user may also set the working parameters of the oven 10 such as the working temperature and the running time through the human-machine interaction device 20.

[0098] In some embodiments, the communication device 21 is a component for communicating with an external device or server according to various communication protocol types. For example, the communication device 21 may include a wireless communication technology (Wi-Fi) module, a Bluetooth module, a wired Ethernet module, a near field communication technology (NFC) module, and other network communication protocol chips or near field communication protocol chips, and at least one of an infrared receiver. The communication device 21 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.).

[0099] In some embodiments, the controller 23 can be used to communicate with the terminal device used by the user through the communication device 21. For example, after the oven 10 completes the cooking process, the controller 23 can send a prompt message, such as "the food has been cooked", to the terminal device used by the user through the communication device 21, prompting the user that the cooking process has been completed and the food can be taken out of the oven 10.

[0100] In some embodiments, under the control of the controller 23 , the power supply 22 provides power supply support for the oven 10 using power input from an external power source.

[0101] In some embodiments, the controller 23 refers to a device that can generate an operation control signal according to the instruction operation code and the timing signal to instruct the oven 10 to execute the control instruction. Exemplarily, the controller 23 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a programmable logic device (PLD), a microprocessor, a microcontroller or any combination thereof. The controller can also be other devices with processing functions, such as circuits, devices or software modules, and the embodiments of the present application do not impose any restrictions on this.

[0102] Exemplarily, the controller 23 can sense the temperature of various locations inside the oven through the temperature sensor 17, and then determine whether it is necessary to adjust the heating power or heating time of the heating element 16 so that the cooked food has a better taste and color.

[0103] The specific scheme of the present application is described in detail below in conjunction with the accompanying drawings.

[0104] The present application embodiment provides a method for controlling an oven, such as Fig.13 As shown, the method comprises the following steps:

[0105] S101. A controller obtains a first binocular image by photographing a baking tray placed in an oven through a first camera assembly.

[0106] The binocular image is an image captured from two different angles corresponding to the same subject. In an embodiment of the present application, the binocular image includes a first channel image and a second channel image. The first channel image is an image captured by the first camera in the first camera assembly, and the second channel image is an image captured by the second camera in the first camera assembly.

[0107] In some embodiments, the controller obtains a first binocular image by photographing a baking tray placed in the oven through a first camera component, which can be specifically implemented as follows: in response to the user opening the door, the controller controls the first camera component to shoot, and after obtaining the first video, the controller performs feature recognition on each binocular image in the first video; after first identifying the baking tray feature from the binocular image in the first video, the controller tracks the motion of the baking tray, and based on the motion tracking of the baking tray, the controller uses the binocular image captured in the first video when the baking tray is in a non-moving state as the first binocular image.

[0108] The controller performs feature recognition on each binocular image in the first video, and can obtain a recognition result of the baking tray feature by inputting each binocular image in the first video into a baking tray feature recognition model.

[0109] Exemplarily, a feature recognition model may be pre-trained according to a machine learning algorithm, and then each binocular image in the first video is input into the pre-trained feature recognition model to obtain a recognition result of the baking pan feature, which indicates whether the baking pan feature exists in the binocular image in the first video.

[0110] In some embodiments, there are many different detection forms and implementation methods for detecting using a feature recognition model based on a machine learning algorithm. For example, a traditional human region recognition model based on a machine learning algorithm can be obtained using a support vector machine algorithm (SVM), a gradient boosting decision tree algorithm (GBDT), a random forest algorithm (RF), etc., and a baking pan feature recognition model based on deep learning can also be obtained using a convolutional neural network algorithm (CNN), a recurrent neural network algorithm (RNN), and a long short-term memory network algorithm (LSTM).

[0111] It is easy to understand that deep convolutional neural networks can automatically extract and learn more essential features in images from massive training data. Applying deep convolutional neural networks to baking tray feature detection based on binocular images will significantly enhance the classification effect and further improve the accuracy of baking tray feature detection.

[0112] In some embodiments, the controller tracks the motion of the baking tray and may determine the motion state and position of the baking tray by using a background difference method, an inter-frame difference method, or an optical flow method.

[0113] For example, taking the inter-frame difference method as an example, the controller first calculates the difference between adjacent frames of each binocular image of the first video, so as to determine the position, shape and other information of the baking tray, and then can determine when the baking tray is in motion or in a non-motion state.

[0114] S102: The controller processes the first binocular image based on the binocular ranging principle to obtain the shelf position of the baking tray in the oven.

[0115] Among them, the binocular ranging principle is to simulate the imaging principle of the human eye, and process the two images taken by the two cameras in the first camera component to obtain the distance between the object in the image and the first camera component.

[0116] The actual operation of binocular ranging is divided into 4 steps:

[0117] Step 1: Camera calibration.

[0118] Due to the characteristics of the optical lens and assembly errors, the final imaging of the camera will be distorted. Therefore, it is necessary to calibrate the internal parameters of the two cameras in the dual-camera assembly (focal length, imaging origin, distortion parameters), as well as the relative position between the two cameras (rotation matrix and translation vector).

[0119] Step 2: Binocular calibration.

[0120] According to the monocular intrinsic parameter data (focal length, imaging origin, distortion parameters) and binocular relative position relationship (rotation matrix and translation vector) obtained after camera calibration, the images taken by the first camera and the second camera (hereinafter referred to as the left and right views for convenience) are respectively dedistorted and aligned in rows, so that the imaging origin coordinates of the left and right views are consistent, the optical axes of the two cameras are parallel, the left and right imaging planes are coplanar, and the epipolar lines are aligned in rows. In this way, any point on one image and its corresponding point on the other image must have the same row number, and the corresponding point can be matched by performing a one-dimensional search in the row.

[0121] Step 3: Binocular matching.

[0122] By using binocular matching, we can match the corresponding pixels of the same scene in the left and right views to get a disparity map. After getting the disparity data, we can calculate the depth information through mathematical formulas.

[0123] Step 4: Calculate depth information.

[0124] According to the binocular matching result, the depth of each pixel in the binocular image is calculated, so that the vertical distance of each object in the binocular image relative to the first camera assembly can be obtained.

[0125] Therefore, based on the binocular ranging principle, the controller processes the first binocular image to obtain the vertical distance between the baking tray and the first camera assembly, and then determines the shelf position of the baking tray where the baking tray is placed according to the preset vertical distance between the baking tray shelf and the first camera assembly. For example, after the controller processes the first binocular image, it is determined that the vertical distance between the baking tray and the first camera assembly is 30 cm, and the vertical distances between the first shelf, the second shelf, the third shelf, the fourth shelf, and the fifth shelf and the first camera assembly are 10 cm, 20 cm, 30 cm, 40 cm, and 50 cm, respectively, then it can be determined that the shelf position where the baking tray is placed is the third shelf.

[0126] In some embodiments, after determining the shelf position where the baking tray is placed, the controller of the oven can adjust the working state of the heating element according to the shelf position where the baking tray is placed. For example, assuming that the shelf positions of the baking tray are divided into the first shelf, the second shelf, the third shelf, the fourth shelf and the fifth shelf, and heating elements are arranged at these five shelves, when the controller of the oven determines that the baking tray is placed at the third shelf, the controller can control the heating elements at the first shelf, the second shelf, the fourth shelf and the fifth shelf to stop working or reduce the working time to save electricity.

[0127] Fig.13 The technical solution shown brings at least the following beneficial effects: since the first camera assembly is located outside the oven, the first camera assembly is not disturbed by the oil smoke inside the oven when taking images, and the images are clearer. The oven controller can process the first binocular image taken by the first camera assembly based on the binocular ranging principle, and can more accurately determine the shelf position of the baking tray in the oven. In this way, in the subsequent cooking process, the controller can control the operation of other electrical components according to the accurate shelf position of the baking tray, and can obtain better cooking effects.

[0128] In some embodiments, when the baking tray has not yet been placed on the shelf of the oven, the oven controller can recommend a suitable shelf to the user to provide the user with a better adaptation experience. Fig.14 As shown, the embodiment of the present application also provides a method for controlling an oven, the method comprising the following steps:

[0129] S201. Based on the motion tracking of the baking tray, the controller uses the binocular image captured in the first video when the baking tray is in motion as the second binocular image.

[0130] The first video may include a plurality of binocular images of the baking tray in motion, and the controller may select any one of the binocular images as the second binocular image.

[0131] S202: The controller performs feature recognition on the second binocular image to determine the type information of the food on the baking tray.

[0132] Among them, the type information of food on the baking tray can be divided into multiple categories, such as: staple food (rice, noodles, vermicelli, etc.), meat (chicken, fish, etc.), vegetarian dishes (green vegetables, mushrooms, etc.), etc.

[0133] As a possible implementation, the controller inputs the second binocular image into a feature recognition model to determine the type information of the food on the baking tray. The specific recognition method can be found above and will not be described in detail here.

[0134] S203: The controller determines a recommended shelf position based on the type information of the food on the baking tray.

[0135] As a possible implementation manner, there is a correspondence between the type information of the food on the baking tray and the shelf position where the baking tray is placed, and the controller can determine the recommended shelf position based on this correspondence.

[0136] Exemplarily, it is assumed that the type information of food on the baking tray is divided into staple food, meat, and vegetarian dishes, and the shelf positions of the baking tray are the first shelf, the second shelf, the third shelf, the fourth shelf, and the fifth shelf from top to bottom, and the heating element is installed at the third shelf. When the controller recognizes meat from the second binocular image, the controller can determine that the recommended shelf position is the third shelf, so that the meat is closer to the heating element, and can be cooked quickly and save user time. When the controller recognizes staple food or vegetarian dishes from the second binocular image, the controller can determine that the recommended shelf position is a shelf other than the third shelf. It should be understood that when staple food or vegetarian dishes are put into the oven together with meat, staple food and vegetarian dishes are always matured before meat at the same temperature, so the staple food or vegetarian dishes should be placed slightly away from the heating element to delay the maturation time of staple food and vegetarian dishes, so that meat food, staple food and vegetarian dishes can be matured together as much as possible to obtain a better cooking effect.

[0137] S204: The controller sends a first prompt message.

[0138] The first prompt information is used to indicate to the user the recommended shelf position suitable for the baking tray.

[0139] Optionally, the first prompt information may be in the form of text and graphics, and the controller controls the first display screen to display the first prompt information in the form of text and graphics to indicate to the user the recommended shelf position suitable for the baking tray; or, the first prompt information may be in the form of voice, and the controller controls the voice prompt device to issue the first prompt information in the form of voice to indicate to the user the recommended shelf position suitable for the baking tray.

[0140] Fig.14 The technical solution shown brings at least the following beneficial effects: the controller of the oven can determine the type information of the food on the baking tray by performing feature recognition on the second binocular image, and then can recommend shelf positions to the user based on the type information of the food, and indicate to the user the recommended shelf positions suitable for the baking tray, so that the user can place the baking tray on the recommended shelf position, thereby achieving a better cooking effect for the food.

[0141] In some embodiments, Fig.15 As shown, the embodiment of the present application also provides a method for controlling an oven, the method comprising the following steps:

[0142] S301. The controller controls the second camera assembly to shoot to obtain a third image.

[0143] In response to the user opening the door, the controller can control the second camera assembly to capture a third image. Since the second camera assembly is installed on the rear wall of the cooking cavity in the oven, the third image captured by the second camera assembly contains side profile information of the food, such as the thickness and width of the food.

[0144] S302: The controller performs three-dimensional modeling of the food on the baking tray based on the first binocular image and the third image to obtain a first food model.

[0145] In some embodiments, based on the first binocular image, the controller of the oven can obtain the vertical distance between the food on the baking tray and the first camera assembly, the type of food on the baking tray, and the distance between the various types of food on the baking tray. Then, the controller can obtain the overall outline of the food in the first binocular image based on this information, and perform planar modeling of the overall outline of the food. This perspective is the TOP perspective. Based on the third image, the controller of the oven can obtain the side width information of the food on the baking tray. The controller can model the side profile of the food based on this, and then obtain the thickness information of the food. This perspective is the Front perspective. Based on the planar modeling of the food at the TOP perspective and the side profile modeling of the food at the Front perspective, the controller can obtain the first food model in three-dimensional form to reproduce the shape information of the food in the oven.

[0146] S303: The controller determines the attribute information of the food according to the first food model.

[0147] The food attribute information includes at least one of the type of food, the volume of food or the type of food.

[0148] S304: The controller determines a cooking program according to the property information of the food.

[0149] Optionally, the controller determines the weight of the food based on the attribute information of the food, and then matches the cooking program based on the user's historical cooking records.

[0150] For example, the controller can determine that the food volume is 125 cm according to the first food model. 3 , if the food type is steak, then the weight of the food can be determined to be 150g. In the past cooking records, the user selected the "baked" mode the most times, so the controller can match the cooking program that can cook the "baked" effect according to the weight of the food, and the final cooking effect can better meet the user's needs.

[0151] Optionally, the user can also input cooking parameters (such as cooking time, heating temperature, etc.) by himself, and the controller controls the operation of various electrical components in the oven according to the cooking parameters input by the user.

[0152] Optionally, after the controller determines the cooking program, it can display the cooking program on the first display screen, and the user can instruct the controller to execute the cooking program by clicking a control for executing the cooking program.

[0153] S305: The controller executes the cooking program.

[0154] Fig.15 The technical solution shown brings at least the following beneficial effects: the oven controller can perform three-dimensional modeling of the food on the baking tray based on the first binocular image and the third image, and can obtain a more accurate and complete first food model. The controller can determine the attribute information of the food on the baking tray based on this, and then match a cooking program that is more in line with the food attribute information, thereby achieving better cooking results.

[0155] In some embodiments, Fig.16 As shown, the embodiment of the present application also provides a method for controlling an oven, the method comprising the following steps:

[0156] S401. After executing the cooking program, in response to the user opening the door, the controller controls the first camera assembly to shoot to obtain a fourth binocular image, and controls the second camera assembly to shoot to obtain a fifth image.

[0157] In some embodiments, in response to the user opening the door, the controller controls the first camera assembly to capture a set of video data, performs feature recognition on the food from the set of video data, and determines that the binocular image of the food outside the oven is the fourth binocular image. In this way, the food is outside the oven and is not disturbed by the oil smoke in the oven, and the fourth binocular image captured by the first camera assembly is also clearer.

[0158] S402: The controller performs three-dimensional modeling of the food on the baking tray based on the fourth binocular image and the fifth image to obtain a second food model.

[0159] The second food model includes the shape, color and maturity of the food.

[0160] S403: According to the second food model, the controller determines ingredient information of the food.

[0161] The food composition information includes at least one of the water content, fat content or energy content of the food.

[0162] Optionally, after the controller determines the food ingredient information, the controller can send the food ingredient information to the server, and the server records the ingredient information of the food cooked this time as the user's health record. In the subsequent cooking process of the oven, the oven controller can intelligently match the cooking program for the user according to the user's health record recorded by the server.

[0163] Fig.16 The technical solution shown brings at least the following beneficial effects: after the controller completes the cooking program, a second food model is obtained by secondary modeling of the food, which can accurately and clearly determine the various component information of the food, so that the user can have a clearer understanding of the nutritional components of the food.

[0164] In some embodiments, Fig.17 As shown, the embodiment of the present application also provides a method for controlling an oven, the method comprising the following steps:

[0165] S501. During the execution of a cooking program, the controller controls the second camera assembly to shoot to obtain a sixth image.

[0166] Optionally, the sixth image may be obtained by controlling the first camera assembly to capture the image after the food is cooked and when the user takes out the food.

[0167] S502: The controller divides the sixth image into a foreground area and a background area.

[0168] The foreground area refers to the area where the food is located in the image, and the background area refers to the area other than the area where the food is located.

[0169] In some embodiments, the controller may use a preset classification model to divide the sixth image into a foreground area and a background area. The preset classification model may be a pre-trained classification model, such as a deep learning model, a decision tree, a logistic regression model, etc. To improve the accuracy of region recognition, specifically in this embodiment, the preset classification model may be obtained by training a deep learning model with a semantic segmentation function.

[0170] The specific method for dividing the foreground area and the background area of ​​the sixth image may be as follows:

[0171] First, a semantic label can be added to each pixel in the sixth image, and a semantic segmentation map can be generated based on the semantic label. The sixth image input into the preset classification model can be subjected to convolution, pooling, nonlinear transformation and other operations to obtain a feature map of the sixth image, and the sixth image can be identified pixel by pixel based on the feature map of the sixth image. A semantic label can be added to each pixel based on the identification result. For example, different colors can be used to represent different semantics. A semantic segmentation map can be generated based on the semantic label. In the semantic segmentation map, different segmentation areas are represented by different colors, and different segmentation areas represent different objects. For example, the red segmentation area represents meat food, the green area represents vegetarian dishes, the blue segmentation area represents staple food, and the yellow area is a baking tray, etc.

[0172] Next, predict whether each segmented area in the semantic segmentation map is a foreground area or a background area, and output the prediction result. That is, use the preset classification model to predict the category to which the pixels contained in each segmented area belong. If the category prediction result of the pixels in the segmented area is foreground, then the segmented area is the foreground area; conversely, if the category prediction result of the pixels in the segmented area is background, then the segmented area is the background area.

[0173] The above combines image semantic segmentation and deep learning technology to perform region recognition, which can not only identify the foreground and background, but also accurately identify the foreground area and the background area, thereby improving the recognition accuracy.

[0174] S503: The controller detects the contour edge of the food on the baking tray from the divided foreground area.

[0175] Specifically, the food in the foreground area can be determined first. For example, the food in the foreground area can be determined by performing food feature recognition on the sixth image. After the food in the foreground area is determined, an edge detection algorithm can be used to detect the contour edge of the food from the foreground area. Edge detection is mainly to detect where there is a sudden change in the value of the pixel in the image. Commonly used edge detection algorithms include: Canny algorithm, Roberts algorithm, Sobel algorithm, Prewitt algorithm, etc. The specific implementation method of the edge detection algorithm can refer to the description of the relevant documents, which will not be repeated here.

[0176] S504: The controller performs background blur processing on the sixth image according to the outline edge of the food on the baking tray.

[0177] Specifically, the area outside the food can be blurred, and an image sharpening algorithm can be used to strengthen the edge of the food's outline to highlight the food to the greatest extent. Blurring the area outside the food can include: blurring the background area and the area in the foreground area except the food, wherein the blurring degree of the background area can be greater than the blurring degree of the area in the foreground area except the food, so that there is a natural transition between the foreground and the background, and the blurring effect is improved.

[0178] S505: The controller controls the display to display the sixth image after the background blur processing.

[0179] Optionally, the controller can send the sixth image after the background blur processing to other home appliances or terminal devices used by the user, such as a television, a mobile phone, etc., so that the user can also watch the cooking process of the food on other devices. Moreover, the sixth image is processed by the controller after the background blur processing, which can better highlight the main body of the food and make it more beautiful, so that the user can share the processed image with other users.

[0180] Fig.17 The technical solution shown brings at least the following beneficial effects: by performing background blur processing on the sixth image, debris in the sixth image can be hidden, and the sixth image is more beautiful, which can enhance the user's viewing experience.

[0181] In some embodiments, the controller may also perform layered processing on the binocular image captured by the first camera component or the image captured by the second camera component according to the type information of the food on the baking tray.

[0182] Exemplarily, after cooking is completed and the user is taking out the food, the image captured by the first camera assembly contains a meat food area, a vegetarian food area, and a background area where objects such as a baking tray are located. Meat food should highlight the changing process of the food, so the controller can sharpen and repair the meat food area to make the meat food in the image look more beautiful. Vegetarian food should highlight the color characteristics, so the controller can beautify the vegetarian food area. The controller can also mark and explain various ingredients in the meat food area and the vegetarian food area, so that the user can see the nutritional components of these foods more intuitively. For the background area, most of them are sundries such as baking trays and tin foil, which are not beautiful enough, so the controller can blur, repair or replace the background image to make the image more beautiful.

[0183] In some embodiments, during the cooking process of food, the controller can also combine the video data captured by the second camera assembly and the video data captured by the first camera assembly during the process of putting food into the oven, and control the first display screen to display the combined video, or send the combined video to other home appliances or a terminal device used by the user. In this way, when watching the cooking process of food, the user can also review the image before the food starts to cook, and watch the appearance of the food at various stages from multiple angles, making the cooking process of food more interesting and more interesting, which can increase the user's enjoyment of use.

[0184] In some embodiments, Fig.18 As shown, the embodiment of the present application also provides a method for controlling an oven, comprising the following steps:

[0185] S601: When the door is in a closed state, the controller obtains a second video captured by the first camera assembly.

[0186] Optionally, the open and closed state of the door body can be determined by a door switch sensor. Alternatively, the binocular image captured by the first camera assembly can be image recognized, and when it is determined that the door body is in a preset position, it can be determined that the door body is in a closed state.

[0187] S602: The controller performs feature recognition on each binocular image in the second video.

[0188] S603: In response to recognizing a preset human feature from the binocular image of the second video for the first time, the controller controls the door to open.

[0189] The preset human body feature may be a connected area with a specific shape, such as the shape of a hand, the shape of a foot, etc.

[0190] Fig.18 The technical solution shown brings at least the following beneficial effects: when the controller of the oven recognizes the preset human features from the binocular image of the second video, the controller controls the door to open automatically without the need for the user to manually operate the door, which makes it convenient for the user to use the oven when the user encounters special circumstances. For example, when the user has food in his hand and cannot manually open the door, the user extends his feet into the shooting range of the first camera assembly, and the controller recognizes the user's feet from the second video shot by the first camera assembly, and then controls the door to open, without the need for the user to manually operate the door to open, which makes it more convenient for the user to use the oven.

[0191] The following is an example of the complete process of the oven completing the cooking process:

[0192] like Fig.19 The cooking process begins as shown:

[0193] (1) In response to the user opening the door, the controller controls the camera assembly to start working;

[0194] (2) the first camera assembly and the second camera assembly capture the process of the user putting food into the oven;

[0195] (3) The controller determines the shelf position where the baking tray is placed and the plane information of the food through the binocular image captured by the first camera assembly;

[0196] (4) The controller determines the side information of the food through the image captured by the second camera assembly;

[0197] (5) The controller establishes a first food model according to the plane information and the side information of the food, and performs background blur processing on the captured food image;

[0198] (6) According to the first food model and the historical usage record of the oven, the controller matches a plurality of cooking curves with different baking effects, for example, a cooking program for a tender baking effect, a cooking program for a normal baking effect, and a cooking program for a browning baking effect;

[0199] (7) The user selects a cooking program, and the controller executes the cooking program;

[0200] (8) During the cooking process, the controller can monitor the temperature of the baking tray through the temperature sensor and adjust the heating power of the heating element;

[0201] (9) During the cooking process, if the user opens the oven and puts food back in, the first camera assembly acquires a binocular image of the food again;

[0202] (10) the controller controls the voice prompt device to issue a prompt message based on the binocular image of the food captured again by the first camera assembly, indicating to the user the recommended shelf position for the food to be put into the oven again, and adjusting the cooking program;

[0203] (11) After cooking is completed, the camera assembly again captures the process of the user taking out the food, and a second food model is established based on the process;

[0204] (12) The controller determines ingredient information of the food according to the second food model;

[0205] (13) The controller uploads the ingredient information of the cooked food to the user's dietary health record;

[0206] (14) Cooking is completed.

[0207] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the embodiment of the present application provides a hardware structure and / or software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0208] The embodiment of the present application also provides a computer-readable storage medium, including computer-executable instructions, which, when executed on a computer, enable the computer to execute any one of the control methods provided in the above embodiments.

[0209] An embodiment of the present application also provides a computer program product including computer-executable instructions, which, when executed on a computer, enables the computer to execute any one of the control methods provided in the above embodiments.

[0210] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An oven, characterized in that: include: The box body is provided with a cooking cavity for taking in and putting in food; A door body, one end of which is rotatably connected to the box body and the other end of which is a free end; When the door is in a closed state, it covers the cooking cavity opening and forms a cooking cavity with the box body; A protruding structure is arranged at the edge of the cooking cavity, and the protruding structure is located on the side where the free end of the door body is located in the closed state; The protruding structure is connected to the box body; A first camera assembly is embedded on a side surface of the protruding structure away from the box, the collection surface of the first camera assembly faces the plane where the bottom of the box is located, the first camera assembly includes a first camera and a second camera, and the first camera and the second camera constitute a binocular camera; A second camera assembly, the second camera assembly is disposed in the cooking cavity and is located on a side wall of the cooking cavity opposite to the door body, and a collection surface of the second camera assembly faces the cooking cavity opening; The controller is configured as: In response to the user's operation of opening the door, controlling the first camera assembly to shoot and obtain a first video; Performing feature recognition on each binocular image in the first video; After the baking pan feature is firstly recognized from the binocular image in the first video, the motion of the baking pan is tracked; Based on the motion tracking of the baking tray, a binocular image captured in the first video when the baking tray is in a non-moving state is used as a first binocular image; Based on the binocular ranging principle, the first binocular image is processed to obtain the shelf position of the baking tray in the oven; Based on the motion tracking of the baking tray, taking the binocular image captured in the first video when the baking tray is in motion as the second binocular image; Performing feature recognition on the second binocular image to determine type information of the food on the baking tray; Determining a recommended shelf position based on the type information of the food on the baking tray; Sending a first prompt message, wherein the first prompt message is used to indicate to the user a recommended shelf position suitable for the baking tray; Controlling the second camera assembly to shoot to obtain a third image; Based on the first binocular image and the third image, three-dimensionally model the food on the baking tray to obtain a first food model; determining attribute information of the food according to the first food model, where the attribute information of the food includes at least one of the type of the food, the volume of the food, or the type of the food; Determining a cooking procedure according to the attribute information of the food; executing the cooking program; After the cooking program is executed, in response to the user opening the door, the first camera assembly is controlled to shoot to obtain a fourth binocular image, and the second camera assembly is controlled to shoot to obtain a fifth image; Based on the fourth binocular image and the fifth image, three-dimensional modeling is performed on the food on the baking tray to obtain a second food model; According to the second food model, the ingredient information of the food is determined, and the ingredient information of the food includes at least one of the water percentage, fat percentage or energy percentage of the food.

2. The oven according to claim 1, characterized in that: The oven also includes a display; The controller is further configured to: During the execution of the cooking program, controlling the second camera assembly to shoot to obtain a sixth image; Dividing the sixth image into a foreground area and a background area; Detecting the contour edge of the food on the baking tray from the foreground area obtained by the division; Performing background blur processing on the sixth image according to the outline edge of the food on the baking tray; The display is controlled to display the sixth image after the background blur processing.

3. The oven according to claim 1 or 2, characterized in that: The controller is further configured to: When the door body is in a closed state, obtaining a second video captured by the first camera assembly; Performing feature recognition on each binocular image in the second video; In response to recognizing a preset human feature from the binocular image of the second video for the first time, the door is controlled to open.

4. A method for controlling an oven according to claim 1, characterized in that: The method comprises: In response to the user's operation of opening the door, controlling the first camera assembly to shoot and obtain a first video; Performing feature recognition on each binocular image in the first video; After the baking pan feature is firstly recognized from the binocular image in the first video, the motion of the baking pan is tracked; Based on the motion tracking of the baking tray, a binocular image captured in the first video when the baking tray is in a non-moving state is used as a first binocular image; Based on the binocular ranging principle, the first binocular image is processed to obtain the shelf position of the baking tray in the oven; Based on the motion tracking of the baking tray, taking the binocular image captured in the first video when the baking tray is in motion as the second binocular image; Performing feature recognition on the second binocular image to determine type information of the food on the baking tray; Determining a recommended shelf position based on the type information of the food on the baking tray; Sending a first prompt message, wherein the first prompt message is used to indicate to the user a recommended shelf position suitable for the baking tray; Controlling the second camera assembly to shoot to obtain a third image; Based on the first binocular image and the third image, three-dimensionally model the food on the baking tray to obtain a first food model; determining attribute information of the food according to the first food model, wherein the attribute information of the food includes at least one of the type of the food, the volume of the food, or the type of the food; Determining a cooking procedure according to the attribute information of the food; executing the cooking program; After the cooking program is executed, in response to the user opening the door, the first camera assembly is controlled to shoot to obtain a fourth binocular image, and the second camera assembly is controlled to shoot to obtain a fifth image; Based on the fourth binocular image and the fifth image, three-dimensional modeling is performed on the food on the baking tray to obtain a second food model; According to the second food model, the ingredient information of the food is determined, and the ingredient information of the food includes at least one of the water percentage, fat percentage or energy percentage of the food.