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
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.
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.
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
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.
Recording.correct_offset(offset)(internally callsStream.correct_offset(offset)andEvents.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.