Vra

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#>).

Was dit nuttig?

Oplossing

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.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top