I am trying to stitch hundred drone images to make panorama of a region. I have been using cv2.createStitcher(). However, it cannot find keypoints for more than 15 images. How can I improve my approach to stitch hundred of images? Thank you! Here, I have attached a demo of my attempt
import cv2
image_paths = ['a.jpg','b.jpg','c.jpg','d.jpg','e.jpg']
imgs = []
for i in range(len(image_paths)):
imgs.append(cv2.imread(image_paths[i]))
imgs[i]=cv2.resize(imgs[i],(0,0),fx=0.4,fy=0.4)
stitchy=cv2.createStitcher()
(dummy,output)=stitchy.stitch(imgs)
if dummy != cv2.STITCHER_OK:
print("stitching ain't successful")
else:
print('Your Panorama is ready!!!')
cv2.imwrite("output.png", output)