Skip to content

Commit

Permalink
max temporal smoothing to 150
Browse files Browse the repository at this point in the history
  • Loading branch information
iperov committed Sep 16, 2022
1 parent 042867d commit 42e835d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/DeepFaceLive/backend/FaceDetector.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def on_cs_devices(self, idx, device):
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:
Expand Down
2 changes: 1 addition & 1 deletion apps/DeepFaceLive/backend/FaceMarker.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def on_cs_devices(self, idx, device):
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:
Expand Down

0 comments on commit 42e835d

Please sign in to comment.