Automatic vial visual inspection ensures that only properly sealed vials pass on. After an initial check of the stopper to detect if it is raised, the cap is crimped over the vial neck. Vial cap inspection includes checking for missing caps, defective crimping, any other damage, and that the cap