The invention discloses a detection method for
fertilizer production, and relates to the technical field of
fertilizer detection.The detection method comprises the following steps that a near-
infrared multispectral
visual detection system is installed at the working section before packaging of a
fertilizer production line, the positions of a camera and an illumination source are adjusted, and multispectral images of fertilizer particles are collected; sequentially carrying out
dark current correction and
flat field correction on the acquired image, eliminating
noise and uneven illumination, and then carrying out median filtering to remove
random noise; selecting a waveband image with the best
contrast ratio, separating particles from the background through threshold segmentation, and positioning each independent particle after optimizing the boundary through
morphological processing; and based on the multi-band
reflectivity difference, analyzing the surface material of the particles pixel by pixel, and counting the proportion of the
coating area of each particle to obtain the
coating coverage rate of the single particle. By introducing the near-
infrared multispectral
visual detection technology and the
coating uniformity quantitative analysis model, non-destructive and high-precision online detection of the coating coverage rate of the fertilizer can be realized.