Skip to content

Commit

Permalink
Can send async frames as-is
Browse files Browse the repository at this point in the history
  • Loading branch information
domstoppable committed Dec 9, 2024
1 parent b9ec114 commit ae5270e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions psychopy_eyetracker_pupil_labs/pupil_labs/neon/eyetracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ def bg_gaze_mapper(host, port, input_queue, output_queue):
async_mapper = AsyncQueueMapper(host, port, input_queue, output_queue)
asyncio.run(async_mapper.run_tasks())


class AsyncQueueMapper:
def __init__(self, host, port, input_queue, output_queue):
self.host = host
Expand Down Expand Up @@ -543,8 +542,7 @@ async def receive_and_queue_scene_data(self, status):
if self.stop_event.is_set():
break

bgr_buffer = frame.bgr_buffer()
self.gaze_mapper.process_scene(bgr_buffer)
self.gaze_mapper.process_scene(frame)

async def receive_and_queue_gaze_data(self, status):
sensor_gaze = status.direct_gaze_sensor()
Expand Down

0 comments on commit ae5270e

Please sign in to comment.