First time here? Check out the FAQ!
answered 2020-04-29 06:52:57 -0600
please take a look at the docs
contours is a List<MatOfPoint> and MatOfPoint has a toList() function
List<MatOfPoint>
MatOfPoint
toList()