mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-18 16:47:33 +01:00
calibration
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user