Error 3 error C4996: 'cv::flann::Index_<T>': was declared deprecated c:\open
解决方案:
用flaan.hpp的第282行:Index_<T>::Index_(const Mat& dataset, const ::cvflann::IndexParams& params);替换flann.hpp的233行:Index_(const Mat& features, const ::cvflann::IndexParams& params);即可,不再出现此警告。