BUG: ndarray to Mat conversion with NPY_RELAXED_STRIDES set
Add logic to avoid nonsense strides when dimension size is 1 and NumPy is built with NPY_RELAXED_STRIDES from tripping OpenCV.
Showing
Please
register
or
sign in
to comment
Add logic to avoid nonsense strides when dimension size is 1 and NumPy is built with NPY_RELAXED_STRIDES from tripping OpenCV.