calibration.feature 1.74 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
# Testing calibration

@calibration
Feature: calibration

    Scenario Outline: calibration
      Given I use calibration_<ptv>.json for calibration
      When  I launch videostitch-cmd for calibration with calibration/scenes/<ptv>/<ptv>.ptv and " -d 0 -v 3 "
      Then  I expect the command to succeed
      When  I analyze score of calibration/scenes/<ptv>/output_scoring.ptv
      Then  I expect the score to be more than 0.75
      When  I analyze uncovered_ratio of calibration/scenes/<ptv>/output_scoring.ptv
      Then  I expect the full coverage to be <full_coverage>
      And   The calibration cost of output "calibration/scenes/<ptv>/output_calibration.ptv" is consistent with "calibration_<ptv>_ref.ptv"

        Examples:
           | ptv                 | full_coverage |
           | paramotor           | true          |
           | louvre              | true          |
    @slow
    Scenario Outline: calibration
      Given I use calibration_<ptv>.json for calibration
      When  I launch videostitch-cmd for calibration with calibration/scenes/<ptv>/<ptv>.ptv and " -d 0 -v 3 "
      Then  I expect the command to succeed
      When  I analyze score of calibration/scenes/<ptv>/output_scoring.ptv
      Then  I expect the score to be more than 0.75
      When  I analyze uncovered_ratio of calibration/scenes/<ptv>/output_scoring.ptv
      Then  I expect the full coverage to be <full_coverage>
      And   The calibration cost of output "calibration/scenes/<ptv>/output_calibration.ptv" is consistent with "calibration_<ptv>_ref.ptv"

        Examples:
           | ptv                 | full_coverage |
           | louvre_incremental  | true          |
           | factory             | false         |
           | factory_incremental | true          |