ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

What is the best way to convert the opencv mat to the ndarray Array4?

Open yuanyan3060 opened this issue 2 years ago • 1 comments

yuanyan3060 avatar Jul 23 '23 16:07 yuanyan3060

I do not know about the "best" way and I do not have the time to test it, but a quick search returns

  • https://github.com/twistedfall/opencv-rust/issues/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.

nilgoyette avatar Jul 23 '23 18:07 nilgoyette