cap_inspector
A Python package for inspecting bottle-cap opening states using contour geometry, tilt and bottom-edge position, with explicit numerical lift tolerances. Its purpose is stable, reproducible inspection with fewer failures under varying illumination—not merely changing cap color. The project considers both red and black caps; the current color-segmentation implementation is configured for red caps.
Documentation structure
User guide: camera setup, detection algorithm, acceptance criteria and configuration.
API guide: responsibilities and usage of inspection, status, imaging, parameters and gRPC.
Examples: local and remote inspection, GUI and JSON settings.
Generated Python API: class and method reference generated from source docstrings.
Contents