- Python 3
- python-opencv-contrib <= 4.2.1.16
SIFT is no longer available in opencv > 3.4.2.16, you should choose older versions of opencv-python and opencv-contrib-python, the issue can be solved by using the following command lines:
python -m pip install opencv-python==3.4.2.16
python -m pip install opencv-contrib-python==3.4.2.16
Or just execute:
python -m pip install -r requirements.txt
The application can be run by executing:
python panorama.py "left_image_path" "right_image_path"
Example:
python panorama.py images/left.jpg images/right.jpg
The application can be run by executing:
python multi_image_pano.py --images "folder-containing-images-path" --output "output-file"
Example:
python multi_image_pano.py --images images/3_images --output 3_img_pano.jpg
- Inputs: Left and right images
- Output:
- Inputs: 3 images
- Output:
- https://github.com/linrl3/Image-Stitching-OpenCV
- https://www.pyimagesearch.com/2018/12/17/image-stitching-with-opencv-and-python/
- https://medium.com/pylessons/image-stitching-with-opencv-and-python-1ebd9e0a6d78
Nov. 2019
Tran Le Anh