mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
fixed bug in SURF_GPU
This commit is contained in:
@@ -200,7 +200,9 @@ namespace
|
||||
|
||||
keypoints.cols = featureCounter;
|
||||
|
||||
if (!upright)
|
||||
if (upright)
|
||||
keypoints.row(SURF_GPU::SF_DIR).setTo(Scalar::all(90.0));
|
||||
else
|
||||
findOrientation(keypoints);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user