19-07-2018 дата публикации
Номер: US20180204094A1
Принадлежит:
The present disclosure discloses an image recognition method and apparatus, and belongs to the field of computer technologies. The method includes: extracting a local binary pattern (LBP) feature vector of a target image; calculating a high-dimensional feature vector of the target image according to the LBP feature vector; obtaining a training matrix, the training matrix being a matrix obtained by training images in an image library by using a joint Bayesian algorithm; and recognizing the target image according to the high-dimensional feature vector of the target image and the training matrix. The image recognition method and apparatus according to the present disclosure may combine LBP algorithm with a joint Bayesian algorithm to perform recognition, thereby improving the accuracy of image recognition. 1. An image recognition method , comprising:extracting a local binary pattern (LBP) feature vector of a target image;calculating a high-dimensional feature vector of the target image according to the LBP feature vector;obtaining a training matrix, the training matrix being a matrix obtained by training images in an image library by using a joint Bayesian algorithm; andperforming image recognition on the target image according to the high-dimensional feature vector of the target image and the training matrix.2. The method according to claim 1 , wherein performing image recognition on the target image according to the high-dimensional feature vector of the target image and the training matrix comprises:obtaining a high-dimensional feature vector of a reference image; {'br': None, 'i': r', 'x', ',x', 'x', 'Ax', '+x', 'Ax', 'x', 'Gx, 'sub': 1', '2', '1', '1', '2', '2', '1', '2, 'sup': T', 'T', 'T, '()=−2;'}, 'calculating a similarity between the target image and the reference image according to the high-dimensional feature vector of the target image, the high-dimensional feature vector of the reference image, and the training matrix{'sub': 1', '2', '1', '1', '2', '2, ' ...
Подробнее