Skip to content

[FEATURE] post-hoc offset correction #22

Description

@qian-chu

Feature Description

Perform post-hoc offset correction to improve gaze/fixation accuracy if not already done during acquisition (https://docs.pupil-labs.com/neon/data-collection/offset-correction/) or on Pupil Cloud (https://docs.pupil-labs.com/neon/pupil-cloud/offset-correction/).

Proposed Solution

  1. Recording.get_offset()

Launches an interactive window (with OpenCV backend?) that allows users to play and pause scene video with gaze simultaneously plotted. Users can click on the video to select where the gaze is supposed to be in one frame, and after accepting, the function returns an offset vector.

  1. Recording.correct_offset(offset) (internally calls Stream.correct_offset(offset) and Events.correct_offset(offset))

Apply the estimated offset to gaze and fixations. Look for gaze x [px], gaze y [px], fixation x [px], fixation x [px] columns of the Stream/Events instance and apply the offset correction.

Metadata

Metadata

Assignees

Labels

new featureNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions