Skip to content
New issue

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

代码里面camera_detection_1.py 是否逻辑错误 #51

Open
LiuQINGJia opened this issue May 4, 2024 · 0 comments
Open

代码里面camera_detection_1.py 是否逻辑错误 #51

LiuQINGJia opened this issue May 4, 2024 · 0 comments

Comments

@LiuQINGJia
Copy link

if (perclos > 0.4 or perblink < 0.25 or peryawn > 5 / 60):
    print('疲劳')
# if(blink_freq<0.25)
else:
    print('清醒') 

通常情况下,当人疲劳时,平均眨眼百分比会增加。因为在疲劳状态下,眨眼的频率通常会增加,这是人体一种应对疲劳的自然反应。
不应该是perlink大于0.25吗,越困眨眼次数越多,perlink越大

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant