opencv/platforms/winpack_dldt/package-tests/test_dnn_backends.py

14 lines
265 B
Python
Raw Normal View History

2020-03-15 07:17:25 +08:00
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')