test_dnn_backends.py 265 B

12345678910111213
  1. import sys
  2. print(sys.version_info)
  3. try:
  4. import cv2 as cv
  5. print(cv.__version__)
  6. print(cv.dnn.getAvailableTargets(cv.dnn.DNN_BACKEND_INFERENCE_ENGINE))
  7. except:
  8. print(sys.path)
  9. import os
  10. print(os.environ.get('PATH', ''))
  11. raise
  12. print('OK')