Hi!
I have a chessboard where its height equal to its width, and I need to know how to change for example a recognized chessboard let's say a 3 rows to 3 columns, here a an example of a code a the result it may help you understanding my question :
int main () {
cv::Mat frame;
cv::Size board(3,3);
cv::vector<cv::Point2f> imageCorners;
cv::VideoCapture cap (0);
int key =0;
while(key != 27){
cap >> frame;
if(cv::findChessboardCorners(frame,board,imageCorners,CV_CALIB_CB_FILTER_QUADS)){
cv::drawChessboardCorners(frame,board,imageCorners,true);
cv::imwrite("stack.jpg",frame);
}
cv::imshow("frame",frame);
key = cv::waitKey(10);
}
return 0 ;
}