add non-maxima-suppression