A Posture Recognition-Based Fall Detection System for Monitoring an Elderly Person in a Smart Home Environment