Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhp1 committed Nov 28, 2024
1 parent 8f18e9c commit 05952bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion modules/detect_target/detect_target_brightspot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions tests/unit/test_detect_target_brightspot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 05952bc

Please sign in to comment.