Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stitch two real time videos together? Where are the changes supposed to be done? #8

Open
snehdpat opened this issue Dec 15, 2023 · 0 comments

Comments

@snehdpat
Copy link

class VideoStitcher:
def init(self, left_video_in_path, right_video_in_path, video_out_path, video_out_width=800, display=False):
# Initialize arguments
self.left_video_in_path = left_video_in_path
self.right_video_in_path = right_video_in_path

self.video_out_path = video_out_path
self.video_out_width = video_out_width
self.display = display

    # Initialize the saved homography matrix
    self.saved_homo_matrix = None

and

def run(self):
# Set up video capture
left_video = cv2.VideoCapture(self.left_video_in_path)
right_video = cv2.VideoCapture(self.right_video_in_path
)

I am trying to implement with the changes marked in bold part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant