cv.facedetect + exportimage +

Dec 7, 2008 at 2:26am

cv.facedetect + exportimage +


the effect i’m after is similar to a photo mosaic. but i’m interested in calculating the average rgb of a downsampled pixel from a qt object and replacing the pixel with an image. i’m generating images in a directory based on facedetect and attaching average rgb metadata to each image. i want to replace the pixels of a downsampled jit.grab with the closest image from the directory.

thanks in advance!

Dec 7, 2008 at 6:37am

i found [jit.eclipse] to be useful and is actually doing mostly what i need.

the issue now is creating a matrix of images from a directory based on the rgb value of each pixel from the qt.grab. i have the rgb metadata for each file, but the part where i’m stuck is perhaps at a [jit.op] operation to stitch together the images based on the live qt.grab.


Dec 7, 2008 at 7:43am

btw here is my patch for reference

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.