INNER CODE UNIT · Python
nothing
vardanagarwal/Proctoring-AI · eye_tracker.py:160
def nothing(x):
pass
cv2.createTrackbar("threshold", "image", 75, 255, nothing)
def track_eye(video_path=None):
video_path = ""
cap = cv2.VideoCapture(video_path)
ret, img = cap.read()
thresh = img.copy()
while(True):
ret, img = cap.read()
rects = find_faces(img, face_model)
if not ret: