Skip to main content

Auki::Ark::PoseEstimatorComparison

Class for compiling statistics on two pose estimators running side by side.

Public Functions

Name
PoseEstimatorComparison(int batchSize =30)
Constructor with an optional batchSize parameter.
voidFeed(Pose poseFromEstimator1, Pose poseFromEstimator2)
Adds samples for comparison.
List< string >ReportCurrentStatistics()
Compiles a report comparing the estimated poses that were previously provided to Feed().
voidLogReport(List< string > report)
Outputs a provided report with Debug.Log().

Public Functions Documentation

function PoseEstimatorComparison

PoseEstimatorComparison(
int batchSize =30
)

Constructor with an optional batchSize parameter.

Parameters:

  • batchSize Number of pairs that will be compared (30 by default)

function Feed

void Feed(
Pose poseFromEstimator1,
Pose poseFromEstimator2
)

Adds samples for comparison.

Parameters:

  • poseFromEstimator1 Pose from first estimator
  • poseFromEstimator2 Pose from second estimator

function ReportCurrentStatistics

List< string > ReportCurrentStatistics()

Compiles a report comparing the estimated poses that were previously provided to Feed().

Return: Multiline report as a list of strings

function LogReport

void LogReport(
List< string > report
)

Outputs a provided report with Debug.Log().

Parameters:

  • report Report to print