Or using opencv-contrib-python since some none-free features are not avilable
pip install opencv-contrib-python==3.4.2.17 --force-reinstall
|_ main.py
|_Step_By_Step.ipynb
|_ utils.py
|_ features.py
|_ stitch.py
|
|_ data - |
| |_ myhouse
| | |- 001.jpg
| | |- 002.jpg
| |_ BK
| | |- H1.jpg
| | |- H2.jpg
| | |- H3.jpg
| |.....etc.....
|_result -|
| |- myhouse.jpg
| |- BK.jpg
| |.....etc.....
`python main.py -i <input dir> -o <output dir> -r 1 `
`python main.py -i <input dir> -o <output dir> `
![](/shadowzhougit/Panorama/raw/master/result/myhouse.jpg)
Stitching using BK example
![](/shadowzhougit/Panorama/raw/master/result/BK.jpg)
Stitching using city example
![](/shadowzhougit/Panorama/raw/master/result/city.jpg)
Stitching using parking lot example
![](/shadowzhougit/Panorama/raw/master/result/parkinglot.jpg)
Stitching using building example
![](/shadowzhougit/Panorama/raw/master/result/Building.jpg)
[1] https://www.mathworks.com/help/vision/examples/feature-based-panoramic-image-stitching.html
[2] https://www.pyimagesearch.com/2016/01/11/opencv-panorama-stitching/
[3] http://ppwwyyxx.com/2016/How-to-Write-a-Panorama-Stitcher/