toe
1
I am trying to save six unique Mat’s in one array
array<Mat, 6> faceScans;
and access them later in my program.
Simple assignment didn’t work as it just overrode previous data
faceScans[0] = img(ROI);
I was just wondering if there is a better way to do this.
Thanks.
that’s creating a Mat that is a view into another Mat.
perhaps you want to .clone()
toe
3
I am cropping into another Mat. The output of this crop is what I want to store in the array or other data structure.
I was not suggesting an alternative. I was suggesting an additional step.