Product and process inspection