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 |
UFUNCTION&40;BlueprintCallable, Category&61;"OpenCV",
Meta&61;&40;DisplayName&61;"OpenCV Chessboard Detect Corners"&41;&41;
static int32 OpenCVChessboardDetectCorners
&40;
const UTextureRenderTarget2D &42; InRenderTarget,
const FIntPoint InPatternSize,
const bool bDebugDrawCorners,
UTexture2D &42;& OutDebugTexture,
TArray< FVector2D > & OutDetectedCorners
&41;
Remarks
Detects a camera calibration chessboard in the supplied image Total number of corners detected in the input image
Parameters
| Name | Description |
|---|---|
| InRenderTarget | Input image in which to search for a chessboard |
| InPatternSize | Number of interior corners on the physical chessboard (rows, columns) |
| bDebugDrawCorners | If true, output a Texture2D showing the detected corner debug info overlaid on the input image |
| OutDebugTexture | Output debug image (required if bDebugDrawCorners is True) |
| OutDetectedCorners | Output array of corners detected in the input image |