Use threshold to remove background around the hand