Blame view

3rdparty/opencv-4.5.4/modules/video/perf/perf_main.cpp 468 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  #include "perf_precomp.hpp"
  
  #if defined(HAVE_HPX)
      #include <hpx/hpx_main.hpp>
  #endif
  
  static
  void initTests()
  {
      const char* extraTestDataPath =
  #ifdef WINRT
          NULL;
  #else
          getenv("OPENCV_DNN_TEST_DATA_PATH");
  #endif
      if (extraTestDataPath)
          cvtest::addDataSearchPath(extraTestDataPath);
  
      cvtest::addDataSearchSubDirectory("");  // override "cv" prefix below to access without "../dnn" hacks
  }
  
  CV_PERF_TEST_MAIN(video, initTests())