First time here? Check out the FAQ!
answered 2018-02-12 14:02:44 -0600
Just read doc :
How to copy Mat
There are 2 ways to copy a Mat:
// 1. Clone
let dst = src.clone();
// 2. CopyTo(only entries indicated in the mask are copied)
src.copyTo(dst, mask);