Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

it's not very difficult. assuming you get Rect for each face from the detection:

Mat roi = image.submat(rect);
roi.setTo(Scalar.all(0));