Method for Identifying Abnormal State of Grain Surface Based on Perceptual Hashing and Connected Domain Analysis Algorithm
This paper proposes a method for identifying abnormal grain surface states based on perceptual hashing and connected domain analysis algorithms.By collecting images of grain surface in a grain warehouse at regular intervals or in real-time and storing video streams for comparison,the perceptual hashing algorithm compares the collected grain surface state images with the original state images to obtain similarity.The similarity is then compared with a pre-set threshold to determine whether there are any abnormalities in the grain surface state.If there are abnormalities,the connected domain algorithm is used to identify and calculate the abnormal areas.This recognition method can timely detect whether there are abnormalities in the grain surface in the grain warehouse and accurately locate the abnormal areas,which can prevent loss-es in the grain storage process in a timely manner.