Learned Structural And Temporal Context For Dynamic 3D Pose Optimization And Tracking