Solution. The solution uses a PresencePLUS P4 OMNI, a Standard 16 mm lens, and an On-Axis Diffused LED light. A Geometric Count tool that was used to build the inspection searches the entire image for the pattern of a good vial. The pattern consists of edge outlines of the inside and outside diameters (ID and OD) of the vial opening.