3-dimensional tracking of moving obejects