perf_main.cpp 619 B

123456789101112131415161718192021
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. #include "perf_precomp.hpp"
  5. static
  6. void initTrackingTests()
  7. {
  8. const char* extraTestDataPath =
  9. #ifdef WINRT
  10. NULL;
  11. #else
  12. getenv("OPENCV_DNN_TEST_DATA_PATH");
  13. #endif
  14. if (extraTestDataPath)
  15. cvtest::addDataSearchPath(extraTestDataPath);
  16. cvtest::addDataSearchSubDirectory(""); // override "cv" prefix below to access without "../dnn" hacks
  17. }
  18. CV_PERF_TEST_MAIN(tracking, initTrackingTests())