File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/ondevice_tests/pipeline/node Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,13 @@ private_data(
325325 LOCATION yolo_v8_instance_segmentation_large_coco_640x352_kitchen_segmentation_gt
326326)
327327
328+ private_data(
329+ URL "luxonis-depthai-data-local/misc/parser_testing/ground_truth_files/detection_parser/yolov8-instance-segmentation-large_coco-640x352_701031f-segmentation_mask_v2.png"
330+ SHA1 "cf947acf1c210efba34c363fe6d8fd8d02293601"
331+ FILE "yolov8-instance-segmentation-large_coco-640x352_701031f-segmentation_mask_v2.png"
332+ LOCATION yolo_v8_instance_segmentation_large_coco_640x352_kitchen_segmentation_gt_v2
333+ )
334+
328335### Helper script to wrap the tests with a timeout ############################
329336
330337add_executable (test_wrapper src/helpers/test_wrapper.cpp)
@@ -537,7 +544,7 @@ FIRE_DETECTION_512x288_GROUND_TRUTH="${fire_detection_512x288_gt}"
537544PEOPLE_WALKING_VIDEO="${people_walking_video} "
538545FIRE_VIDEO="${fire_video} "
539546KITCHEN_IMAGE_PATH="${kitchen_image} "
540- YOLO_V8_INSTANCE_SEGMENTATION_LARGE_COCO_640x352_KITCHEN_SEGMENTATION_GROUND_TRUTH="${yolo_v8_instance_segmentation_large_coco_640x352_kitchen_segmentation_gt } "
547+ YOLO_V8_INSTANCE_SEGMENTATION_LARGE_COCO_640x352_KITCHEN_SEGMENTATION_GROUND_TRUTH="${yolo_v8_instance_segmentation_large_coco_640x352_kitchen_segmentation_gt_v2 } "
541548)
542549dai_set_test_labels(detection_parser_test ondevice rvc4 ci)
543550
Original file line number Diff line number Diff line change @@ -374,6 +374,6 @@ TEST_CASE("DetectionParser segmentation mask test") {
374374
375375 cv::Mat diff;
376376 cv::absdiff (segmentationMask, kitchenGtSegmentation, diff);
377- REQUIRE (cv::countNonZero (diff) == 0 );
377+ REQUIRE (cv::countNonZero (diff) <= 5000 );
378378}
379379#endif
You can’t perform that action at this time.
0 commit comments