Hi,
the following code produces a window, that is a little bit to large for my taste. How can I set the size of an window (in px or something like that)?
Hi,
the following code produces a window, that is a little bit to large for my taste. How can I set the size of an window (in px or something like that)?
Code: int main(){
VideoCapture cam("Basketball.mp4");
Mat image;
namedWindow("window");
while(1){
cam >> image;
imshow("window", image);
if(waitKey(30) == 8) break;
}
}
enter code here