public void addPoints(MatOfRect rects) { points.AddRange(detector.convertMatOfRectToPoints(rects)); }