In order to solve the problems of large classification error and low retrieval accuracy of traditional retrieval methods, a social media image classification retrieval method based on deep hash algorithm is proposed. With the help of CBOW model to extract semantic features and colour histogram to extract colour features of social media images, social media image classification is completed. Hash algorithm is used to deal with the unidirectional irreversibility of social media image, and the pixel feature points in the image are regarded as density function for one-to-one correspondence. The loss function is used to control the convergence of the hash algorithm to achieve social media image retrieval. Experimental results show that the error of social media image classification is only 2%, the retrieval accuracy is always higher than 90%, and the retrieval time is only 3.4 s, which has the advantage of high retrieval efficiency.
Read full abstract