سؤال

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