Added documentation of old Python parameters in cv.DrawContours() (issue #987)

This commit is contained in:
Ilya Lysenkov 2012-04-09 12:03:01 +00:00
parent b79dfaf078
commit 9f20d014c6

View File

@ -194,6 +194,12 @@ Draws contours outlines or filled contours.
:param offset: Optional contour shift parameter. Shift all the drawn contours by the specified :math:`\texttt{offset}=(dx,dy)` .
:param contour: Pointer to the first contour.
:param externalColor: Color of external contours.
:param holeColor: Color of internal contours (holes).
The function draws contour outlines in the image if
:math:`\texttt{thickness} \ge 0` or fills the area bounded by the contours if
:math:`\texttt{thickness}<0` . The example below shows how to retrieve connected components from the binary image and label them: ::