pub fn draw_polylines(
image: &mut Tensor,
points: &[(i32, i32)],
closed: bool,
color: [f32; 3],
thickness: usize,
) -> Result<(), ImgProcError>Expand description
Draw polylines on a u8 image.
Draw connected line segments on a [H, W, 3] image tensor.
points is a list of (x, y) coordinates. If closed is true,
the last point connects back to the first.