MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / exponential_smoothing

Function exponential_smoothing

wan/models/face_utils.py:45–46  ·  view source on GitHub ↗
(a, x, x_prev)

Source from the content-addressed store, hash-verified

43
44
45def exponential_smoothing(a, x, x_prev):
46 return a * x + (1 - a) * x_prev
47
48
49class OneEuroFilter:

Callers 1

__call__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected