diff --git a/apps/DeepFaceLive/backend/FaceDetector.py b/apps/DeepFaceLive/backend/FaceDetector.py index 6001fa9..27a3e35 100644 --- a/apps/DeepFaceLive/backend/FaceDetector.py +++ b/apps/DeepFaceLive/backend/FaceDetector.py @@ -83,7 +83,7 @@ class FaceDetectorWorker(BackendWorker): cs.temporal_smoothing.call_on_number(self.on_cs_temporal_smoothing) cs.detector_type.enable() - cs.detector_type.set_choices(DetectorType, DetectorTypeNames, none_choice_name='@misc.menu_select') + cs.detector_type.set_choices(DetectorType, DetectorTypeNames, none_choice_name=None) cs.detector_type.select(state.detector_type if state.detector_type is not None else DetectorType.YOLOV5) diff --git a/apps/DeepFaceLive/backend/FaceMarker.py b/apps/DeepFaceLive/backend/FaceMarker.py index 7a8e6f1..eb720a2 100644 --- a/apps/DeepFaceLive/backend/FaceMarker.py +++ b/apps/DeepFaceLive/backend/FaceMarker.py @@ -57,7 +57,7 @@ class FaceMarkerWorker(BackendWorker): cs.temporal_smoothing.call_on_number(self.on_cs_temporal_smoothing) cs.marker_type.enable() - cs.marker_type.set_choices(MarkerType, MarkerTypeNames, none_choice_name='@misc.menu_select') + cs.marker_type.set_choices(MarkerType, MarkerTypeNames, none_choice_name=None) cs.marker_type.select(state.marker_type if state.marker_type is not None else MarkerType.GOOGLE_FACEMESH) def on_cs_marker_type(self, idx, marker_type): diff --git a/apps/DeepFaceLive/ui/QFaceDetector.py b/apps/DeepFaceLive/ui/QFaceDetector.py index 030b6f7..7efd20b 100644 --- a/apps/DeepFaceLive/ui/QFaceDetector.py +++ b/apps/DeepFaceLive/ui/QFaceDetector.py @@ -38,7 +38,7 @@ class QFaceDetector(QBackendPanel): q_device = QComboBoxCSWDynamicSingleSwitch(cs.device, reflect_state_widgets=[q_device_label]) q_fixed_window_size_label = QLabelPopupInfo(label=L('@QFaceDetector.window_size'), popup_info_text=L('@QFaceDetector.help.window_size') ) - q_fixed_window_size = QSpinBoxCSWNumber(cs.fixed_window_size, reflect_state_widgets=[q_fixed_window_size_label]) + q_fixed_window_size = QSpinBoxCSWNumber(cs.fixed_window_size, reflect_state_widgets=[q_fixed_window_size_label, q_detected_faces]) q_threshold_label = QLabelPopupInfo(label=L('@QFaceDetector.threshold'), popup_info_text=L('@QFaceDetector.help.threshold') ) q_threshold = QSpinBoxCSWNumber(cs.threshold, reflect_state_widgets=[q_threshold_label])