fix: default score 0.65 + verify 0.25 nel simple match

Default precedenti scartavano match validi con variazione intensita
attorno al foro (verify NCC 0.4 troppo stretto). Nuovo: 4/5 fori
corona dentata trovati con default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 09:58:15 +02:00
parent d35bb574ef
commit 9fba46d7f7
3 changed files with 8 additions and 3 deletions
+3 -1
View File
@@ -230,7 +230,9 @@ def _simple_to_technical(
"min_score": p.min_score,
"max_matches": p.max_matches,
"nms_radius": 0,
"verify_threshold": 0.4,
# Verify NCC più permissivo per match con variazione intensità
# (foro su sfondo variabile, parti di oggetto ecc.)
"verify_threshold": 0.25,
}
+4 -2
View File
@@ -79,8 +79,10 @@
</div>
<div class="field">
<label>Score minimo <span id="v-score">0.70</span></label>
<input type="range" id="p-min-score" min="0.30" max="0.95" step="0.05" value="0.70">
<label>Score minimo <span id="v-score">0.65</span>
<span class="hint">(più basso = più match anche incerti)</span>
</label>
<input type="range" id="p-min-score" min="0.30" max="0.95" step="0.05" value="0.65">
</div>
<div class="field">
+1
View File
@@ -76,6 +76,7 @@ canvas {
}
#v-score { color: #00c8ff; font-weight: bold; }
.hint { color: #777; font-size: 10px; font-weight: normal; margin-left: 4px; }
details { margin-top: 10px; font-size: 12px; }
details summary {