We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用光流追踪时,人脸速度移动过快,关键的位置会偏移预处的正确位置很多?
The text was updated successfully, but these errors were encountered:
我简单研究了下track.py里面的one euro filter算法:
def __call__(self, x, x_prev): if x_prev is None: return x t_e = 1 a_d = smoothing_factor(t_e, self.d_cutoff) dx = (x - x_prev) / t_e dx_hat = exponential_smoothing(a_d, dx, self.dx_prev) cutoff = self.min_cutoff + self.beta * abs(dx_hat) a = smoothing_factor(t_e, cutoff) x_hat = exponential_smoothing(a, x, x_prev) self.dx_prev = dx_hat return x_hat
其中 dx_hat = exponential_smoothing(a_d, dx, self.dx_prev) 中的参数:self.dx_prev每个lmk点都使用的是上一个点的求出来的x_prev?这样做是否正确?
Sorry, something went wrong.
No branches or pull requests
使用光流追踪时,人脸速度移动过快,关键的位置会偏移预处的正确位置很多?
The text was updated successfully, but these errors were encountered: