The invention discloses a fluidity grading method and
system based on morphological characteristics of milk
powder. The method comprises the following steps: obtaining fluidity indexes of training samples, constructing a PCA model, and forming grading labels in a principal component
score space; the method comprises the following steps: acquiring a
microscopic image of to-be-detected milk
powder, preprocessing, extracting nine types of two-dimensional shape factors, and summarizing sample
layers by using a median; respectively training a
random forest and XGBoost to carry out regression prediction on the mobility index; modeling is carried out on the PCA hierarchical labels, and synthetic minority
oversampling is introduced to improve coverage and robustness; in the
inference stage, good / medium / difference grading is completed only based on images, compared with a process depending on a single instrument and subjective interpretation, the method integrates multi-index information, is objective and reproducible, has the advantages of being non-destructive, rapid, available for small samples and the like, can be suitable for online
quality control and inter-batch consistency evaluation of large-scale production, and improves the
quality control efficiency and stability.