- server: lock globale matcher (race nel threadpool FastAPI), LRU su
_IMG_CACHE e _RECIPE_MATCHERS (leak), clamp ROI in tutti gli endpoint
(400/422 invece di crash 500, check train senza varianti),
filtro_fp=off disabilita davvero il verify NCC, fallback FILTRO_FP_MAP
= medio, verify_threshold ricetta allineato a 0.4, _draw_matches su
crop locale (era warp+Sobel full-frame per ogni match), spread_radius
default 5->4
- gui: centro overlay edge (W-1)/2 -> W/2 (coerenza col train),
spread_radius 5->4
- matcher legacy: _angle_list include estremo, cap candidati top-level,
save/load persiste template_gray
- auto_tune: ref centrato fuori dal loop angoli
- test_suite: check imread con errore chiaro
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>