mirror of
https://github.com/opencv/opencv.git
synced 2025-06-27 23:11:57 +08:00
Update video_input_psnr_ssim.markdown
This commit is contained in:
parent
b17c1c6721
commit
c8777da2d6
@ -77,7 +77,7 @@ by the @ref cv::VideoCapture::read or the overloaded \>\> operator:
|
||||
@code{.cpp}
|
||||
Mat frameReference, frameUnderTest;
|
||||
captRefrnc >> frameReference;
|
||||
captUndTst.open(frameUnderTest);
|
||||
captUndTst.read(frameUnderTest);
|
||||
@endcode
|
||||
The upper read operations will leave empty the *Mat* objects if no frame could be acquired (either
|
||||
cause the video stream was closed or you got to the end of the video file). We can check this with a
|
||||
|
Loading…
Reference in New Issue
Block a user