1 | initial version |
I don't really use OpenCV with C++, but it looks to me like surf_pca a matrix with only one row. surf_pca should have a number of rows equal to the total number of detected keypoint and each row should be a vector for a keypoint.