Commit 2737e3c9 authored by Alexander Alekhin's avatar Alexander Alekhin Committed by Andrey Pavlenko

TAPI: stitching: workaround for problem getUMat() call

parent c1ea6f3c
...@@ -427,7 +427,9 @@ void OrbFeaturesFinder::find(InputArray image, ImageFeatures &features) ...@@ -427,7 +427,9 @@ void OrbFeaturesFinder::find(InputArray image, ImageFeatures &features)
_descriptors.push_back(descriptors.getMat(ACCESS_READ)); _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);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment