It assumes that the flow is essentially constant in a local neighbourhood of the pixel under consideration, and solves the basic optical flow equations for all the pixels in that neighbourhood, by the least squares criterion.
By combining information from several nearby pixels, the Lucas–Kanade method can often resolve the inherent ambiguity of the optical flow equation. It is also less sensitive to image noise than point-wise methods. On the other hand, since it is a purely local method, it cannot provide flow information in the interior of uniform regions of the image.
- Anaconda 3 (optional)
- Python=3.6
Please check requirement.txt file (all the libraries will be installed automatically)
- Open CMD in translation folder
- Command 1: conda create -n points python=3.6
- Command 2: conda activate points
- Command 3: pip install -r requirements.txt
- Command 4: jupyter notebook –generate-config
- Command 5: jupyter notebook
- Jupyter notebook will open in the browser.
- Click on translation.ipynb file
- Run all the cells using shift+enter keys 10.While running the the main code cell, new window will pop up with an image 11.Select four or user defined points on the image and hit enter 12.Continue running all the cells. 13.Csv files will be saved in the current directory 14.For precise steps, please follow the tutorial_video
Name: Aloukik Aditya (Computer Vision Engineer / Machine learning engineer)
Email: aloukikaditya@gmail.com