Remove background of scanned foot

just saying, findContours expects white things on black bg,
seems you got it the opposite way