Python – How can I check for ESCape keypress in the background using threading
I’m currently making an attendence taker using cv2 and face_recognition. I want to know if there is a way to use threading to check for a keypress so that I can close the ‘cv2.VideoCapture’. I tried r