Commit cff117c0 authored by Alexander Reshetnikov's avatar Alexander Reshetnikov

Updated saving paths for highgui tests

parent 56f5fcd2
...@@ -70,7 +70,7 @@ public: ...@@ -70,7 +70,7 @@ public:
{ {
stringstream s; s << codec_bmp_tags[j].tag; stringstream s; s << codec_bmp_tags[j].tag;
const string filename = ts->get_data_path() + "../../../../output_"+s.str()+".avi"; const string filename = "output_"+s.str()+".avi";
Mat img(img_r, img_c, CV_8UC3, Scalar::all(0)); Mat img(img_r, img_c, CV_8UC3, Scalar::all(0));
try try
......
This diff is collapsed.
...@@ -61,7 +61,7 @@ void CV_PositioningTest::CreateTestVideo(const string& format, int codec, int fr ...@@ -61,7 +61,7 @@ void CV_PositioningTest::CreateTestVideo(const string& format, int codec, int fr
{ {
stringstream s; s << codec; stringstream s; s << codec;
cv::VideoWriter writer(ts->get_data_path()+"../../../../test_video_"+s.str()+"."+format, codec, 25, cv::Size(640, 480), false); cv::VideoWriter writer("test_video_"+s.str()+"."+format, codec, 25, cv::Size(640, 480), false);
for (int i = 0; i < framecount; ++i) for (int i = 0; i < framecount; ++i)
{ {
...@@ -122,7 +122,7 @@ void CV_PositioningTest::run(int) ...@@ -122,7 +122,7 @@ void CV_PositioningTest::run(int)
stringstream s; s << CV_FOURCC(codec[j][0], codec[j][1], codec[j][2], codec[j][3]); //codec_bmp_tags[j].tag; stringstream s; s << CV_FOURCC(codec[j][0], codec[j][1], codec[j][2], codec[j][3]); //codec_bmp_tags[j].tag;
const string file_path = ts->get_data_path()+"../../../../test_video_"+s.str()+"."+format[i]; const string file_path = "test_video_"+s.str()+"."+format[i];
bool error = false; int failed = 0; bool error = false; int failed = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment