mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-10-02 13:27:13 +02:00
added blink count on debug text
This commit is contained in:
parent
a3a562a382
commit
f2c22d51a5
@ -81,7 +81,7 @@ def tracking_blink(img, roi_x, roi_y, roi_w, roi_h, th = 0.9, size = 40)->Tuple[
|
||||
|
||||
if state!=IDLE and time_counter - prev_time>0.7:
|
||||
state = IDLE
|
||||
print(debug_txt)
|
||||
print(debug_txt, len(blinks))
|
||||
cv2.destroyAllWindows()
|
||||
return (blinks, intervals, offset_time)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user