Remove background of scanned foot

Thank you for your answer. It is not clear for me why i should use the boundRec funktion. As is understand, it returs me a rectangle arround each foot. I need the exact contour.

Could be, that i have both contours in the list, but how can i access them to get the extreme points??