Cooking appliance having - a cooking chamber with a loading opening which can be closed by means of a door, - a light pattern projector which is arranged in a fixed manner relative to the cooking chamber for generating a light pattern, - a camera for capturing images from a region which can be irradiated by the light pattern and - an analysis facility which is coupled to the camera for calculating a three-dimensional shape of an object (O; 01, O2), which is located in the region that can be irradiated by the light pattern, by means of a light pattern analysis, wherein - the light pattern projector is arranged to radiate a light pattern into the cooking chamber, - the camera is arranged in a fixed manner relative to the cooking chamber, - the camera is arranged to capture images from a region of the cooking chamber which can be irradiated by the light pattern even when the cooking chamber is closed and - the analysis facility designed to calculate repeatedly the three-dimensional shape of the at least one object (O; 01, O2), which is located in the region of the cooking chamber which can be irradiated by the light pattern, during operation of the cooking appliance, characterised in that - the analysis facility is designed to recognise a type of food on the basis of its shape calculated by the light pattern analysis and change in shape during the operation of the cooking appliance, wherein - the analysis facility is coupled to a control facility of the cooking appliance and the control facility is designed to adjust operation of the cooking appliance based on at least one object parameter determined by the analysis facility. - a cooking chamber with a loading opening which can be closed by means of a door, - a light pattern projector which is arranged in a fixed manner relative to the cooking chamber for generating a light pattern, - a camera for capturing images from a region which can be irradiated by the light pattern and - an analysis facility which is coupled to the camera for calculating a three-dimensional shape of an object (O; 01, O2), which is located in the region that can be irradiated by the light pattern, by means of a light pattern analysis, wherein - the light pattern projector is arranged to radiate a light pattern into the cooking chamber, - the camera is arranged in a fixed manner relative to the cooking chamber, - the camera is arranged to capture images from a region of the cooking chamber which can be irradiated by the light pattern even when the cooking chamber is closed and - the analysis facility designed to calculate repeatedly the three-dimensional shape of the at least one object (O; 01, O2), which is located in the region of the cooking chamber which can be irradiated by the light pattern, during operation of the cooking appliance, characterised in that - the analysis facility is designed to recognise a type of food on the basis of its shape calculated by the light pattern analysis and change in shape during the operation of the cooking appliance, wherein - the analysis facility is coupled to a control facility of the cooking appliance and the control facility is designed to adjust operation of the cooking appliance based on at least one object parameter determined by the analysis facility.