Skip to main content

score_against_truth

Function score_against_truth 

Source
pub fn score_against_truth(
    braidz_path: &Path,
    scenario: &Scenario,
    gate_m: f64,
    max_frame_offset: i64,
) -> Result<GroundTruthScore>
Expand description

Score braidz_path against the ground truth of scenario.

gate_m is the maximum 3D distance (meters) at which a reconstructed point is associated to a ground-truth insect. max_frame_offset bounds the search for a constant frame offset between the recording’s synchronized frame numbers and simulation time (t = frame / fps); pass 0 to disable the search and assume exact alignment.