my python code will look something like this:
timestamp_list = [] cap = cv2.VideoCapture("video.mp4") if (cap.isOpened()== False): print("Error opening video file") while(cap.isOpened()): ret, frame = cap.read() if ret == True: # check if frame has target face and return boolean True if face recognised #**get timestamp and append to timestamp_list **
Thanks for reading my question. Please pardon me if the question is kiddish, I am a newbie in computer vision. Please let me know if I am missing to provide any other information.
2.1m questions
2.1m answers
60 comments
57.0k users