lower dim inside matrix

    Sep 08 2019 | 7:51 am
    Hey guys, Im trying to find a way to reduce dim in order to make pixels bigger and the picture blurry, but only on specific areas of the matrix. kind of like censoring a face or an object. The goal is to find the area with a color tracker and to pixelate it. Thanks :)

    • Sep 09 2019 | 2:55 pm
      you can use jit.submatrix to output only the area of the matrix you want to pixelate (e.g. the face), then to place back into the original matrix use usedstdim 1 dstdimstart and dstdimend attributes. search the forum and the jitter tutorials for examples. post a patch showing what you've tried for more help.
    • Sep 10 2019 | 6:42 pm
      It took a while but I did it! I used usesrcdim - > reduced the dimensions - > put it back on a 320/240 matrix in the right position (same XY but with usedstdim - > and project both the new matrix with the original one Thanks a lot!