Navigation
API > API/Plugins > API/Plugins/OpenCVHelper > API/Plugins/OpenCVHelper/UOpenCVBlueprintFunctionLibrary
References
| Module | OpenCVHelper |
| Header | /Engine/Plugins/Runtime/OpenCV/Source/OpenCVHelper/Public/OpenCVBlueprintFunctionLibrary.h |
| Include | #include "OpenCVBlueprintFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/OpenCV/Source/OpenCVHelper/Private/OpenCVBlueprintFunctionLibrary.cpp |
static int32 OpenCVArucoDetectMarkers
&40;
const UTextureRenderTarget2D &42; InRenderTarget,
const EOpenCVArucoDictionary InDictionary,
const EOpenCVArucoDictionarySize InDictionarySize,
const bool bDebugDrawMarkers,
const bool bEstimatePose,
const float InMarkerLengthInMeters,
const FOpenCVLensDistortionParametersBase & InLensDistortionParameters,
UTexture2D &42;& OutDebugTexture,
TArray< FOpenCVArucoDetectedMarker > & OutDetectedMarkers
&41;
Remarks
Detects all ArUco markers in the supplied image Total number of markers detected in the input image
Parameters
| Name | Description |
|---|---|
| InRenderTarget | Input image in which to search for markers |
| InDictionary | Which ArUco marker dictionary to use for detection |
| InDictionarySize | The size of the ArUco marker dictionary |
| bDebugDrawMarkers | If true, output a Texture2D showing the detected marker debug info overlaid on the input image |
| bEstimatePose | If true, return the 3D pose for each marker relative to the camera position |
| InMarkerLengthInMeters | Length in meters of one side of the physical marker (required if bEstimatePose is True) |
| InCameraCalibrationParameters | Lens distortion parameters for the incoming image (required if bEstimatePose is True) |
| OutDebugTexture | Output debug image (required if bDebugDrawMarkers is True) |
| OutDetectedMarkers | Output array of markers detected in the input image |