Implemented detection result comparator.