Commit ee3825ea authored by Yuxin Wu's avatar Yuxin Wu

Don't warn about opencv-opencl-runtime (fix #502)

parent 2870347c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import os import os
# issue#7378 may happen with custom opencv. It doesn't hurt to disable opencl # issue#7378 may happen with custom opencv. It doesn't hurt to disable opencl
os.environ['OPENCV_OPENCL_RUNTIME'] = '' os.environ['OPENCV_OPENCL_RUNTIME'] = 'disabled' # https://github.com/opencv/opencv/pull/10155
try: try:
# issue#1924 may happen on old systems # issue#1924 may happen on old systems
import cv2 # noqa import cv2 # noqa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment