Skip to content

Commit

Permalink
Merge f77b146 into 3c5bd83
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-Fran authored May 31, 2023
2 parents 3c5bd83 + f77b146 commit fe8f6f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/gui/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ def run(self):
num = self.num if self.num < self.total_frames2 \
else self.total_frames2 - 1
img2 = cv2.imread(self.v2[num])
elif isinstance(self.v1, cv2.VideoCapture):
r, img2 = self.v1.read()
elif isinstance(self.v2, cv2.VideoCapture):
r, img2 = self.v2.read()
if not r:
self.v2, self.fps2, self.total_frames2 = self.setVideo(
self.path2, self.fps2)
Expand Down

0 comments on commit fe8f6f5

Please # to comment.