int cvWaitKey( int delay=0 );参数:delay 指的是延迟的时间(毫秒)。 函数cvWaitKey无限制的等待按键事件(delay<=0);或者延迟"delay"毫秒。
waitKey(10);就是一个延时函数,表示等待10ms