Navigation
API > API/Plugins > API/Plugins/MetaHumanCalibrationLib > API/Plugins/MetaHumanCalibrationLib/FMetaHumanStereoCalibrator
Description
Detects the corner points in the image of a chessboard pattern. Calculates an average sharpness of the corner points in the image
| Name | DetectPattern |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCalibrationProcessing/Source/MetaHumanCalibrationLib/Public/MetaHumanStereoCalibrator.h |
| Include Path | #include "MetaHumanStereoCalibrator.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCalibrationProcessing/Source/MetaHumanCalibrationLib/Private/MetaHumanStereoCalibrator.cpp |
bool DetectPattern
(
const FString & InCameraName,
const unsigned char * InImage,
TArray< FVector2D > & OutCornerPoints,
double & OutChessboardSharpness
)
True if successful, false if chessboard pattern is not detected.
Parameters
| Name | Remarks |
|---|---|
| InCameraName | The name of the camera view |
| InImage | The image of the chessboard pattern |
| OutPoints | The corner points detected in the image |
| OutChessboardSharpness | The estimated sharpness of the corner points in the image points detected in the image |