Skip to content

Commit 210f728

Browse files
committed
Cosmetic fixes in multi_camera.py to pass quality checks
1 parent 5140755 commit 210f728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/multi_camera.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def run(self):
3636
self.pixel_data = cv2.resize(frame['pixel_data'], self.dim,
3737
interpolation=cv2.INTER_AREA)
3838
# Cannot init windows from non-GUI threads
39-
#cv2.imshow(self.cam.name, self.pixel_data)
40-
#cv2.waitKey(10)
39+
# cv2.imshow(self.cam.name, self.pixel_data)
40+
# cv2.waitKey(10)
4141

4242
self.append_output(f'Camera: {self.cam.name}\tFrame Rate: {fps:5.1f}'
4343
f' Frames: {frame_count:3} Returned Count: {cnt:3}')
@@ -93,7 +93,7 @@ def main():
9393
print('To exit, close any image window, or press any key while an image window focused...')
9494
close = False
9595
while not close:
96-
for c, camera_name in enumerate(camera_names):
96+
for camera_name in camera_names:
9797
if cv2.getWindowProperty(camera_name, cv2.WND_PROP_VISIBLE) < 1:
9898
close = True
9999
break

0 commit comments

Comments
 (0)