48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
# Tuned to be permissive. Expect false positives from rivers, lakes, names and contours.
|
|
# The purpose is weak-label mining + hard-negative discovery, not final truth.
|
|
source:
|
|
base_url: "https://web.uni-plovdiv.net/vedrin/raster/original/"
|
|
default_crs: "EPSG:4326"
|
|
|
|
detector:
|
|
tile_size: 1400
|
|
tile_overlap: 96
|
|
min_width_px: 5
|
|
min_height_px: 5
|
|
max_width_px: 95
|
|
max_height_px: 95
|
|
min_area_px: 18
|
|
max_area_px: 6500
|
|
min_aspect: 0.35
|
|
max_aspect: 4.25
|
|
min_blue_fill_ratio: 0.045
|
|
max_blue_fill_ratio: 0.92
|
|
min_rectangularity: 0.18
|
|
min_solidity: 0.22
|
|
nms_iou_threshold: 0.25
|
|
# OpenCV HSV hue range is 0-179, not 0-360.
|
|
hsv_ranges:
|
|
- name: blue_dark_to_light
|
|
lower: [82, 28, 45]
|
|
upper: [137, 255, 255]
|
|
- name: pale_cyan_low_sat
|
|
lower: [78, 10, 105]
|
|
upper: [115, 115, 255]
|
|
morphology:
|
|
open_kernel: 2
|
|
close_kernel: 3
|
|
dilate_iterations: 1
|
|
|
|
coordinate_scoring:
|
|
search_radius_px: 45
|
|
strong_score: 0.90
|
|
weak_score: 0.40
|
|
crop_size_px: 256
|
|
|
|
export:
|
|
yolo_class_names:
|
|
- blue_rect_unknown
|
|
- blue_rect_filled
|
|
- blue_rect_hollow
|
|
- blue_rect_border
|