I want to make app which swap faces in picture. The mat of the picture is picMat, and I want to copy a mat of detected face on picmat, but the function copyTo don't work.
here is the code:
Bitmap faceBitmap;
SparseArray faces = faceDetector.detect(frame);
for(int i=0; i
↧