Skip to content

Commit

Permalink
Merge pull request #23 from NativeSensors/main
Browse files Browse the repository at this point in the history
Update of develop
  • Loading branch information
PeterWaIIace authored Jul 17, 2024
2 parents 8d9b841 + b276d45 commit 7475108
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ screen_height= 500
# Process each frame
while true:
ret, frame = cap.read()
event, cevent = gestures.step(frame, calibrate, screen_width, screen_height)
event, cevent = gestures.step(frame,
calibrate,
screen_width,
screen_height,
context="my_context")

cursor_x, cursor_y = event.point[0], event.point[1]
# calibration_radius: radius for data collection during calibration
Expand Down

0 comments on commit 7475108

Please sign in to comment.