You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to OpenCV and computer vision. I'm grateful for your detailed instruction and I managed to run it with no sweat and pull up the real time webcam detector. However, how can I change the script to detect from the recorded video rather from the webcam?
Also, how can the result (probabilities of the emotions) be automatically recorded in the system?
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hey @C45513, You can change the code from real-time to recorded video by replacing the camera = cv2.VideoCapture(0) while True:
with camera = cv2.VideoCapture('path of the video file') while(cap.isOpened()):
Be sure to add some try and except for error handling
Hi,
I'm new to OpenCV and computer vision. I'm grateful for your detailed instruction and I managed to run it with no sweat and pull up the real time webcam detector. However, how can I change the script to detect from the recorded video rather from the webcam?
Also, how can the result (probabilities of the emotions) be automatically recorded in the system?
Thank you very much.
The text was updated successfully, but these errors were encountered: