mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
add note about hierarchy in python version
This commit is contained in:
parent
f40707dc68
commit
d773691848
@ -3951,6 +3951,7 @@ hierarchy[i][0] , hierarchy[i][1] , hierarchy[i][2] , and hierarchy[i][3] are se
|
|||||||
in contours of the next and previous contours at the same hierarchical level, the first child
|
in contours of the next and previous contours at the same hierarchical level, the first child
|
||||||
contour and the parent contour, respectively. If for the contour i there are no next, previous,
|
contour and the parent contour, respectively. If for the contour i there are no next, previous,
|
||||||
parent, or nested contours, the corresponding elements of hierarchy[i] will be negative.
|
parent, or nested contours, the corresponding elements of hierarchy[i] will be negative.
|
||||||
|
@note In Python, hierarchy is nested inside a top level array. Use hierarchy[0][i] to access hierarchical elements of i-th contour.
|
||||||
@param mode Contour retrieval mode, see #RetrievalModes
|
@param mode Contour retrieval mode, see #RetrievalModes
|
||||||
@param method Contour approximation method, see #ContourApproximationModes
|
@param method Contour approximation method, see #ContourApproximationModes
|
||||||
@param offset Optional offset by which every contour point is shifted. This is useful if the
|
@param offset Optional offset by which every contour point is shifted. This is useful if the
|
||||||
|
Loading…
Reference in New Issue
Block a user