opencv/platforms/winpack_dldt/package-tests/test_dnn_backends.py
2020-03-25 21:26:41 +00:00

14 lines
265 B
Python

import sys
print(sys.version_info)
try:
import cv2 as cv
print(cv.__version__)
print(cv.dnn.getAvailableTargets(cv.dnn.DNN_BACKEND_INFERENCE_ENGINE))
except:
print(sys.path)
import os
print(os.environ.get('PATH', ''))
raise
print('OK')