java.lang.Object
rawDeepLearningClassifier.dlClassification.deepAcoustics.BoundingBoxMerger

public class BoundingBoxMerger extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<org.jamdev.jdl4pam.deepAcoustics.DeepAcousticsResult>
    combineBoxes(List<org.jamdev.jdl4pam.deepAcoustics.DeepAcousticsResult> boxes, double minOverlapThreshold)
    Combines overlapping bounding boxes from a list until no more merges can be performed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BoundingBoxMerger

      public BoundingBoxMerger()
  • Method Details

    • combineBoxes

      public static List<org.jamdev.jdl4pam.deepAcoustics.DeepAcousticsResult> combineBoxes(List<org.jamdev.jdl4pam.deepAcoustics.DeepAcousticsResult> boxes, double minOverlapThreshold)
      Combines overlapping bounding boxes from a list until no more merges can be performed.
      Parameters:
      boxes - The initial list of DeepAcousticsResult objects.
      minOverlapThreshold - The minimum Intersection over Union (IoU) required to merge two boxes. A value between 0.0 (any overlap) and 1.0. For 5%, use 0.05.
      Returns:
      A new list of merged bounding boxes.