setExternalContoursOnly

open fun setExternalContoursOnly(staticUseExternalContours: Boolean)

Filter out contours that are inside other contours. This is an optional method.

Parameters

staticUseExternalContours

whether to only scan for contours that are not nested in other contours, default false, static option


open fun setExternalContoursOnly(@NonNull useExternalContours: BooleanSupplier)

Filter out contours that are inside other contours. This is an optional method.

Parameters

useExternalContours

whether to only scan for contours that are not nested in other contours, default false