mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-06 04:52:14 -07:00
max temporal smoothing to 150
This commit is contained in:
parent
042867d19d
commit
42e835de65
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue