unreal.MagicLeapCVCameraFunctionLibrary
¶
- class unreal.MagicLeapCVCameraFunctionLibrary(outer=None, name='None')¶
Bases:
unreal.BlueprintFunctionLibrary
The MagicLeapCVCameraLibrary provides access to and maintains state for computer vision camera capture functionality. The connection to the device’s camera is managed internally. Users of this function library are able to retrieve various computer vision data for processing.
C++ Source:
Plugin: MagicLeapCamera
Module: MagicLeapCVCamera
File: MagicLeapCVCameraFunctionLibrary.h
- classmethod disable_async(on_disable) → bool¶
Closes the computer vision stream.
- Parameters
on_disable (MagicLeapCVCameraDisable) –
- Returns
- Return type
- classmethod enable_async(on_enable) → bool¶
Initializes the computer vision stream.
- Parameters
on_enable (MagicLeapCVCameraEnable) –
- Returns
- Return type
- classmethod get_camera_output() → MagicLeapCameraOutput or None¶
Gets the latest transform of the camera.
- Returns
True if the transform was successfully retrieved, false otherwise.
out_camera_output (MagicLeapCameraOutput):
- Return type
- classmethod get_frame_pose() → Transform or None¶
Gets the latest transform of the camera.
- classmethod get_intrinsic_calibration_parameters() → MagicLeapCVCameraIntrinsicCalibrationParameters or None¶
Gets the intrinsic calibration parameters of the camera. Requires the camera to be connected.
- Returns
True if the parameters were successfully retrieved, false otherwise.
out_params (MagicLeapCVCameraIntrinsicCalibrationParameters):
- Return type