Image-based gender estimation from body and face across distances