Raw material inspection