Camera.getCurrentFrame Method

Module: Camera

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 id3DevicesCamera_GetCurrentFrame (
    ID3_DEVICES_CAMERA hCamera,
    ID3_DEVICES_CAPTURE_IMAGE hFrame,
    bool * available)

Parameters

in Handle to the Camera 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.