public Bitmap OnFrameAvailable(Bitmap bitmap) { if (shouldBlur) { return(blur.BlurImage(bitmap)); } return(bitmap); }
public Bitmap OnFrameAvailable(Bitmap bitmap) { //THIS MUST BE CALLED GC.Collect(); if (shouldBlur) { return(blur.BlurImage(bitmap)); } return(bitmap); }