OpenCV ROI (Rage Of Interest) Save image
in
Contributed Library Questions
•
8 months ago
I want to do something like : After detecting a face ,copy the specific region to another area.
I was trying something like this..
opencv.ROI( faces[i].x, faces[i].y, faces[i].width, faces[i].height ); / /Specify the Region Of Interest
opencv.remember(); // Save it to memory
image( opencv.image(OpenCV.MEMORY), 329, 0 ); // display the image to another area
But it displays the whole image not only the face....
I was trying something like this..
opencv.ROI( faces[i].x, faces[i].y, faces[i].width, faces[i].height ); / /Specify the Region Of Interest
opencv.remember(); // Save it to memory
image( opencv.image(OpenCV.MEMORY), 329, 0 ); // display the image to another area
But it displays the whole image not only the face....
1