This application is solved with Stedham Electronics capacitive proximity sensors
. In this case a single shielded
sensor mounted horizontally detects the shipping carton. This then triggers the matrix of four sensors above to detect whether the carton is full.
sensors if the target material is conductive for best results when scanning through the packaging material.