• Sander Mathijs van Veen's avatar
    Fix Python 2 bindings for findContours · d25770ee
    Sander Mathijs van Veen authored
    The sanity check prevents Python 2 from calling findContours, because the
    Python 2 bindings pass an empty matrix for `_contours`. If `_contours` is not
    empty, the channel and depth check should determine whether the matrix is of
    the correct type and size.
    
    Note: the Python 2 bindings passes a matrix of type `STD_VECTOR_MAT` to
    parameters of the type `OutputArrayOfArrays`.
    d25770ee
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.rst Loading commit data...