Skip to content

Commit d61c613

Browse files
committed
release the right cap also
1 parent 927ce03 commit d61c613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

instrumented/dual_camera_naive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def show_camera():
7676
if keyCode == 27:
7777
break
7878
left_cap.release()
79+
right_cap.release()
7980
cv2.destroyAllWindows()
8081
else:
8182
print("Unable to open camera")

0 commit comments

Comments
 (0)