TAPI: stitching: workaround for problem getUMat() call
This commit is contained in:
parent
c1ea6f3c42
commit
2737e3c99b
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user