1. A method comprising: classifying a motion status of a moving body by determining, by at least one processor and a camera, local motion vectors from pairs of successive video frames captured by the camera, wherein the camera is attached to the moving body, wherein, the classification is further optimized by reducing a dimensionality of a feature space by seeking a linear projection that maximizes a ratio of between-class variance to within-class variance.