Skip to content

Commit b4c8e96

Browse files
committed
bump glassesTools: add support for Meta Aria 1
1 parent 177ff2a commit b4c8e96

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ downward, which means that (-,-) coordinates are to the left and above of the pl
512512
gazeMapper supports the following eye trackers:
513513
- AdHawk MindLink
514514
- Generic*
515+
- Meta Project Aria Generation 1
515516
- Pupil Core
516517
- Pupil Invisible
517518
- Pupil Neon
@@ -540,6 +541,17 @@ software before they can be imported into gazeMapper. These are:
540541
- For the *Pupil Core*, for best results you may wish to do a scene camera calibration yourself, see https://docs.pupil-labs.com/core/software/pupil-capture/#camera-intrinsics-estimation.
541542
If you do not do so, a generic calibration will be used by Pupil Capture during data recording, by Pupil Player during data
542543
analysis and by the glassesTools processing functions, which may result in incorrect accuracy values.
544+
- *Meta Project Aria Generation 1*:
545+
- First, open a recording in Aria Studio on the computer.
546+
- In Aria Studio, request a MPS run for eye gaze (if you haven't already done so), and wait for it to complete successfully.
547+
- Open the [`meta_aria_gen1_exporter.py`](https://github.com/dcnieho/glassesTools/tree/master/tools/meta_aria_gen1_exporter.py) script
548+
provided in glassesTools and set the variable `vrs_file` to the full path to the recording's `.vrs` file. By default, it is assumed
549+
that the recording's `.vrs` file and the MPS results are in the same folder and have the default names used by Aria Studio, e.g.
550+
`some_folder/recording.vrs` and `somefolder/mps_recording_vrs`. If the MPS results are located elsewhere, you can provide the
551+
path to them using the `mps_folder` variable (optional).
552+
- Run the script (ensure you have the right packages installed, see the comment atop the script). An export of the recording will
553+
be made in a format that can be imported by gazeMapper and by default stored in the folder `somefolder/export_recording`. If you
554+
wish to use another export folder, set the variable `output_folder` (optional).
543555
- *SMI ETG*: For SMI ETG recordings, access to BeGaze is required and the following steps should be performed:
544556
- **NB**: Note that it is critical that a [`SYNC_ET_TO_CAM` action](#actions) is performed for SMI ETG recordings. This is required because the gaze timestamps in the export file created below have an unknown zero that is not related to the scene video clock, and no info about offset between these clocks is available. The gaze signal and video feed have to be manually aligned (synchronized).
545557
- Export gaze data: `Export` -> `Legacy: Export Raw Data to File`.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
glassesTools[GUI]~=1.18.1 # pulls in various other dependencies such as imgui_bundle, matplotlib, numpy, opencv, pandas, polars
1+
glassesTools[GUI]~=1.19.0 # pulls in various other dependencies such as imgui_bundle, matplotlib, numpy, opencv, pandas, polars
22
typeguard
33
uvloop ; sys_platform != "win32"
44
pyobjc-framework-Cocoa ; sys_platform == "darwin"

0 commit comments

Comments
 (0)