What is the best way to convert the opencv mat to the ndarray Array4?
yuanyan3060 opened this issue · comments
I do not know about the "best" way and I do not have the time to test it, but a quick search returns
- twistedfall/opencv-rust#267
- https://github.com/jerry73204/rust-cv-convert/blob/master/cv-convert/src/with_opencv_ndarray.rs
- https://blog.devgenius.io/rust-and-opencv-bb0467bf35ff
You're free to test it.