FaceRestoreWidget never exposes conf_threshold; workflow default 0.5 is locked from the GUI #24
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:preflight
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
lint-cleanup
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_local_ai_image_enhancer#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reproduction
Observed
FaceRestoreWidget._build_ui(auraframe/gui/face_restore_widget.py:90-162) exposes Model combo, Restore Weight slider, and Blend Mode combo — but noconf_thresholdcontrol.FaceRestoreWidget.get_settings()(line 196-203) returns only{model_id, restoration_weight, blend_mode}.MainWindow._run_face_restore(auraframe/gui/main_window.py:451-469) callsself._run_pipeline("face_restore_only", {**settings, "conf_threshold": settings.get("conf_threshold", 0.5), ...})— thesettings.get("conf_threshold", 0.5)always falls back to 0.5 because the widget never sets it.auraframe/workflows/face_restore_only.py:35documentsconf_thresholdas a parameter and the DetectFacesNode (auraframe/pipeline/nodes/detect_faces.py:25) reads it from parameters and forwards to the SCRFD detector.Root cause
The widget surface does not include a conf_threshold slider/spinbox. The value is hard-coded to 0.5 from the moment
get_settings()is called.Expected
FaceRestoreWidgetforconf_threshold(range 0.1-1.0, default 0.5) that flows throughget_settings()into the workflow parameters — so users can tighten detection (cleaner results) or loosen it (more faces at the cost of false positives) from the GUI.Severity
Low — the feature works at the workflow level; only the GUI surface is missing. Documented workflow parameter that the GUI cannot exercise.