Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Image IO »
ReadVideoStream
Acquires frame from the previously opened video stream.
Syntax
C++
C#
bool avl::ReadVideoStream
(
const avl::InputVideoStream& inInputVideoStream,
bool inRepeat,
int& outFrameNum,
avl::Image& outImage
)
void ReadVideoStream
(
InputVideoStream inInputVideoStream,
bool inRepeat,
out int outFrameNum,
out Image outImage
)
Parameters
|
Name |
Type |
Default |
Description |
|
inInputVideoStream |
const InputVideoStream& |
|
Previously opened input video stream |
|
inRepeat |
bool |
|
Determines whether to repeat video playback |
|
outFrameNum |
int& |
|
Current frame number |
|
outImage |
Image& |
|
Current frame |
Errors
Error type |
Description |
DomainError |
Incorrectly initialized InputVideoStream object passed to ReadVideoStream |