Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions image_processing_course/sw_s01e10.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# solution for very slow application start when opening camera
# more details: https://github.com/opencv/opencv/issues/17687
import os
os.environ['OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS'] = '0'

import cv2
import numpy as np

Expand Down Expand Up @@ -67,5 +65,6 @@ def empty(_):


if __name__ == '__main__':
os.environ.setdefault('OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS', '0')
print('Hello lab 10!')
ex_1()