Hi,
I have three test failures with an unoptimized, debug build. One I suspect is because I don't have a video capture device attached (the last below), but I suspect the first two are numerical errors. Please could someone confirm?
Thanks,
Chris.
//Details:
Platform: x86_64
Compiler: Intel version 13.1.1.163
OpenCV Version: 2.4.5
Build command:
cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_PREFIX=/home/chris/downloads/opencv-install -DCMAKE_CXX_FLAGS="-O0 -fp-model precise" -DCMAKE_C_FLAGS="-O0 -fp-model precise" -DCMAKE_BUILD_TYPE=Debug ../
i) Numerical error somewhere?
crownpass> ./bin/opencv_test_video --gtest_filter=Video_calcOpticalFlowDual_TVL1.Regression
Note: Google Test filter = Video_calcOpticalFlowDual_TVL1.Regression
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Video_calcOpticalFlowDual_TVL1
[ RUN ] Video_calcOpticalFlowDual_TVL1.Regression
/home/chris/downloads/opencv-2.4.5/modules/video/test/test_tvl1optflow.cpp:169: Failure
Expected: (err) <= (MAX_RMSE), actual: 0.122213 vs 0.02
[ FAILED ] Video_calcOpticalFlowDual_TVL1.Regression (6548 ms)
[----------] 1 test from Video_calcOpticalFlowDual_TVL1 (6548 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (6548 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] Video_calcOpticalFlowDual_TVL1.Regression
1 FAILED TEST
ii) Another numerical failure?
crownpass> ../release_debugO0/bin/opencv_test_highgui --gtest_filter=Highgui_Image.regression
Note: Google Test filter = Highgui_Image.regression
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Highgui_Image
[ RUN ] Highgui_Image.regression
warning: empty layer generated
/home/chris/downloads/opencv-2.4.5/modules/ts/src/ts.cpp:519: Failure
Failed
failure reason: Bad accuracy
test case #-1
seed: ffffffffffffffff
-----------------------------------
LOG: reading image : /home/chris/downloads/opencv-2.4.5/release_openmp/bin/data/testdata/highgui/../cv/shared/baboon.png
full_name : /tmp/__opencv_temp.4Iodsy.png
full_name : /tmp/__opencv_temp.D6fXA2.tiff
full_name : /tmp/__opencv_temp.C62BMv.jpg
full_name : /tmp/__opencv_temp.ZxEvq0.jp2
Reading image from file: too big difference (=13.2068) with fmt=jp2
full_name : /tmp/__opencv_temp.SrKrvw.bmp
full_name : /tmp/__opencv_temp.lk5UB2.ppm
full_name : /tmp/__opencv_temp.qam2Ky.ras
end test function : ImagesTest
-----------------------------------
[ FAILED ] Highgui_Image.regression (803 ms)
[----------] 1 test from Highgui_Image (803 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (804 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] Highgui_Image.regression
1 FAILED TEST
iii) And presumably the following failure is to be expected because there is no video capture device?
crownpass> ./bin/opencv_test_superres
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SuperResolution
[ RUN ] SuperResolution.BTVL1
unknown file: Failure
C++ exception with description "/home/chris/downloads/opencv-2.4.5/modules/superres/src/frame_source.cpp:149: error: (-215) vc_.isOpened() in function reset
" thrown in the test body.
[ FAILED ] SuperResolution.BTVL1 (1 ms)
[----------] 1 test from SuperResolution (1 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] SuperResolution.BTVL1
1 FAILED TEST