diff --git a/modules/xfeatures2d/src/tbmr.cpp b/modules/xfeatures2d/src/tbmr.cpp index 36a0a538b7e..b3b4f08ff26 100644 --- a/modules/xfeatures2d/src/tbmr.cpp +++ b/modules/xfeatures2d/src/tbmr.cpp @@ -573,6 +573,11 @@ void TBMR_Impl::detectAndCompute( useProvidedKeypoints); } +String TBMR::getDefaultName() const +{ + return (Feature2D::getDefaultName() + ".TBMR"); +} + Ptr TBMR::create(int _min_area, float _max_area_relative, float _scale, int _n_scale) { @@ -581,4 +586,4 @@ Ptr TBMR::create(int _min_area, float _max_area_relative, float _scale, } } // namespace xfeatures2d -} // namespace cv \ No newline at end of file +} // namespace cv