1 | initial version |
If "camera attached to the front of train" and looks ahead phase correlation will not give appropriate result, thus optical flow is better (but not the only method). If it looks to the side -- phase correlation should be enough.