def METHOD_NAME(self, pp: PostprocessedImage, **args):
    """
    This function is called to postprocess the image.
    args contains a dictionary with all values returned by components from ui()
    """
    pass