Remapping Vector3 onto an image
Hello all!
I am using UNITY to create a visual perception experiment. I am using a VIVE Pro eye to capture eye gaze in a scene, in which the subject is show 2d images. I currently capture the raycast collusion as a vector3 loc and then export into a csv.
I need to remap these points back onto the image for analysis of where the subject looked within the image. I am currently taking the csv and spawning a small little red ball at each loc. This method has a couple problems, the largest being accuracy with the perspective of the camera.
I wanted to try a new approach with python but I am hitting a wall. Does anyone have suggestions for how I can take a vector3 loc and convert it into something the opencv can use for it drawing tools? or if there is a way to run all of this in UNITY without the camera issues.
Thank you!
Your answer
Follow this Question
Related Questions
Enabling Python in Unity 2 Answers
Is Python 2.6.2 and Blender 2.49b supported? 1 Answer
How does the CameraSensor in mlagent works? 0 Answers
WebGL build error in 5.6 problem with python script 4 Answers