calibration

This commit is contained in:
ackimixs
2024-05-02 16:47:51 +02:00
parent 6ede823063
commit 6afe9c7875

View File

@@ -173,13 +173,17 @@ int main(int argc, char *argv[]) {
aruco::CharucoBoard::create(squaresX, squaresY, squareLength, markerLength, dictionary);
Ptr<aruco::Board> board = charucoboard.staticCast<aruco::Board>();
std::cout << "isok" << std::endl;
// collect data from each frame
vector< vector< vector< Point2f > > > allCorners;
vector< vector< int > > allIds;
vector< Mat > allImgs;
Size imgSize;
char key;
std::cout << "isok" << std::endl;
char key = 0;
while(key != 27) {
Mat image, imageCopy;
@@ -313,5 +317,7 @@ int main(int argc, char *argv[]) {
}
}
cam.stopVideo();
return 0;
}