1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00
Files
opencv_contrib/modules/tracking/test/test_main.cpp
Elizarov Ilya d706072784 Merge pull request #2620 from ieliz:goturn
Bounding box fixes for GOTURN tracker

* Trying to change branch from master to 3.4

* Removing unnecessary if statement

* Frame existence check is added

* Changes in GOTURN tracker for reading path to caffemodel and prototxt files in opencv_extra

* Replacing get_data_path with findDataFile and moving paths in parameters

* tracking: fix GOTURN model loading

* Fixing GOTURN memory test: paths to GOTURN files are in cv::FileNode now

* Fix

* Fix

* Fixing comments

* Deleting trailing space

* Trying to solve the problem with test

* Removing ground truth reading part in GOTURN test

* Removing trailing spaces

* Trying to fix win64/win32 issue

* Fixing problem with win32/win64

* Trying to solve issue with win32/win64
2020-09-05 18:47:02 +00:00

22 lines
610 B
C++

// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "test_precomp.hpp"
static
void initTrackingTests()
{
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_TEST_MAIN("cv", initTrackingTests())