
Add logic to avoid nonsense strides when dimension size is 1 and NumPy is built with NPY_RELAXED_STRIDES from tripping OpenCV.
Add logic to avoid nonsense strides when dimension size is 1 and NumPy is built with NPY_RELAXED_STRIDES from tripping OpenCV.