-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hello.
First of all, thank you for publishing your panorama source code. It was woderful and it was very helpful.
I am having a problem with this part:
#draw matches
img=features.drawMatches(list_images[0],k0,list_images[1],k1,mat,matMask)
plt.figure(figsize=(8,8))
plt.imshow(convertResult(img))
I was just trying your code first thus, I still haven't touched any part on it. However, I am receiving this error:
error: OpenCV(4.7.0) [D:\a\opencv-python\opencv-python\opencv\modules\features2d\src\draw.cpp:228](file:///D:/a/opencv-python/opencv-python/opencv/modules/features2d/src/draw.cpp:228): error: (-201:Incorrect size of input array) matchesMask must have the same size as matches1to2 in function 'cv::drawMatches'
I tried searching the solution but most of them are using C++ and not Python. Can you help me with this problem please? Greatly appreciated. Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels