mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -2266,7 +2266,7 @@ bool findCirclesGrid( InputArray _image, Size patternSize,
|
||||
}
|
||||
}
|
||||
|
||||
if (!H.empty()) // undone rectification
|
||||
if (!centers.empty() && !H.empty()) // undone rectification
|
||||
{
|
||||
Mat orgPointsMat;
|
||||
transform(centers, orgPointsMat, H.inv());
|
||||
|
||||
Reference in New Issue
Block a user