mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-20 12:40:31 +08:00
16 lines
365 B
Python
16 lines
365 B
Python
import ctypes
|
|
import warnings
|
|
|
|
from opencv_constants import *
|
|
|
|
libs_found = True
|
|
|
|
try:
|
|
from opencv_cv import *
|
|
except:
|
|
warnings.warn(RuntimeWarning(
|
|
'The opencv libraries were not found. Please ensure that they '
|
|
'are installed and available on the system path. '
|
|
'*** Skipping import of OpenCV functions.'))
|
|
libs_found = False
|