Patent attributes
Implementations include receiving sample data, the sample data being generated as digital data representative of a sample of the product, providing a set of features by processing the sample data through multiple layers of a residual network, a first layer of the residual network identifying one or more features of the sample data, and a second layer of the residual network receiving the one or more features of the first layer, and identifying one or more additional features, processing the set of features using a CNN to identify a set of regions, and at least one object in a region of the set of regions, and determine a type of the at least one object, and selectively issuing an alert at least partially based on the type of the at least one object, the alert indicating contamination within the sample of the product.