Kitware / dive

Media annotation and analysis tools for web and desktop. Get started at https://viame.kitware.com
https://kitware.github.io/dive
Apache License 2.0
83 stars 21 forks source link

Filtering by confidence threshold and checked types when downloading VIAME CSV #1415

Closed smwoodman closed 5 months ago

smwoodman commented 7 months ago

Describe the bug When downloading from DIVE, checking 'export checked types only' excludes the predictions of unchecked types from the downloaded CSV, i.e., it removes that prediction type from being listed in the columns '10-11+: Repeated Species'/'Confidence Pairs or Attributes'. However, it does not exclude a row (i.e., a prediction) if the remaining prediction types are below the provided Confidence Threshold, for either the global/base confidence threshold or individual type thresholds.

To Reproduce Steps to reproduce the behavior: In the public folder https://viame.kitware.com/#/viewer/647e2ce38cab4af0a12656e6: 1) set confidence threshold to '0.86', and select only tracks 'surf' and 'water_open' 2) check 'exclude tracks below confidence threshold' and 'export checked types only' 3) download 'VIAME CSV' (attachment test-images-open+surf-0.86.csv) 4) uncheck 'surf', and download 'VIAME CSV' (attachment test-images-open-0.86)

Related data https://viame.kitware.com/#/viewer/647e2ce38cab4af0a12656e6

Expected behavior Given the steps described above, predictions without a prediction for a checked type above the given confidence threshold(s) would be excluded from the downloaded CSV file, matching the behavior in DIVE where these predictions are not shown in the viewer.

test-images-open+surf-0.86.csv test-images-open-0.86.csv

BryonLewis commented 5 months ago

Sorry about the delay in implementation. But I think I fixed it an will be merging the fix soon.