Patent attributes
A machine for preparing and dispensing a beverage, such as tea, coffee, hot chocolate, cold chocolate, milk, soup or baby food, comprising a capsule recognition module for recognizing a capsule inserted in said machine at a capsule recognition position, the capsule recognition module comprising a camera for capturing an image of at least part of said capsule in said capsule recognition position; wherein the capsule recognition module comprises a camera for capturing an image of at least part of a capsule in the capsule recognition position, at least one source of light, for example at least one LED, to light up the capsule at said capsule recognition position, wherein the capsule recognition module comprises a diffuser for diffusing the light of the at least one source of light towards the capsule recognition position.