Interface ObjectMerge<T,​V>

    • Method Detail

      • merge

        RecognizedObject<T,​V> merge​(RecognizedObject<T,​V> object1,
                                          RecognizedObject<T,​V> object2,
                                          double threshold)
        Merges two different objects. Considers the threshold during the merge. If the objects do not fit according to the threshold, will not merge and return null.
        Parameters:
        object1 - object 1 to merge
        object2 - object 2 to merge
        threshold - threshold to consider during the merge process
        Returns:
        merged object or null, if objects don't fit according to threshold