ts: add findDataDirectory() function

This commit is contained in:
Alexander Alekhin
2018-07-23 17:58:10 +03:00
committed by Dmitry Kurtaev
parent 28e08ae0bd
commit 6e767e2376
2 changed files with 30 additions and 7 deletions
+5
View File
@@ -654,6 +654,11 @@ void addDataSearchSubDirectory(const std::string& subdir);
*/
std::string findDataFile(const std::string& relative_path, bool required = true);
/*! @brief Try to find requested data directory
@sa findDataFile
*/
std::string findDataDirectory(const std::string& relative_path, bool required = true);
#ifndef __CV_TEST_EXEC_ARGS
#if defined(_MSC_VER) && (_MSC_VER <= 1400)