Comments (7)
This should only be the case if you are not receiving any positional data. Did the calibration go through, successfully?
Please give a little more information on your setup to help us debug the situation.
Do you track one or two eyes?
Are the values for both zero?
Which version of Pupil Capture/Service are you using?
If possible, please also try the "Blink" Unity demo scene. It does not require you to go through a calibration to see if the communication itself is working properly.
from hmd-eyes.
Thanks response.
I use pupil_v1.2.7_windows_x64 file and windows10
Unity3d 2017.3.0f3
pupil_capture_windows_x64_v1.2.7 and pupil_service_windows_x64_v1.1.2 in pupil_v1.2.7_windows_x64
https://github.com/pupil-labs/pupil/releases
I want two eye track
If I play Calibration scene, open two pupilCapture But they are not same time playing.
If left capture play - right capture is stoped and right capture play - left capture is stoped
And I get data in Connection.cs - InitializeSubscriptionSocket()
topic, norm_pos(one position), confidence, timestamp, base_data..etc
But maked norm_pos key maked "norm_pos_" in PupilTools.cs - UpdateGaze()
I thank stringForEyeID() return null
If norm_pos key set "norm_pos_1" in PupilTools.cs - UpdateGaze()
Change Left Eye in PupilGazeTracker.cs
void OnGUI () { #if !UNITY_WSA if (!isOperatorMonitor) { string str = "Capture Rate=" + FPS; str += "\nLeft Eye:" + PupilData._2D.GetEyeGaze(GazeSource.LeftEye).ToString (); str += "\nRight Eye:" + PupilData._2D.GetEyeGaze(GazeSource.RightEye).ToString (); GUI.TextArea (new Rect (50, 50, 200, 50), str); } #endif }
I think, my problem is how get two eye data and get value stringForEyeID() funtion
from hmd-eyes.
Okay,
from your description it sounds like both eye cameras are set to the same eye ID.
So if one is accessing the ID, the second eye window is blocked.
For now, I would recommend the following:
On a freshly started computer, please open Pupil Capture directly through the executable.
In the main GUI, in the "General Settings" menu on the right, click the "Restart with default settings" button.
Once the GUI window has re-opened, it should also open one eye (ID 0).
Again in the "General Settings" menu, select "Detect eye 1" so that there should now be two windows open.
Check, whether both eye cameras are reacting.
If this is not working, I suspect something is broken hardware-wise.
If it is working fine, start Unity, load the VR project and play the Calibration.
If this is not working, I propose we do a remote session so I can have a look at it.
from hmd-eyes.
Thank you.
Now They are working for unity!!
from hmd-eyes.
Can you describe, what fixed the problem for you?
It might help others avoid it and point us to what should be better documented.
from hmd-eyes.
There were a lot of problems.
First, it seems that communication was not normally done.
When BlinkScene was executed, the Blink detected log was not output normally.
Secondly, there were two pupil_services running, but one was stopped and the other was running alternately.
Third, the value of stringForEyeID () in the UpdateGaze () function in pupilTools.cs is null.
When I check the log, the value of isID is false and it is null.
Now all three of these problems work fine, but ...
I do not know why.
Just log it, check which part is the problem, give Pupil_capture "Restart with default settings" and change PupilGazeTracker's path from pupil_service to pupil_capture.
I hope this process will help those who have experienced the same problems as myself.
from hmd-eyes.
I think the problem originated in the version of Pupil Service that came with the 1.2.7 release.
Once you switched to Pupil Capture, everything seemed to work fine.
There is a known bug with Service 1.2.7 that is fixed in the newest release, but for now I would recommend staying with Pupil Capture.
from hmd-eyes.
Related Issues (20)
- Hololens support on V1.2 HOT 1
- VR add-on for Vive pro cannot be recognized after opening Pupil capture HOT 4
- Receive pupil data from both eyes simultaneously HOT 3
- Accessing gaze data before calibration finishes HOT 1
- NullReferenceException Error with Connection? HOT 2
- Multiple ellipse data for one frame in pupil.pldata HOT 1
- What is the best calibration practice? HOT 2
- Would you consider refactoring as a custom package? HOT 2
- Support for OpenXR eye_gaze_interaction extension on Linux and Windows? HOT 3
- IL2CPP build connection error HOT 1
- Alpha: FormatterNotRegisteredException HOT 2
- alpha - Use color to indicate when the gaze estimate marker is not being updated. HOT 1
- "Diameter" Values HOT 3
- Camera Sensor Dimensions and Specifications
- Alpha/Beta: In gazeVisualizer.cs, updating marker position to hit.point is a misleading representation of gaze accuracy. HOT 3
- README - Fix links to docs.pupil-labs.com HOT 1
- Start File Sources in Capture via notification HOT 17
- HMD_Calibration(_3D) does not drop low-confidence samples HOT 2
- How to make Gaze Visualizer invisible for the HMD-user? HOT 1
- Live recording HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hmd-eyes.