#ifndef __OPENCV_PERF_PRECOMP_HPP__ #define __OPENCV_PERF_PRECOMP_HPP__ #include "opencv2/ts.hpp" #include "opencv2/stitching.hpp" namespace cv { static inline Ptr getFeatureFinder(const std::string& name) { if (name == "orb") return makePtr(); else if (name == "surf") return makePtr(); else if (name == "akaze") return makePtr(); else return Ptr(); } } // namespace cv #endif