[Paper Review] Automated Counting of Stacked Objects in Industrial Inspection
The paper introduces a 3D counting framework (3DC) that decomposes counting stacked, occluded objects into estimating the stack’s volume and the occupancy ratio from multi-view images, enabling accurate counts without relying on a single visible view or specialized sensors.
Visual object counting is a fundamental computer vision task in industrial inspection, where accurate, high-throughput inventory tracking and quality assurance are critical. Moreover, manufactured parts are often too light to reliably deduce their count from their weight, or too heavy to move the stack on a scale safely and practically, making automated visual counting the more robust solution in many scenarios. However, existing methods struggle with stacked 3D items in containers, pallets, or bins, where most objects are heavily occluded and only a few are directly visible. To address this important yet underexplored challenge, we propose a novel 3D counting approach that decomposes the task into two complementary subproblems: estimating the 3D geometry of the stack and its occupancy ratio from multi-view images. By combining geometric reconstruction with deep learning-based depth analysis, our method can accurately count identical manufactured parts inside containers, even when they are irregularly stacked and partially hidden. We validate our 3D counting pipeline on large-scale synthetic and diverse real-world data with manually verified total counts, demonstrating robust performance under realistic inspection conditions.
Motivation & Objective
- Address the challenge of counting heavily occluded stacked objects in containers and industrial settings.
- Propose a decomposed counting framework that separates volume estimation from occupancy estimation.
- Develop an occupancy-ratio network and a volume-reconstruction pipeline to enable accurate counts.
- Provide a large-scale synthetic and real-world dataset with ground-truth counts for benchmarking.
- Offer theoretical grounding for the counting formula and demonstrate practical applicability in industry.
Proposed method
- Formulate counting as N = (gamma * V) / Vo, where gamma is the volume occupancy ratio and Vo is the unit object volume.
- Estimate V from multi-view images using a 3D Gaussian Splats-based voxel carving approach that reconstructs objects and containers and subtracts the container thickness.
- Predict gamma from a depth map via a learned occupancy network Phi, trained on a large synthetic dataset of 400,000 images spanning 14,000 scenes.
- Select a key view from multiple images (top-down visibility) and compute depth with a monocular depth estimator to feed Phi, enabling occupancy estimation irrespective of object geometry.
- Estimate Vo from known object geometry or template objects; when unknown, Vo is inferred from a template using segmentation and reference shapes.
- Integrate depth-based occupancy with volume estimation to compute the final count, and validate through synthetic and real-world benchmarks and a human study.

Experimental results
Research questions
- RQ1Can the occupancy ratio gamma be reliably inferred from depth maps of partially occluded stacks?
- RQ2How accurately can the total stack volume V be reconstructed from multi-view imagery with 3D splatting and voxel carving?
- RQ3Does decomposing counting into occupancy estimation and volume estimation yield better accuracy than end-to-end single-step counting?
- RQ4How robust is the approach to depth-map quality and domain gaps between synthetic training data and real images?
- RQ5How well does the method generalize across object shapes, containers, and industrial scenarios?
Key findings
- The proposed 3DC framework enables end-to-end counting of overlapping, stacked objects in containers using a two-stage approach (volume occupancy and volume estimation).
- A large synthetic dataset (400k images, 14k scenes) plus a real-world benchmark (3,229 images, 58 scenes) support robust evaluation and generalization.
- The occupancy network Phi, trained on synthetic depth maps, can predict gamma from depth, and (when combined with multi-view volume estimation) yields accurate counts superior to multiple baselines and human performance in the tested settings.
- Volume estimation via 3D Gaussian Splats and voxel carving significantly outperforms convex-hull and alpha-concave hull baselines for recovering the stack volume.
- Ablations show that training Phi with predicted depth maps (instead of perfect depth) improves real-world performance, indicating effective domain adaptation.
- The counting equation is validated in ideal synthetic conditions, confirming that gamma, V, and Vo underpin a good approximation of the true count.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.