Enhancing workplace safety and ergonomics with motion capture systems: Present state and a case study