Searched refs:datapath_dir (Results 1 – 1 of 1) sorted by relevance
453 char* datapath_dir = getenv("OPENCV_TEST_DATA_PATH"); in init() local455 if( datapath_dir ) in init()458 size_t l = strlen(datapath_dir); in init()459 bool haveSlash = l > 0 && (datapath_dir[l-1] == '/' || datapath_dir[l-1] == '\\'); in init()460 sprintf( buf, "%s%s%s/", datapath_dir, haveSlash ? "" : "/", modulename.c_str() ); in init()