testDetectionLetterboxRemoval function
Test-only: exposes the private letterbox-removal logic for unit tests.
Implementation
@visibleForTesting
List<Detection> testDetectionLetterboxRemoval(
List<Detection> dets,
List<double> padding,
) => _detectionLetterboxRemoval(dets, padding);