Removed workaround that doesn't work

This commit is contained in:
Fabio Manganiello 2019-03-20 18:37:46 +01:00
parent 92f1f3eea7
commit 20b0c09a0c
1 changed files with 0 additions and 4 deletions

View File

@ -4,10 +4,6 @@ import shutil
import threading
import time
# Temporary workaround for bug on OpenCV >= 3.4.2 that doesn't
# properly release the device, see https://github.com/opencv/opencv/issues/12301#issuecomment-415801564
os.environ['OPENCV_VIDEOIO_PRIORITY_MSMF'] = '0'
import cv2
from datetime import datetime