jerry73204 / rust-cv-convert

Type conversion among popular Rust computer vision libraries
MIT License
43 stars 21 forks source link

Feature-request: update to support latest opencv-rust and check conversion logic. #18

Open ruseinov opened 3 months ago

ruseinov commented 3 months ago

I've stumbled upon a problem converting an ndarray to Mat 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 to Mat that does not hit CV_CN_MAX-related reshape error.

Here's a minimal repro: https://github.com/ruseinov/chan-fail.