Spaces:
Runtime error
Runtime error
Update image_stitching/stitcher.py
Browse files
image_stitching/stitcher.py
CHANGED
|
@@ -58,9 +58,9 @@ class ImageStitcher:
|
|
| 58 |
homography, _ = cv2.findHomography(matches_src, matches_dst, cv2.RANSAC, 5.0)
|
| 59 |
|
| 60 |
logging.debug('stitching images together')
|
| 61 |
-
print (f"self.result_image Pre:: {self.result_image}")
|
| 62 |
self.result_image = combine_images(image, self.result_image, homography)
|
| 63 |
-
print (f"self.result_image Combine:: {self.result_image}")
|
| 64 |
self.result_image_gray = cv2.cvtColor(self.result_image, cv2.COLOR_RGB2GRAY)
|
| 65 |
|
| 66 |
def image(self):
|
|
|
|
| 58 |
homography, _ = cv2.findHomography(matches_src, matches_dst, cv2.RANSAC, 5.0)
|
| 59 |
|
| 60 |
logging.debug('stitching images together')
|
| 61 |
+
#print (f"self.result_image Pre:: {self.result_image}")
|
| 62 |
self.result_image = combine_images(image, self.result_image, homography)
|
| 63 |
+
#print (f"self.result_image Combine:: {self.result_image}")
|
| 64 |
self.result_image_gray = cv2.cvtColor(self.result_image, cv2.COLOR_RGB2GRAY)
|
| 65 |
|
| 66 |
def image(self):
|