Re:Stitching – A Python package for fast and robust Image St...
by O5vYtytb on Monday August 15, 2022 @11:04AM
(#32470592)
Wondering if anyone has examples/ideas for how to do this with video? I have two cameras (GoPro) that I use to record athletic games on a 20ft tall tripod, and I want to automatically stitch them together for easier analysis of games. I think I can use a tool like this to find the stitching parameters for the first frame and then apply it to all future frames, assuming the camera doesn't move?
[ Parent
| on HN ]
Re:Stitching – A Python package for fast and robust Image St...
by bmh on Monday August 15, 2022 @03:48PM
(#32474455)
Yes, this would definitely work, so long as the two cameras have sufficient overlap. If you were to use OpenCV's stitching code, then you could run the first few phases of that on your initial photo pair, which determine the camera angles, and then save those angles.
Then, for every video frame, you could skip the photo angle computation, and just run the imagine stitching logic. The stitching_detail code is very readable, and quite easy to hack for experimentation.