I would like to draw contours thicker on an image on iOS, but I could not see any option in function cv::drawContours(<#InputOutputArray image#>, <#InputArrayOfArrays contours#>, <#int contourIdx#>, <#const Scalar &color#>).

有帮助吗?

解决方案

you just did not see the next argument to drawContours, there is 'thickness' . if you set it to -1, your contour will get filled even.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top