Skip to content

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

@snehdpat

Description

@snehdpat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions