Three-Dimensional Scene Estimation From Monocular Videos With Applications In Video Analysis