Contour functions.
More...
Contour functions.
- Author
- tody
- Date
- 2015/07/31
def inversetoon.cv.contour.closingFromCV |
( |
|
hierarchy | ) |
|
True if the contour is closed.
- Parameters
-
hierarchy | hierarchy data from cv2.findContours |
def inversetoon.cv.contour.contourMask |
( |
|
contour, |
|
|
|
height, |
|
|
|
width, |
|
|
|
linewidth = 5 |
|
) |
| |
def inversetoon.cv.contour.drawContours |
( |
|
S_8U, |
|
|
|
contour, |
|
|
|
color = (255, 255 , |
|
|
|
linewidth = 5 |
|
) |
| |
Draw Contour data with OpenCV.
def inversetoon.cv.contour.findContours |
( |
|
I_8U, |
|
|
|
t |
|
) |
| |
Obtain Contour data with OpenCV.
def inversetoon.cv.contour.segmentsFromCV |
( |
|
cv_segments | ) |
|
Convert OpenCV segments data into list of numpy array.
- Parameters
-
cv_segments | segments data from cv2.findContours |