VideoFile.getCurrentFrame Method

Module: VideoFile

Definition

Fetches the most recent frame from the live feed.

This function can be used to display the current state of the video as it is being captured.

bool getCurrentFrame(CaptureImage frame)

Parameters

in An object to store the current frame data from the live feed.

Returns

bool
Indicates if the frame is currently available. true if the frame data is successfully retrieved, false otherwise.

Exceptions

An error has occurred during Devices Library execution.