Jump to content

mattia.barbieri91

Verified Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by mattia.barbieri91

  1. Hi! I found the same problem. I think the trouble is in the gaze origin. Gaze direction is expressed as normalized vector, despite origin in mm. Try to normalize the gaze origin. Attached you can find the script of SRanipal_eye-v2. As you can see at line 291, the gaze origin is converted in meters. Try to normalize gaze origin, or rather, using gaze origin converted in meter rather than millimeters. Hope to be helpful, Thanks, Mattia
  2. HI! I'm using HTC Vive Pro Eye in Unity with SRanipal to track user's ocular movementes. I can save at 120HZ gaze direction from both eyes. Gaze Direction is a vector3 that return data between -1 and 1.Is it possible to covert this value in pixels? Best Regards, Mattia
  3. Hi June and Vojtech, I remember to have your same problem in the past. Basically, I'm working with AR (trough SR Works SDK or adding Zed Mini to Pro Eye), so I don't work to much with VR. The problem may occur, because in the scene ther's is "gaze ray sample v2" prefab. In the gazse ray script there's the same void "Measurment" that you can find in the script that I've sent to you. I think the problem could be related to this. Try to eliminate Gaze ray from the scene and take I look. Best regards, Mattia
  4. Hi! No bother at all, you'are welcome. You can find attached a script to extract SRanipal eye Data. Icustomized a script from this study (https://www.researchgate.net/publication/346058398_Assessing_Saccadic_Eye_Movements_With_Head-Mounted_Display_Virtual_Reality_Technology) If you are using Unity, you can create a scene with: .Main Camera SRanipal Eye Framework (in hierachy put "version" and active both "enable eye" and "enable eye data callback" an empty GO where you can attached as component th script attached. In this script there's a void "Measurmen" which mesure eye data and a "Callback" function that return you data and print them on a txt file. You can find the file of all eye data in your Unity project in the Assets folder. Remeber to delate every time the txt, because if the file already exsist when unity is lauched, unity editor will interrupt itself. You can modify the way to store the data in the way more suitable for your purpose. If you need furter information please don't hesitate in contact me. Best regards, Mattia EyeTracker.cs
  5. Hi everyone! I'm collecting data for my research project using HTC Vive Pro Eye and SRanipal SDK. I would like to know which tools do you suggest to analyze eye tracking data. Basically, I need to obtain a sort of scanpath for each eye or maybe a heat map. At the moment I'm using plotting and scatter in Matlab. It is possible to visualize the result in the file attached. It is important to me to count the number of saccades, and their amplitude. Any idea to achieve this result? Thank you! Best regards, Mattia
  6. Hi @gazeBehavior! I saw your simulation where there is the prefab "gazeSphere". How did you manage to doo it? To move a GameObject according to the Eye? I used the two Vector 3 "gaze_direct_L" and "gaze_direct_R" but it didn't work. Is it possible to take a view of your script? Thank you kindly!
  7. Hi, I'm working with HTC Vive Pro Eye in Unity, with SRanipal and SRworks SDK. Starting from defaul scene Eye Sample stored in ViveSR, I need to replace the "ray" of combined gaze a UI Canvas made inside Unity. Which script a would add to my canvas in ordert that canvas move according to user gaze in the same way that Gaze Ray Sample" in Eye Sample scene? Thank you kindly, Mattia
  8. HI everyone! I'm working with HTC Vive Pro Eye, and i need to extract flow of images from each cameras and conìvert it level of gray. In OpenCV when i need to extract flow of images from laptop's web camera, I use the following code : import cv2 as cv cap = cv.VideoCapture(0) while True: ret, frame = cap.read() gray_video = cv.cvtColor(frame, cv.COLOR_BGR2GRAY) cv.imshow("Frame", gray_video) if cv.waitKey(1) & 0xFF == ord("e"): break cap.release() cv.destroyAllWindows() Is it possible to call, both HTC VIVE Pro Eye cameras? I mean, at the second row of the code at cv.Video.Capture(0) it is possible to acquire video from webcamera. Is it possible to call both cameras? Thank you kindly
  9. Where I can find precise information about this topic in documentation (how to create 2 gaze ray; replace gaze ray with panel of my creation etc)?
  10. Hi everyone, I'm working on a project with HTC Vive Pro Eye in Unity. I'm using both SRanipal and Tobii XR in the same scene, and apparently they work fine. But when I add the script to extract data from eye introduced in this study (https://www.frontiersin.org/articles/10.3389/fpsyt.2020.572938/full), no results appear. It seem Tobii XR Inizializer prevent to extract data and print them. But I need both SDK to work together. Is there any solution to this problem? Thanks all of you!
  11. Hi Everyone! I'm working with HTC Pro Eye in Unity using SRanipal. I would like to know if there'se any chance to change Gaze Ray Sample 2; creating two different gaze rays, for each eyes. And if it possible, it is possible obtain data from each eye? Otherwise, is possible to change Gaze Ray form, with a panel of my creation create inside Unity? I mean, i create using Panels a particular effetc which simulate low vision conditions, and i would like to use this panels, as a replacement of "pink" ray gaze offered in the SDK. Thanks for the help.
×
×
  • Create New...