fixed shenanigans when rendering markers with multi cameras

This commit is contained in:
matlabbe
2026-05-15 13:59:41 -07:00
parent 654d72a0fc
commit 632d8504c9
+3
View File
@@ -5296,6 +5296,9 @@ void MainWindow::drawLandmarks(cv::Mat & image, const Signature & signature)
{
imagePoints[j].x += i*model.imageWidth();
}
// Make sure the frame origin is visible
valid = imagePoints[0].x >= i*model.imageWidth() && imagePoints[0].x < (i+1)*model.imageWidth() &&
imagePoints[0].y >= 0 && imagePoints[0].y < image.rows;
}
}
if(valid)