|
|
|
| You infrared my mind. |
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: Sort array in filterContours
FWIW you could also write that as
Code:
public static void sortContoursByArea(List<MatOfPoint> contours) {
Collections.sort(contours, Comparator.comparingDouble(Imgproc::contourArea));
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|