Instead of printing the barcode on the packaging, it can also be lasered directly onto the skin of fruit or vegetables. This saves on packaging costs and protects the environment. But to ensure that the peel is not damaged in the process, the focus of the laser must be precise, despite the fact that the individual fruits are always different sizes. A 3D sensor from a company in northern Germany helps with this.