问题:利用opencv4.1中imshow显示一幅图像,调用 system("pause")暂停时,会出现imshow无法显示的问题。 解决方法:使用waitKey(0)函数,代替 system("pause")函数。