Annotators can now press Auto Segment to replace the current mask with an automatic river segmentation based on dense optical flow magnitude and frame brightness. The result is pushed onto the undo stack, so it can be refined or reverted like any other mask operation. Parameters (norm_squared_threshold, gaussian_kernel, brightness_range) live in a separate config/optical_flow_config.yaml; the button is only enabled when optical_flow_config_file is set in config.yaml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
filenames:
|
|
video_in_zip: left.mp4
|
|
video_tmp_suffix: .mp4
|
|
zip_extension: .zip
|
|
mask: mask.png
|
|
metadata: metadata.json
|
|
frame: frame.png
|
|
overlay: overlay.png
|
|
mask_vis: mask_vis.png
|
|
gif_original_hires: video_original_hires.gif
|
|
gif_original_lowres: video_original_lowres.gif
|
|
gif_overlay_hires: video_overlay_hires.gif
|
|
gif_overlay_lowres: video_overlay_lowres.gif
|
|
|
|
display_max: 720
|
|
fps_fallback: 25
|
|
max_frames: 100
|
|
|
|
data_dir: data/filtered_data
|
|
out_dir: data/annotation_results
|
|
clips_file: config/clips.txt
|
|
# optical_flow_config_file: config/optical_flow_config.yaml
|
|
|
|
questions:
|
|
- section: River
|
|
items:
|
|
- key: flow
|
|
label: Flow Regime
|
|
options: [Turbulent, Laminar, Uncertain]
|
|
default: Laminar
|
|
- key: shadows
|
|
label: Strong Shadows
|
|
options: [Yes, No, Uncertain]
|
|
default: No
|
|
- key: artifacts
|
|
label: Artifacts on River
|
|
options: [Yes, No, Uncertain]
|
|
default: No
|
|
- section: Scene
|
|
items:
|
|
- key: lighting
|
|
label: Lighting
|
|
options: [Day, Night, Uncertain]
|
|
default: Day
|
|
- key: exposure
|
|
label: Exposure
|
|
options: [Overexposed, Underexposed, Both, Normal, Uncertain]
|
|
default: Normal
|
|
- section: Weather
|
|
items:
|
|
- key: snowing
|
|
label: Snowing
|
|
options: [Yes, No, Uncertain]
|
|
default: No
|
|
- key: snow_on_ground
|
|
label: Snow on Ground
|
|
options: [Yes, No, Uncertain]
|
|
default: No
|