pub fn find_contours<T>(image: &GrayImage) -> Vec<Contour<T>>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
where
    T: Num + NumCast + Copy + PartialEq + Eq
Expand description

Finds all borders of foreground regions in an image. All non-zero pixels are treated as belonging to the foreground.

Based on the algorithm proposed by Suzuki and Abe: Topological Structural Analysis of Digitized Binary Images by Border Following.