Skip to content

Commit

Permalink
fixing center sound issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dkashkett committed Aug 13, 2021
1 parent a2da0e6 commit 58ebded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eye_commander/image_capture/image_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def gather_data(self, directions:list):
if cv2.waitKey(1) & 0xFF == ord('n'):
# end demo when ESC key is entered

for direction in directions:
if direction != 'center':
for ind, direction in enumerate(directions):
if ind != 0:
sounds.play_tone()
while self.camera.isOpened():

Expand Down

0 comments on commit 58ebded

Please sign in to comment.