A system and method for automatically detecting prohibited materials in a compartment at a security checkpoint includes receiving a three-dimensional representation of a compartment from an imaging device connected to the computing system, and classifying each voxel of the three-dimensional representation using a trained neural network to determine whether any voxel classifications of the three-dimensional representation correspond to a voxel classification of a prohibited material.