diff --git a/modules/detect_target/detect_target_brightspot.py b/modules/detect_target/detect_target_brightspot.py index 06842f8a..fcf7b547 100644 --- a/modules/detect_target/detect_target_brightspot.py +++ b/modules/detect_target/detect_target_brightspot.py @@ -15,7 +15,7 @@ BRIGHTSPOT_PERCENTILE = 99.9 -# Label for brightspots +# Label for brightspots; is 1 since 0 is used for blue landing pads DETECTION_LABEL = 1 # SimpleBlobDetector is a binary detector, so a detection has confidence 1.0 by default CONFIDENCE = 1 diff --git a/tests/unit/test_detect_target_brightspot.py b/tests/unit/test_detect_target_brightspot.py index c56ae5ee..aef75812 100644 --- a/tests/unit/test_detect_target_brightspot.py +++ b/tests/unit/test_detect_target_brightspot.py @@ -199,23 +199,3 @@ def test_images_no_detections( assert result is False assert actual is None - - # def test_multiple_ir_images( - # self, - # detector: detect_target_brightspot.DetectTargetBrightspot, - # image_ir: tuple[image_and_time.ImageAndTime, detections_and_time.DetectionsAndTime], - # ) -> None: - # """ - # Test detection on multiple IR images. - # """ - # image, expected_detections = image_ir - - # result, actual = detector.run(image) - - # if not expected_detections: - # assert result is False - # assert actual is None - # else: - # assert result - # assert actual is not None - # compare_detections(actual, expected_detections)