A beverage dispenser includes a nozzle to dispense a beverage. The beverage dispenser further includes a camera to capture an image of the beverage as the beverage is dispensed from the nozzle. The camera has a field of view that includes the beverage. The beverage dispenser further includes a light source that illuminates the field of view of the camera. The beverage dispenser further includes a computer. The computer analyzes the image of the beverage and determines a characteristic of the beverage.