We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c5bd83 commit 87622b9Copy full SHA for 87622b9
tools/gui/component.py
@@ -439,8 +439,8 @@ def run(self):
439
num = self.num if self.num < self.total_frames2 \
440
else self.total_frames2 - 1
441
img2 = cv2.imread(self.v2[num])
442
- elif isinstance(self.v1, cv2.VideoCapture):
443
- r, img2 = self.v1.read()
+ elif isinstance(self.v2, cv2.VideoCapture):
+ r, img2 = self.v2.read()
444
if not r:
445
self.v2, self.fps2, self.total_frames2 = self.setVideo(
446
self.path2, self.fps2)
0 commit comments