1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

fix assert, add test

This commit is contained in:
Alex
2023-03-24 11:52:05 +03:00
parent a4ff46aab7
commit 02bdc10062
2 changed files with 11 additions and 1 deletions
@@ -157,7 +157,6 @@ Board::Board():
Board::Board(InputArrayOfArrays objPoints, const Dictionary &dictionary, InputArray ids):
Board(new Board::Impl(dictionary)) {
CV_Assert(ids.size() == objPoints.size());
CV_Assert(objPoints.total() == ids.total());
CV_Assert(objPoints.type() == CV_32FC3 || objPoints.type() == CV_32FC1);