Replies: 1 comment 7 replies
-
|
You need to use the |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The error
In [16]: imgs = ['1.jpg','2.jpg','3.jpg']
In [17]: stitcher = stitching.Stitcher()
In [18]: panorama = stitcher.stitch(["img1.jpg", "img2.jpg", "img3.jpg"])
StitchingError Traceback (most recent call last)
in
----> 1 panorama = stitcher.stitch(["img1.jpg", "img2.jpg", "img3.jpg"])
/usr/local/lib/python3.10/dist-packages/stitching/stitcher.py in stitch(self, img_names)
92 imgs, features, matches = self.subset(imgs, features, matches)
93 cameras = self.estimate_camera_parameters(features, matches)
---> 94 cameras = self.refine_camera_parameters(features, matches, cameras)
95 cameras = self.perform_wave_correction(cameras)
96 self.estimate_scale(cameras)
/usr/local/lib/python3.10/dist-packages/stitching/stitcher.py in refine_camera_parameters(self, features, matches, cameras)
145
146 def refine_camera_parameters(self, features, matches, cameras):
--> 147 return self.camera_adjuster.adjust(features, matches, cameras)
148
149 def perform_wave_correction(self, cameras):
/usr/local/lib/python3.10/dist-packages/stitching/camera_adjuster.py in adjust(self, features, pairwise_matches, estimated_cameras)
47 b, cameras = self.adjuster.apply(features, pairwise_matches, estimated_cameras)
48 if not b:
---> 49 raise StitchingError("Camera parameters adjusting failed.")
50
51 return cameras
StitchingError: Camera parameters adjusting failed.
The 1.jpg 2.jpg 3.jpg is the three screenshot
I want to stitch together these three cell phone screenshots into one picture
But it the stitching return me the error above
Please help me
Beta Was this translation helpful? Give feedback.
All reactions