March 2018
Beginner to intermediate
306 pages
9h 54m
English
You need to complete the following steps:
import cv2import numpy as np
images = []images.append(cv2.imread('../data/panorama/0.jpg', cv2.IMREAD_COLOR))images.append(cv2.imread('../data/panorama/1.jpg', cv2.IMREAD_COLOR))
stitcher = cv2.createStitcher()ret, pano = stitcher.stitch(images)if ret == cv2.STITCHER_OK: cv2.imshow('panorama', pano) cv2.waitKey() cv2.destroyAllWindows()else: print('Error during stiching')