How to stitch images from UAVs using opencv python with Stitcher class

I was looking for the Stitcher class in OpenCV Python, which will help me stitch images that I collect from UAVs. I followed the method shown in this link How to use the OpenCV Stitcher class with Python? Unfortunately, this causes some errors in OpenCV 3.1 and Python 2.7. I did not find any suitable Opencv documents for this function. Can anyone help me on this. It would be very helpful if someone could explain the stitcher class using python. `import cv2

stitcher = cv2.createStitcher(False)
foo = cv2.imread("Image1")
bar = cv2.imread("Image2")
result = stitcher.stitch((Image1,Image2))

cv2.imshow("stitch_image",result)
+1
source share

No one has answered this question yet.

Source: https://habr.com/ru/post/1652246/


All Articles