excluded calonder test if CV_SSE2==0
This commit is contained in:
parent
4aee2e3045
commit
012625d572
@ -117,7 +117,7 @@ void CV_CalonderTest::run(int)
|
|||||||
ts->set_failed_test_info( CvTS::FAIL_INVALID_TEST_DATA );
|
ts->set_failed_test_info( CvTS::FAIL_INVALID_TEST_DATA );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif //GET_RES
|
||||||
|
|
||||||
CalonderDescriptorExtractor<float> fde(dir + "/classifier.rtc");
|
CalonderDescriptorExtractor<float> fde(dir + "/classifier.rtc");
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ void CV_CalonderTest::run(int)
|
|||||||
ts->printf(CvTS::LOG, "nofm (inf) BTW valid and calculated float descriptors = %f\n", fnorm );
|
ts->printf(CvTS::LOG, "nofm (inf) BTW valid and calculated float descriptors = %f\n", fnorm );
|
||||||
if( fnorm > FLT_EPSILON )
|
if( fnorm > FLT_EPSILON )
|
||||||
ts->set_failed_test_info( CvTS::FAIL_BAD_ACCURACY );
|
ts->set_failed_test_info( CvTS::FAIL_BAD_ACCURACY );
|
||||||
#endif
|
#endif // GET_RES
|
||||||
|
|
||||||
CalonderDescriptorExtractor<uchar> cde(dir + "/classifier.rtc");
|
CalonderDescriptorExtractor<uchar> cde(dir + "/classifier.rtc");
|
||||||
Mat cdescriptors;
|
Mat cdescriptors;
|
||||||
@ -154,7 +154,9 @@ void CV_CalonderTest::run(int)
|
|||||||
ts->printf(CvTS::LOG, "nofm (inf) BTW valid and calculated uchar descriptors = %f\n", cnorm );
|
ts->printf(CvTS::LOG, "nofm (inf) BTW valid and calculated uchar descriptors = %f\n", cnorm );
|
||||||
if( cnorm > FLT_EPSILON )
|
if( cnorm > FLT_EPSILON )
|
||||||
ts->set_failed_test_info( CvTS::FAIL_BAD_ACCURACY );
|
ts->set_failed_test_info( CvTS::FAIL_BAD_ACCURACY );
|
||||||
#endif
|
#endif // GET_RES
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CV_SSE2
|
||||||
CV_CalonderTest calonderTest;
|
CV_CalonderTest calonderTest;
|
||||||
|
#endif // CV_SSE2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user