By: Pavan Kumar
OpenCV and Python program to stitch two input images.
- Use the command
python stitch_images.py <FirstImage> <SecondImage>
- Output images will be written inside the folder 'results'
The code was modified to make the program able to run.
In the new version, OpenCV has integrated algorithms such as SIFT into the xfeatures2d module.
# Initialize SIFT
# sift = cv2.SIFT()
sift=cv2.xfeatures2d.SIFT_create()
print('Error: Not enough matches')
$ python stitch_images.py images/01_suburbA.jpg images/01_suburbB.jpg