The invention in particular relates to an oven (1) for baking food products (3). In order to improve automated heating procedures, the oven (1) comprises a camera (7) and a distance sensor (8), for example, which are used in concert to enable precise extraction of product-features that are relevant and used with automated heating procedures.