For both the foreground and background images.
- Resize
- Hough transform to detect lines
- Find intersections
- Merge foreground and background
- Add noise
The horizon of both images should be sufficiently close to each other in order to create a believable image.
The code in this repo is originally inspired by the work performed in this repo, but has been heavily edited in the process. As such we opted not to fork the repository, as the script no longer reflects the goal of the original script.