| CPC A47J 31/4492 (2013.01) [A47J 31/521 (2018.08); G06N 3/08 (2013.01)] | 22 Claims |

|
1. A machine for preparing and dispensing a beverage, the machine comprising:
an extraction unit configured for extracting a capsule to form the beverage;
a control unit configured for controlling the extraction unit to extract the capsule;
an outlet for dispensing the beverage formed by extracting the capsule to a user-receptacle,
a capsule recognition module for recognizing the capsule inserted in the machine at a capsule recognition position, the capsule recognition module comprising a camera for capturing a digital image of at least part of the capsule in the capsule recognition position; and
the capsule recognition module comprising a light source and a neural network computing device, the neural network computing device being configured to determine a type of the capsule amongst a plurality of predefined capsule types on the basis of the digital image of at least part of the capsule captured by the camera,
wherein lighting from the light source and image capture conditions in the capsule recognition position correspond to training conditions for which the neural network computing device is configured by training to recognize the capsule,
wherein the camera has a fixed position in an enclosure, the enclosure comprising an opening for receiving the capsule, the capsule recognition position arranged in the enclosure, and the light source configured to emit light to the capsule at the capsule recognition position.
|