Using the opencv stitcher module to stitch blurry images

asked 2018-07-24 12:59:41 -0500

as11 gravatar image

I am using python 3.5 and opencv 3.4.1.

I have a set of 19 images that I need to stitch. They are blurry and the stitching module is unable to stitch them. I have read this post, but am wondering if I can find a way to stitch. I would appreciate some specific suggestions and solutions. I want to stitch these images.

I have tried changing the match_conf as recommended by this post. How would I edit this as the source code states that it is a flag? I have tried using the line below to change the match_conf to 0.1, but it does not work and I get the error below.

stitcher = cv2.createStitcher(False) 
stitcher.setFeaturesMatcher(detail = BestOf2NearestMatcher(false, 0.1))
result = np.empty(shape=[2048, 2048])
ret, result = stitcher.stitch(imgs, result)

'cv2.Stitcher' object has no attribute 'setFeaturesMatcher'

edit retag flag offensive close merge delete