Start with failure modes, not a sensor catalogue
List the pack failures that create commercial, quality or safety risk: missing cap, grossly high or tilted cap, damaged closure, incorrect orientation, tamper-feature fault, cross-thread, unacceptable torque or failed seal. Then separate properties that are visible or measurable inline from those that require an offline test.
A sensor can only control a fault that produces a stable, detectable difference. The same cap may present differently because of bottle position, colour, reflection or decoration, so detection must be proven across the approved format and normal variation.