主权项 |
1. A method of measuring lean on a container (2) standing on a support surface and presenting a ring (8) and a bottom (3) from which their rises a vertical wall (4) connected to the bottom by a heel (9), the vertical wall (4) presenting a neck that is optionally provided at its base with a shoulder, and the method consisting in:
causing the container (2) to revolve about a vertical axis (Y) close to the axis of symmetry of the article; placing at least one camera on one side of the container to deliver a sequence of images of the container over at least half a revolution, the camera having at optical observation axis (Z) that is substantially orthogonal to the vertical axis (Y) of the container, with a lateral field that extends in a transverse direction (X) orthogonal to the vertical axis (Y) and to the optical axis (Z); the method being characterized by the following steps: defining a real height (h) for the container; for each increment in rotation (θ) of the container (2) through at least half a revolution:
taking at least one image of the container so as to obtain an image (Ibg) of the left edge of the ring, an image (Ibd) of the right edge of the ring, a matrix image (Img) of the left edge of one or more of the heel, of the shoulder, and of the base of the neck, and a matrix image (Imd) of the right edge of one or more of the heel, of the shoulder, and of the base of the neck;analyzing:
the images of the left and right edges of the ring in order to determine at least the coordinate in the transverse direction of the real position (Cr) of the ring;the matrix image of the left edge in order to determine the coordinates in the transverse and vertical directions of a left positioning point Tg (XTg, YTg); andthe matrix image of the right edge in order to determine the coordinates in the transverse and vertical directions of a right positioning point Td (XTd, YTd); anddefining at least the coordinate in the transverse direction of a theoretical position (Ct) of the ring on a perpendicular (P) to the straight line segment (T) passing through the left and right positioning points (Tg, Td) at the real height (h) of the container taken from this straight line segment (T); and on the basis of the coordinates of the real position (Cr) of the ring and of the theoretical position (Ct) of the ring, taken on at least half a revolution of the container, deducing a measurement for the lean of the container from the variations in the differences of their positions. |