- Main file to run
- Where parameters currently need to be adjusted manually
- The current resolution of OutImage is tentatively 640*640. If the aspect ratio of the top view is wrong, you can manually adjust the length and width of the output image.
- It is used to find the vanishing point of the road (more suitable for photos with road ends). The purpose is to automatically find the top position, but I currently feel that the calculated results are not good, and I am trying new methods.
- is used to find the relative positions of left, right, top, and bottom in world coordinates
- is used to find where each point in the original image that will be converted into a top view is located for coloring.