mirror of
https://github.com/opencv/opencv.git
synced 2025-06-28 07:23:30 +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}
|
@code{.cpp}
|
||||||
Mat frameReference, frameUnderTest;
|
Mat frameReference, frameUnderTest;
|
||||||
captRefrnc >> frameReference;
|
captRefrnc >> frameReference;
|
||||||
captUndTst.open(frameUnderTest);
|
captUndTst.read(frameUnderTest);
|
||||||
@endcode
|
@endcode
|
||||||
The upper read operations will leave empty the *Mat* objects if no frame could be acquired (either
|
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
|
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