nrtk.impls.score_detections.nop_scorer
Defines NOPScorer, a ScoreDetections implementation that scores all detections as zero for testing or baselines.
- Classes:
NOPScorer: An example implementation of ScoreDetections that outputs zero scores for each provided ground truth input.
- Dependencies:
smqtk_image_io for handling bounding box objects.
nrtk.interfaces for the ScoreDetections interface.
- Usage:
Instantiate NOPScorer and use it to generate zero scores for any set of ground truth and predicted detections:
scorer = NOPScorer() scores = scorer.score(actual_detections, predicted_detections)
- Example:
nop_scorer = NOPScorer() zero_scores = nop_scorer.score(actual_detections, predicted_detections)
Classes
Example implementation of the |