Vision-based ergonomic assessment through automated pose detection