I am able to detect the person and able to find the coordinates of the person and then i can crop the image. but i want to keep the person and remove all the background/ make it white background / copy the cropped image and paste it in another file in the same coordinates as obtained from the source.

This is my required image:


