mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
14 lines
265 B
Python
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')
|