Home Python OpenCv cv2 equivalent for CV_FILLED
Reply: 0

Python OpenCv cv2 equivalent for CV_FILLED

user433 Published in June 20, 2018, 12:12 am

This works as expected:

cv2.rectangle(image, pt1, pt2, color, thickness=cv2.cv.CV_FILLED)

But I have not been able to find the equivalent constant in the cv2 interface. I know this is simply some negative value (from the documentation), but I like the readability of the constant in the code and would like to write the equivalent function in pure cv2.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.473614 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO