v0.22.0
Added new configuration option for handling malformed bboxes within CenterNetVisdrone.
Updates / New Features
Previously, malformed bboxes (
max_vertex < min_vertex) returned by the internal model architecture ofCenterNetVisdronecaused an exception to be raised byAxisAlignedBoundingBoxduring bbox construction. Now,reorder_malformed_bboxesis exposed as a configuration parameter to more appropriately handle behavior when malformed bboxes are encountered. IfTrue, bbox vertices will be sorted such that (max_vertex >= min_vertex), otherwise, (new default) the offending detection will be dropped from the list of detections completely. This new default is similar to previous behavior, but avoids hitting the exception such that the remaining well-formed detections can be returned. Debug logging may be enabled to have more visibility into when malformed bboxes are encountered.