Fusion of wearable and visual sensors for human motion analysis