def METHOD_NAME():
    h, w = img.shape[:2]
    datasample = generate_datasample(h, w)
    output_file = NamedTemporaryFile(suffix='.jpg').name
    task_processor.visualize(
        img, datasample, output_file, show_result=False, window_name='test')