A planting machine (1) for plants (2), such as seedlings (2), said planting machine (1) being provided for arranging plants (2) in a field (5) in such a way that, after being arranged in the field (5), the plants (2) comprise an above-ground portion (3) that extends above ground and an underground portion (4) that extends underground, said planting machine (1) comprising a detection system for detecting the plants (2) after the plants (2) have been arranged in the field, said detection system comprising at least one measuring instrument (6) for detecting said above-ground portions (3) of the plants, and a method for mapping the position of plants (2) in a field (5).