diff_segmentation add_image bug solved

Signed-off-by: jayrambhia <jayrambhia777@gmail.com>