Raw-materials inspection