max temporal smoothing to 150

This commit is contained in:
iperov 2022-09-16 12:08:44 +04:00
parent 042867d19d
commit 42e835de65
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ class FaceDetectorWorker(BackendWorker):
cs.sort_by.select(detector_state.sort_by if detector_state.sort_by is not None else FaceSortBy.LARGEST)
cs.temporal_smoothing.enable()
cs.temporal_smoothing.set_config(lib_csw.Number.Config(min=1, max=50, step=1, allow_instant_update=True))
cs.temporal_smoothing.set_config(lib_csw.Number.Config(min=1, max=150, step=1, allow_instant_update=True))
cs.temporal_smoothing.set_number(detector_state.temporal_smoothing if detector_state.temporal_smoothing is not None else 1)
if detector_type == DetectorType.CENTER_FACE:

View file

@ -113,7 +113,7 @@ class FaceMarkerWorker(BackendWorker):
cs.marker_coverage.set_number(marker_coverage)
cs.temporal_smoothing.enable()
cs.temporal_smoothing.set_config(lib_csw.Number.Config(min=1, max=50, step=1, allow_instant_update=True))
cs.temporal_smoothing.set_config(lib_csw.Number.Config(min=1, max=150, step=1, allow_instant_update=True))
cs.temporal_smoothing.set_number(marker_state.temporal_smoothing if marker_state.temporal_smoothing is not None else 1)
else: