Navigation
API > API/Plugins > API/Plugins/OpenCVHelper > API/Plugins/OpenCVHelper/FOpenCVHelper
References
| Module | OpenCVHelper |
| Header | /Engine/Plugins/Runtime/OpenCV/Source/OpenCVHelper/Public/OpenCVHelper.h |
| Include | #include "OpenCVHelper.h" |
| Source | /Engine/Plugins/Runtime/OpenCV/Source/OpenCVHelper/Private/OpenCVHelper.cpp |
static bool SolvePnP
(
const TArray< FVector > & ObjectPoints,
const TArray< FVector2f > & ImagePoints,
const FVector2D & FocalLength,
const FVector2D & ImageCenter,
const TArray< float > & DistortionParameters,
FTransform & OutCameraPose
)
Remarks
Compute the camera pose that minimizes the reprojection error of the input object points and image points