Image-Stitching-OpenCV
Image-Stitching-OpenCV copied to clipboard
Simple image stitching algorithm based on SIFT, homography, KNN and Ransac in Python and OpenCV
```python import cv2 import numpy as np import sys class Image_Stitching(): def __init__(self) : self.ratio=0.85 self.min_match=10 self.sift=cv2.SIFT_create() self.smoothing_window_size=800 def registration(self,img1,img2,img3): kp1, des1 = self.sift.detectAndCompute(img1, None) kp2, des2 = self.sift.detectAndCompute(img2, None)...
“you're welcome to read image_stitching.pdf” where i can get the pdf
License
Please, kindly provide a license to give us a legal statement to use your code, Sir.
python Image_Stitching.py [image1.jpg] [image2.jpg] Traceback (most recent call last): File "Image_Stitching.py", line 78, in main(sys.argv[1],sys.argv[2]) File "Image_Stitching.py", line 74, in main final=Image_Stitching().blending(img1,img2) File "Image_Stitching.py", line 9, in __init__ self.sift=cv2.xfeatures2d.SIFT_create() AttributeError:...
Hi; My images can not make mask on this line can you help me please. `--------------------------------------------------------------------------- ValueError Traceback (most recent call last) in 7 if __name__ == '__main__': 8 try:...
``` Traceback (most recent call last): File "d:\Image-Stitching-OpenCV\Image_Stitching.py", line 92, in main(imageA,imageB) File "d:\Image-Stitching-OpenCV\Image_Stitching.py", line 74, in main final=Image_Stitching().blending(imageA,imageB) File "d:\Image-Stitching-OpenCV\Image_Stitching.py", line 51, in blending H = self.registration(img1,img2) File "d:\Image-Stitching-OpenCV\Image_Stitching.py",...
Sorry for saying in a rude way, as i know, OpenCV already has implement named Stitcher,which can realize image stitching quicker and better,maybe u can know this?
I know that is not really the point of the script, but since I used it modified for a real-time application I wanted to share this: In lines 67 and...