TAPI: stitching: workaround for problem getUMat() call

pull/2565/head
Alexander Alekhin 11 years ago committed by Andrey Pavlenko
parent c1ea6f3c42
commit 2737e3c99b
  1. 4
      modules/stitching/src/matchers.cpp

@ -427,7 +427,9 @@ void OrbFeaturesFinder::find(InputArray image, ImageFeatures &features)
_descriptors.push_back(descriptors.getMat(ACCESS_READ));
}
features.descriptors = _descriptors.getUMat(ACCESS_READ);
// TODO optimize copyTo()
//features.descriptors = _descriptors.getUMat(ACCESS_READ);
_descriptors.copyTo(features.descriptors);
}
}

Loading…
Cancel
Save