The invention discloses an
online learning-based potential semantic cross-media hash retrieval method, which realizes cross-media retrieval of image and text
modes. The method comprises the followingsteps of establishing an image and text pair
data set, extracting features of data in the
data set, performing mean removal, and dividing the
data set into a
training set and a
test set according to acertain ratio; mapping discrete tags to continuous potential semantic spaces, and building an objective function by utilizing the similarity between the retention data; solving the objective functionby utilizing an
online learning-based iterative optimization scheme, and when new data is generated, updating a
hash function by only utilizing the new data, thereby improving the efficiency of a training process; and calculating hash codes of the image and text data in the
test set by utilizing the
hash function, by taking the data in one mode in the
test set as a query set and the data in the other mode as a target data set, calculating Hamming distances between the data in the
data query set and all the data in the target data set, performing sorting according to an ascending order, and returning the heterogeneous data sorted in front to serve as cross-media retrieval results.