confident preset¶
Precision: higher conf (0.4), tighter NMS, longer min track; fewer, more reliable detections.
Use it with -c confident, or start from a local copy with geotrax config copy. Generated from confident.yaml.
Changed keys¶
| Key | default |
confident |
|---|---|---|
extraction.min_track_length |
3 |
8 |
ultralytics.conf |
0.25 |
0.4 |
ultralytics.iou |
0.7 |
0.6 |
Full diff against default.yaml
--- default.yaml
+++ confident.yaml
@@ -1,3 +1,12 @@
-# geo-trax pipeline configuration (default.yaml) — the single, self-contained config for
-# the entire pipeline. There are no linked sub-config files; every setting lives here.
+# geo-trax pipeline configuration — "confident" preset (confident.yaml).
+#
+# A precision-oriented preset: a higher detection confidence threshold, tighter NMS, and a
+# longer minimum track length. Produces fewer but more reliable detections and tracks; reduces
+# false positives and short flicker tracks at the cost of potentially missing low-visibility or
+# occluded vehicles.
+#
+# Differs from default.yaml:
+# ultralytics.conf: 0.25 -> 0.4
+# ultralytics.iou: 0.7 -> 0.6
+# extraction.min_track_length: 3 -> 8
#
@@ -5,7 +14,7 @@
# Instead, work with a local copy:
-# geotrax config show # show where this file lives and which presets are available
-# geotrax config show default # print this file's full contents to the terminal
-# geotrax config copy # copy the presets into the current directory as <name>_copy.yaml
+# geotrax config show # show where this file lives and which presets are available
+# geotrax config show confident # print this file's full contents to the terminal
+# geotrax config copy # copy the presets into the current directory as <name>_copy.yaml
# Then pass your edited copy to any command with -c, e.g.:
-# geotrax extract video.mp4 -c default_copy.yaml
+# geotrax extract video.mp4 -c confident_copy.yaml
#
@@ -89,3 +98,3 @@
save_stab: true # Save per-frame stabilization homographies to results/video_vid_transf.txt
- min_track_length: 3 # Discard tracks shorter than this many frames; [1, inf)
+ min_track_length: 8 # Discard tracks shorter than this many frames; [1, inf) — raised (precision preset): drops short flicker/false tracks
interpolate: false # Fill per-track frame gaps with linear interpolation; adds is_interpolated column to output — CLI: --interpolate / --no-interpolate
@@ -283,4 +292,4 @@
# Detection / inference
- conf: 0.25 # (float) object confidence threshold for detection; [0.0, 1.0] — CLI: --conf
- iou: 0.7 # (float) IoU threshold for NMS; [0.0, 1.0]
+ conf: 0.4 # (float) object confidence threshold for detection; [0.0, 1.0] — CLI: --conf
+ iou: 0.6 # (float) IoU threshold for NMS; [0.0, 1.0] — lowered (precision preset): more aggressive NMS, suppresses duplicate/overlapping boxes
max_det: 1000 # (int) maximum number of detections per image; [1, inf)