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 double ComputeReprojectionError
(
const TArray< FVector > & ObjectPoints,
const TArray< FVector2f > & ImagePoints,
const FVector2D & FocalLength,
const FVector2D & ImageCenter,
const FTransform & CameraPose
)
Remarks
Project the 3D objects points to the 2D image plane represented by the input camera intrinsics and pose, and compute the reprojection error (euclidean distance) between the input image points and the reprojected points