Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noFill();
- stroke(255,0,0);
- rect( faces[i].x, faces[i].y, cellSizeX0, cellSizeY0);
- cropped = get( faces[i].x, faces[i].y, cellSizeX0, cellSizeY0 );
- // opencv.remember(); // store the actual image in memory
- // cropped = opencv.image(OpenCV.MEMORY);
- // cropped.createImage(cellSizeX0,cellSizeY0,RGB);
- cropped.copy(faces[i].x,faces[i].y,cellSizeX0,cellSizeY0,0,0,cellSizeX0,cellSizeY0);
- //
- // n = n+1;
- cropped.save("final"+ ".jpg");
- // image( opencv.image(OpenCV.MEMORY), 160, 0 );
Add Comment
Please, Sign In to add comment