The invention discloses a Hash code image training model based on binary weight, and a model algorithm comprises the steps: selecting a loss function, determining a target equation, and performing binary coding of a classifier and training image features; performing unified learning of a binary code, updating the binary code, and optimizing the loss function; and deducing the Hash code training model. The invention also discloses a classification learning method employing the Hash code image training model based on binary weight, and the method comprises the steps: obtaining a Hash code of a to-be-searched image through the Hash code training model based on binary weight, and solving Hamming distances between the Hash code and a classifier binary code; searching in the minimum Hamming distance from the Hamming distances, and obtaining the classifier corresponding to the minimum Hamming distance, wherein the classifier is the category to which the to-be-searched image belongs. The method can be used for the image classification for various types of images in high-latitude scenes, improves the performance of an algorithm in a large-scale data set, is precise, efficient and quick, andis small in consumption of the memory.