A device for measuring the length and diameter of a cylindrical container using structured lighting, comprising: a) a substantially V-shaped receiving area for receiving a cylindrical container, the cylindrical container having a first end and a second end defining the length of the cylindrical container, and a diameter; the substantially V-shaped receiving area having a surface for receiving a cylindrical container thereon, the V-shaped receiving area including a first guide and a second guide; the first guide and the second guide defining the substantially V-shaped receiving area stabilizing a cylindrical container received in the substantially V-shaped receiving area; b) a first laser line generator, the first laser line generator directing a first triangular plane of laser light at the substantially V-shaped receiving area and a cylindrical container received in the substantially V-shaped receiving area; c) a camera, the camera detecting an image of a first laser line appearing on a surface of the cylindrical container in the substantially V-shaped receiving area, and the camera detecting an image of a second laser line appearing on the surface of the substantially V-shaped receiving area; d) an analyzer, the analyzer receiving the image of the first laser line appearing on the cylindrical container, and the analyzer receiving the image of the second laser line appearing on the surface of the substantially V-shaped receiving area on which the cylindrical container rests; e) the analyzer using the images of the first and second laser lines (80, 82) detected by the camera to determine the diameter of the cylindrical container received on the substantially V-shaped receiving area; and f) the analyzer using the images of the first and second laser lines (80, 82) detected by the camera to determine the length of the cylindrical container received on the substantially V-shaped receiving area. a) a substantially V-shaped receiving area for receiving a cylindrical container, the cylindrical container having a first end and a second end defining the length of the cylindrical container, and a diameter; the substantially V-shaped receiving area having a surface for receiving a cylindrical container thereon, the V-shaped receiving area including a first guide and a second guide; the first guide and the second guide defining the substantially V-shaped receiving area stabilizing a cylindrical container received in the substantially V-shaped receiving area; b) a first laser line generator, the first laser line generator directing a first triangular plane of laser light at the substantially V-shaped receiving area and a cylindrical container received in the substantially V-shaped receiving area; c) a camera, the camera detecting an image of a first laser line appearing on a surface of the cylindrical container in the substantially V-shaped receiving area, and the camera detecting an image of a second laser line appearing on the surface of the substantially V-shaped receiving area; d) an analyzer, the analyzer receiving the image of the first laser line appearing on the cylindrical container, and the analyzer receiving the image of the second laser line appearing on the surface of the substantially V-shaped receiving area on which the cylindrical container rests; e) the analyzer using the images of the first and second laser lines (80, 82) detected by the camera to determine the diameter of the cylindrical container received on the substantially V-shaped receiving area; and f) the analyzer using the images of the first and second laser lines (80, 82) detected by the camera to determine the length of the cylindrical container received on the substantially V-shaped receiving area.