shencaifeiy Posted May 13 Share Posted May 13 在Unity中进行HTC VIVE pro2 的 眼动追踪,并保存眼动追踪数据及眼动追踪轨迹时所需要的一些脚本 Link to comment Share on other sites More sharing options...
Tony PH Lin Posted May 13 Share Posted May 13 Hi @shencaifeiy, Since we encourage all developers use OpenXR as recommended SDK for cross-platform purpose, here is the tutorial for reference. https://developer.vive.com/resources/openxr/unity/tutorials/getting-the-data-of-eye-gaze/ Thanks. Link to comment Share on other sites More sharing options...
shencaifeiy Posted May 13 Author Share Posted May 13 有没有可以依据的脚本代码呢 Link to comment Share on other sites More sharing options...
shencaifeiy Posted May 13 Author Share Posted May 13 怎样使用Eye Gaze Interaction配置文件,给的动图不知道是从哪里进的, Link to comment Share on other sites More sharing options...
shencaifeiy Posted May 13 Author Share Posted May 13 这张图片是怎么进行的 Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted May 13 Share Posted May 13 Hi @shencaifeiy, The path is just right above the gif image. To use the Eye Gaze Interaction profile, add the Eye Gaze Interaction profile in Edit > Project Setting > XR Plug-In Management > OpenXR Edit is from the toolbar in Unity Editor. 25 minutes ago, shencaifeiy said: 这张图片是怎么进行的 Use the feature through an action map Link to comment Share on other sites More sharing options...
shencaifeiy Posted May 13 Author Share Posted May 13 配置文件这一步的下面,数据那的步骤 Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted May 13 Share Posted May 13 You can try our sample first. Go to Window > Package Manager, Download VIVE OpenXR Samples. You will find ActionMap folder under Assets\Samples\VIVE OpenXR Plugin\2.2.0\VIVE OpenXR Samples\Samples\Commons\ActionMap path. Open InputActions.inputactions then you will see something like the gif image. You can follow the steps to create new action "eyePose". 1 Link to comment Share on other sites More sharing options...
shencaifeiy Posted May 15 Author Share Posted May 15 我想问一下之后的数据从哪里可以导出呢 Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted May 15 Share Posted May 15 Hi @shencaifeiy, It depends on how you want to collect your data. If you print the data as logs, you could collect your data by using "adb logcat > filename". If you would like to write into files such as csv, you just pull your files from the headset. You could refer to below topic for reference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now