Reload registration from file when image have different resolution #203
-
Hi I have followed the discussion on how to do video stitching with great success. Thanks! Now I'm trying to store registration data in "cameras" tuple. This can be done but, gives me some other issues which I need a little guidance for. Naive as I am I initially thought I could use Pickle to store the entire "stitcher" object, but it gave me an error.
But NOT for:
The problem is when I restart my program and let's say images are too dark to make the first successful stitch, then camera registration reload won't make stitcher work. Of course I could get around this by also storing the "good" images via my "store_registration()" function. Further, I have found if I do a "load_registration()", when images/cameras are another resolution (same w/h ration). I can reuse the data from "self.cameras". This is extremely good! Here comes the question: Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Can you share your implementations of During our research we also pickled the cameras and it worked. |
Beta Was this translation helpful? Give feedback.
-
For whoever like to store/reload registration data (Homographic), these function can be used: Store registration data:
Reload registration data:
|
Beta Was this translation helpful? Give feedback.
For whoever like to store/reload registration data (Homographic), these function can be used:
Store registration data: