Skip to content
Snippets Groups Projects
Commit fd73ecb3 authored by shreyasb's avatar shreyasb
Browse files

PC changes

parent c14fca2e
Branches
No related tags found
No related merge requests found
background.jpg

414 KiB | W: | H:

background.jpg

515 KiB | W: | H:

background.jpg
background.jpg
background.jpg
background.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -33,7 +33,7 @@ def main():
exit(1)
camera_rate = 30
num_apriltags = 15 # Number of apriltags in the background image
num_apriltags = 11 # Number of apriltags in the background image
test_time = 60
cap = cv2.VideoCapture(0)
......@@ -202,10 +202,10 @@ def main():
gaze_screen = 1
elif gaze_mapped[0] > s2_min_x and gaze_mapped[1] > s2_min_y and gaze_mapped[0] < s2_max_x and gaze_mapped[1] < s2_max_y: # and gaze_mapped[1] > 180:
# LOOKING AT SCREEN2 ######
print("Looking at screen 2", end='\r')
gaze_screen = 2
# elif gaze_mapped[0] > s2_min_x and gaze_mapped[1] > s2_min_y and gaze_mapped[0] < s2_max_x and gaze_mapped[1] < s2_max_y: # and gaze_mapped[1] > 180:
# # LOOKING AT SCREEN2 ######
# print("Looking at screen 2", end='\r')
# gaze_screen = 2
elif gaze_mapped[0] > s3_min_x and gaze_mapped[1] > s3_min_y and gaze_mapped[0] < s3_max_x and gaze_mapped[1] < s3_max_y:
# LOOKING AT SCREEN 3 ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment