File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ def run(self):
36
36
self .pixel_data = cv2 .resize (frame ['pixel_data' ], self .dim ,
37
37
interpolation = cv2 .INTER_AREA )
38
38
# 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)
41
41
42
42
self .append_output (f'Camera: { self .cam .name } \t Frame Rate: { fps :5.1f} '
43
43
f' Frames: { frame_count :3} Returned Count: { cnt :3} ' )
@@ -93,7 +93,7 @@ def main():
93
93
print ('To exit, close any image window, or press any key while an image window focused...' )
94
94
close = False
95
95
while not close :
96
- for c , camera_name in enumerate ( camera_names ) :
96
+ for camera_name in camera_names :
97
97
if cv2 .getWindowProperty (camera_name , cv2 .WND_PROP_VISIBLE ) < 1 :
98
98
close = True
99
99
break
You can’t perform that action at this time.
0 commit comments