Open ruseinov opened 3 months ago
I've stumbled upon a problem converting an ndarray to Mat due to the number of channels.
ndarray
Mat
Here's a detailed description with examples in comments: https://github.com/twistedfall/opencv-rust/issues/588.
It would be really nice if this library supported a smart conversion of ndarray to Mat that does not hit CV_CN_MAX-related reshape error.
CV_CN_MAX
Here's a minimal repro: https://github.com/ruseinov/chan-fail.
I've stumbled upon a problem converting an
ndarray
toMat
due to the number of channels.Here's a detailed description with examples in comments: https://github.com/twistedfall/opencv-rust/issues/588.
It would be really nice if this library supported a smart conversion of
ndarray
toMat
that does not hitCV_CN_MAX
-related reshape error.Here's a minimal repro: https://github.com/ruseinov/chan-fail.