Camera.getCurrentFrame Method¶
Module: Camera
Definition¶
Fetches the most recent frame from the live feed.
get_current_frame(self, frame: CaptureImage) -> bool
Parameters
frame
CaptureImagein 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
frame
CaptureImagein 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
frame
CaptureImagein 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
frame
CaptureImagein 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
hCamera
ID3_DEVICES_CAMERAin Handle to the Camera object.hFrame
ID3_DEVICES_CAPTURE_IMAGEin The current live frame data.available
bool *out Indicates if the frame is currently available.
Returns