Home
last modified time | relevance | path

Searched refs:dets2 (Results 1 – 7 of 7) sorted by relevance

/dports/science/py-dlib/dlib-19.22/dlib/test/
H A Dscan_image.cpp241 scan_image_i(dets2,images,rects,30000, 100); in run_test1()
250 DLIB_TEST(dets.size() == dets2.size()); in run_test1()
260 DLIB_TEST(sum_of_rects_in_images(images, rects, dets2[i].second) == dets2[i].first); in run_test1()
295 scan_image_i(dets2,images,rects,30000, 100); in run_test2()
304 DLIB_TEST(dets.size() == dets2.size()); in run_test2()
314 DLIB_TEST(sum_of_rects_in_images(images, rects, dets2[i].second) == dets2[i].first); in run_test2()
367 DLIB_TEST(dets.size() == dets2.size()); in run_test3()
380 …DLIB_TEST_MSG(std::abs(sum_of_rects_in_images(images, rects, dets2[i].second) - dets2[i].first) < … in run_test3()
381 … sum_of_rects_in_images(images, rects, dets2[i].second) - dets2[i].first in run_test3()
664 DLIB_TEST(dets1.size() == dets2.size()); in test_scan_images_movable_parts()
[all …]
H A Dobject_detector.cpp57 std::vector<std::pair<double,rectangle> > dets2; in validate_some_object_detector_stuff() local
59 detector(images[i], dets2); in validate_some_object_detector_stuff()
65 DLIB_TEST(dets.size() == dets2.size()); in validate_some_object_detector_stuff()
68 DLIB_TEST(dets[j] == dets2[j].second); in validate_some_object_detector_stuff()
75 …DLIB_TEST_MSG(std::abs(check_score - dets2[j].first) < eps, std::abs(check_score - dets2[j].first)… in validate_some_object_detector_stuff()
416 std::vector<rectangle> dets2 = detector(images[0]); in test_fhog_pyramid() local
418 DLIB_TEST(dets2.size()*3 == dets1.size()); in test_fhog_pyramid()
425 for (unsigned long i = 0; i < dets2.size(); ++i) in test_fhog_pyramid()
427 if (!d2.is_member(dets2[i])) in test_fhog_pyramid()
428 d2.add(dets2[i]); in test_fhog_pyramid()
/dports/science/dlib-cpp/dlib-19.22/dlib/test/
H A Dscan_image.cpp241 scan_image_i(dets2,images,rects,30000, 100); in run_test1()
250 DLIB_TEST(dets.size() == dets2.size()); in run_test1()
260 DLIB_TEST(sum_of_rects_in_images(images, rects, dets2[i].second) == dets2[i].first); in run_test1()
295 scan_image_i(dets2,images,rects,30000, 100); in run_test2()
304 DLIB_TEST(dets.size() == dets2.size()); in run_test2()
314 DLIB_TEST(sum_of_rects_in_images(images, rects, dets2[i].second) == dets2[i].first); in run_test2()
367 DLIB_TEST(dets.size() == dets2.size()); in run_test3()
380 …DLIB_TEST_MSG(std::abs(sum_of_rects_in_images(images, rects, dets2[i].second) - dets2[i].first) < … in run_test3()
381 … sum_of_rects_in_images(images, rects, dets2[i].second) - dets2[i].first in run_test3()
664 DLIB_TEST(dets1.size() == dets2.size()); in test_scan_images_movable_parts()
[all …]
H A Dobject_detector.cpp57 std::vector<std::pair<double,rectangle> > dets2; in validate_some_object_detector_stuff() local
59 detector(images[i], dets2); in validate_some_object_detector_stuff()
65 DLIB_TEST(dets.size() == dets2.size()); in validate_some_object_detector_stuff()
68 DLIB_TEST(dets[j] == dets2[j].second); in validate_some_object_detector_stuff()
75 …DLIB_TEST_MSG(std::abs(check_score - dets2[j].first) < eps, std::abs(check_score - dets2[j].first)… in validate_some_object_detector_stuff()
416 std::vector<rectangle> dets2 = detector(images[0]); in test_fhog_pyramid() local
418 DLIB_TEST(dets2.size()*3 == dets1.size()); in test_fhog_pyramid()
425 for (unsigned long i = 0; i < dets2.size(); ++i) in test_fhog_pyramid()
427 if (!d2.is_member(dets2[i])) in test_fhog_pyramid()
428 d2.add(dets2[i]); in test_fhog_pyramid()
/dports/www/matomo/piwik/core/DataTable/
H A DRow.php748 $dets2 = $row2->getMetadata();
751 ksort($dets2);
753 if ($dets1 != $dets2) {
/dports/math/freefem++/FreeFem-sources-4.6/src/bamglib/
H A DMesh2.cpp986 if ((dets1 <= 0 && dets2 <= 0) || (dets2 >= 0 && detsb >= 0)) in SwapForForcingEdge()
996 << " if2 = " << ((dets1 <= 0 && dets2 <= 0) || (dets2 >= 0 && detsb >= 0)) << endl; in SwapForForcingEdge()
1018 if (dets2 < 0) { // haut in SwapForForcingEdge()
1020 detsa = dets2; in SwapForForcingEdge()
1022 } else if (dets2 > 0) { // bas in SwapForForcingEdge()
1024 detsb = dets2; in SwapForForcingEdge()
1032 Exchange(dets1, dets2); in SwapForForcingEdge()
1035 dets2 = -dets2; in SwapForForcingEdge()
1040 if (dets2 < 0) { // haut in SwapForForcingEdge()
1042 detsa = dets2; in SwapForForcingEdge()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/bamg/bamglib/
H A DMesh2.cpp985 if ((dets1 <=0 && dets2 <=0) || (dets2 >=0 && detsb >=0)) in SwapForForcingEdge()
995 << " if2 = " << ((dets1 <=0 && dets2 <=0) || (dets2 >=0 && detsb >=0)) << endl; in SwapForForcingEdge()
1018 if (dets2 < 0) {// haut in SwapForForcingEdge()
1020 detsa = dets2; in SwapForForcingEdge()
1022 else if (dets2 > 0){// bas in SwapForForcingEdge()
1024 detsb = dets2; in SwapForForcingEdge()
1033 Exchange(dets1,dets2); in SwapForForcingEdge()
1036 dets2=-dets2; in SwapForForcingEdge()
1041 if (dets2 < 0) {// haut in SwapForForcingEdge()
1043 detsa = dets2; in SwapForForcingEdge()
[all …]