The invention describes a method for detecting a closure (12; 12 ') applied to a body (4) of a respective
package (2). 12 '). The detection device (20) comprises an imaging device configured to acquire at least one image (21) and an analysis unit; the analysis unit is configured to analyze each image (21) and to determine a position of the closure (12; 12 ') relative to a
reference line (25) of the respective body (4). The analysis unit is configured to determine, from each image (21), at least one first reference point (26) of the at least one auxiliary portion (14, 14 ') of the respective closure (12, 12'), and to obtain a difference between the determined first reference point (26) and the at least one auxiliary portion (14, 14 ') of the closure (12, 12'). The analysis unit is further configured to determine an orientation angle of the straight line (27) with respect to the
reference line (25), the orientation angle describing an orientation of the closure (12; 12 ') with respect to the body (4).