ExtendedCamera.getCurrentFrame Method

Module: ExtendedCamera

Definition

Fetches the most recent frame from the live feed.

get_current_frame(self, frame: CaptureImage) -> bool

Parameters

in The current live frame data.

Returns

bool
Indicates if the frame is currently available.

Exceptions

An error has occurred during Devices Library execution.
bool getCurrentFrame(CaptureImage frame)

Parameters

in The current live frame data.

Returns

bool
Indicates if the frame is currently available.

Exceptions

An error has occurred during Devices Library execution.
public bool GetCurrentFrame(CaptureImage frame)

Parameters

in The current live frame data.

Returns

bool
Indicates if the frame is currently available.

Exceptions

An error has occurred during Devices Library execution.
public boolean getCurrentFrame(CaptureImage frame) throws DevicesException

Parameters

in The current live frame data.

Returns

boolean
Indicates if the frame is currently available.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesExtendedCamera_GetCurrentFrame (
    ID3_DEVICES_EXTENDED_CAMERA hExtendedCamera,
    ID3_DEVICES_CAPTURE_IMAGE hFrame,
    bool * available)

Parameters

in Handle to the ExtendedCamera object.

in The current live frame data.

available bool *
out Indicates if the frame is currently available.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.