warpPerspective for mosaic
Hi all! I'm trying to build a panorama from a video using findHomography and warPerspective,but there's a problem. I have to specify a ROI in mosaic image where to paste the result of warpPerspective and the current video frame (am I right?),but these two ROIs are always the same, so the mosaic does not come as it should be. There's a way to calculate automatically the rois where to paste these images?