πŸ‘ core


user-6151db 01 May, 2017, 03:50:13

Hi

user-6151db 01 May, 2017, 03:50:27

Where is your office?

wrp 01 May, 2017, 03:51:11

Hi @user-6151db - could you please send an email to jobs@user-64de47-labs.com if you are interested along with your CV and/or link to your github for review

wrp 01 May, 2017, 03:53:06

the BKK office is a satellite office (smaller team here in BKK than in BER) - we are located on Soi Phrom Chit - just moved offices πŸ™‚

user-6151db 01 May, 2017, 03:54:09

I am interested in your job, but my skills right now absolutely not fit to your company for sure. I used to self-study ML and looking forward to apply it to image processing

wrp 01 May, 2017, 03:54:41

@user-6151db - send me a PM and we can discuss further

user-ed537d 01 May, 2017, 19:48:54

is ther eanyway to set the file directory via pupil remote when sending the record command?

user-ed537d 01 May, 2017, 19:49:21

there anyway*

papr 01 May, 2017, 19:50:46

No, only the name of the recording. But you could send a start_recording notification which includes the recording directory

papr 01 May, 2017, 19:52:33

I am not on my computer to look up the details for the notification, unfortunately. You can find them in recorder.py

user-ed537d 01 May, 2017, 19:56:04

i see how you send a notification but where would i put the directory

papr 01 May, 2017, 20:01:53

I just had a look at the code. Setting the recording directory via notification is not supported right now. Please open an issue for this missing feature.

user-ed537d 01 May, 2017, 20:02:25

Yeah i keep getting...Sent command {notify.recording.should_start} and received Unknown command

user-ed537d 01 May, 2017, 20:02:45

I have a matlab script that can send commands to python

user-ed537d 01 May, 2017, 20:02:54

i will upload to my fork later tonight or this week

user-ed537d 01 May, 2017, 20:05:32

opened an issue

mpk 01 May, 2017, 22:12:52

@user-ed537d @papr you should be able to include a / in the session name. This will created a subdir.

mpk 01 May, 2017, 22:13:19

This is supported via the notifications and via pupil remote.

user-ed537d 01 May, 2017, 22:13:34

@mpk thank you however I'd like to change the root directory to a network drive...

user-ed537d 01 May, 2017, 22:13:49

would it still work if i just hardcoded it to root

user-ed537d 01 May, 2017, 22:13:53

on the pupil machine

mpk 01 May, 2017, 22:14:52

@user-ed537d you can first set the path_to_recordings to root and then go from there to wherever you want via the sesison name

mpk 01 May, 2017, 22:19:27

actually I just checked if you start the sesison_name with / you will ingore the path_to_recordings and start from root.

mpk 01 May, 2017, 22:19:56

so no need to open a new issue. We just add a bit of docs regarding this nifty trick.

user-ed537d 01 May, 2017, 22:21:01

awesome i gotta try it out

user-ed537d 01 May, 2017, 22:55:42

@mpk i guess a problem with this method is you lose the ability to name the file

mpk 01 May, 2017, 22:57:36

@user-ed537d I m not sure I understand. If I set the session_name to /users/mkassner/test

mpk 01 May, 2017, 22:57:44

I made recordings like this:

mpk 01 May, 2017, 22:57:49

/users/mkassner/test/000

mpk 01 May, 2017, 22:57:52

/users/mkassner/test/001

mpk 01 May, 2017, 22:57:53

...

user-ed537d 01 May, 2017, 22:58:02

yes I think it would be nice to be able to have

user-ed537d 01 May, 2017, 22:58:18

/users/mkassner/test/RunName1

user-ed537d 01 May, 2017, 22:58:21

/users/mkassner/test/RunName2

user-ed537d 01 May, 2017, 22:58:32

rather this is how I would use it

user-ed537d 01 May, 2017, 22:58:42

/users/mkassner/20170501/taskName

mpk 01 May, 2017, 22:58:58

you mean without the 000 001 002 subdir?

user-ed537d 01 May, 2017, 22:59:11

/users/mkassner/20170501/taskName2

user-ed537d 01 May, 2017, 22:59:12

yes

mpk 01 May, 2017, 22:59:56

we do this so we dont have to deal with user input that would trigger an overwrite.

mpk 01 May, 2017, 23:00:26

I mean if you are carefull it will always be:

mpk 01 May, 2017, 23:00:30

/users/mkassner/20170501/task1/000

mpk 01 May, 2017, 23:00:34

/users/mkassner/20170501/task2/000

mpk 01 May, 2017, 23:00:50

and you can in your automation simply deal with the 000 dir

user-ed537d 01 May, 2017, 23:17:30

true...my current issue is im trying to write to a "smb://network/share" and when i send this address it crashes pupil..lol

mpk 01 May, 2017, 23:19:01

hm. This is indeed very tricky. You are asking our app to write to a non-local dir. Even is this worked I would never recommend it, writing to network dirs is potentially slow.

mpk 01 May, 2017, 23:19:22

Are you runnig on linux?

user-ed537d 01 May, 2017, 23:19:33

yeah ubuntu

user-ed537d 01 May, 2017, 23:19:51

yeah i figure but i'd like to give it a shot 😬

mpk 01 May, 2017, 23:19:55

any change to make a new mount point so that you map into the smb dir?

mpk 01 May, 2017, 23:20:15

the app will think you are writing locally.

user-ed537d 01 May, 2017, 23:22:04

i have no idea how to do that lol

user-ed537d 01 May, 2017, 23:22:12

thats what i was actually looking into before i messaged here

mpk 01 May, 2017, 23:23:24

not sure but the first answer from here? https://askubuntu.com/questions/46183/how-to-map-a-network-drive

user-006924 02 May, 2017, 16:47:04

Hi all, I have a question about Pupil Mobile's procedure. It records the session on a mobile app and streams the session via Wi-Fi to a computer real time?

mpk 02 May, 2017, 16:55:02

@user-006924 yes. This is correct. You can do one of both or both at the same time.

user-d00e4f 02 May, 2017, 17:15:48

@mpk do you guys ship just the world camera? I have the pupil headset but the world camera and I want one

wrp 03 May, 2017, 00:13:43

@praneeth we can do that πŸ˜„ . Please make an order for the eye camera upgrade with a note and we can customize the order according to your note. You can use this permalink to make a request: https://pupil-labs.com/cart/?0_product=e120upgrade&0_qty=1

user-78dc8f 03 May, 2017, 09:50:53

Hi all. I'm new to discord. I'm having trouble installing the pupil labs software on windows 10. Any experts out there who might help me debug? Caveat: I'm in India with terrible internet, so apologies if I suddenly disappear πŸ˜‰

wrp 03 May, 2017, 09:51:25

Hi @user-78dc8f - Will from Pupil Labs here

wrp 03 May, 2017, 09:51:41

Could you please re-post the issue here so that others can see the error

user-78dc8f 03 May, 2017, 09:52:39

You bet. I’m trying to install the pupil suite on a PC running Windows 10. I ran the driver installer. It said the drivers were installed successfully, but I don’t see libUSBK in the list of devices.

And then when I try to run pupil_capture.exe, I get an error that

β€œApi-ms-win-crt-math-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.”

wrp 03 May, 2017, 09:53:09

@user-78dc8f - do you have admin rights on your computer?

user-78dc8f 03 May, 2017, 09:53:31

yes

wrp 03 May, 2017, 09:55:13

and you are on a 64 bit machine?

user-78dc8f 03 May, 2017, 09:55:29

Great question. How do I check that?

wrp 03 May, 2017, 09:55:30

with 64 bit Windows 10

user-78dc8f 03 May, 2017, 09:56:13

It's an India machine so i didn't do the install

wrp 03 May, 2017, 09:56:23

right click on the windows icon on bottom left and go to System

wrp 03 May, 2017, 09:56:38

all information about the machine is included there

user-78dc8f 03 May, 2017, 09:56:53

64 bit, x64-based processor

user-78dc8f 03 May, 2017, 09:57:00

windows 8.1 pro

wrp 03 May, 2017, 09:57:49

ooh... windows 8.1 huh

user-78dc8f 03 May, 2017, 09:58:15

guess so

wrp 03 May, 2017, 09:58:15

Please be advised that Pupil is compiled for Windows 10

wrp 03 May, 2017, 09:58:35

it might run on Windows 8 machines if you install the right dependencies like VC++ redistributables

user-78dc8f 03 May, 2017, 09:58:39

well that could be the problem then...damn...

wrp 03 May, 2017, 09:59:26

you could try installing another Visual C++ redistributable - but I don't know which one is required off the top of my head

user-78dc8f 03 May, 2017, 09:59:27

I tried installing the redistributables (the link you sent), but both of them failed to successfully install

user-78dc8f 03 May, 2017, 09:59:56

ok. so I'm looking for Visual C++ redistributable for Windows 8.1?

wrp 03 May, 2017, 09:59:59

Yes, because you are on Windows 8 and not Windows 10

user-78dc8f 03 May, 2017, 10:00:08

will search. thx.

wrp 03 May, 2017, 10:01:22

or VC++ redistrib for VS 2010

wrp 03 May, 2017, 10:02:24

please give that a try and let us know if you have any success

wrp 03 May, 2017, 10:02:51

but a Windows 10 machine would be a better bet if possible - and we can help debug in that case because that is our development target

wrp 03 May, 2017, 10:02:53

πŸ˜„

user-78dc8f 03 May, 2017, 10:03:24

Would you suggest I try to upgrade? Might be more stable in the long run, yes?

user-78dc8f 03 May, 2017, 10:04:05

Or if I get it to run, i should be ok?

wrp 03 May, 2017, 10:04:29

If you have a choice, I would certainly recommend Win 10 for Pupil

user-78dc8f 03 May, 2017, 10:04:54

Ok. Let me see what is possible with the IT folks here.

wrp 03 May, 2017, 10:05:20

but if you do not have a choice, then you may be able to get by with Win8.1 - but we can not provide any concrete support for anything less than Windows v10

user-78dc8f 03 May, 2017, 10:06:03

got it. thanks. I'll see if I can upgrade. If not, will try the link you sent. thanks...

wrp 03 May, 2017, 10:06:18

Great πŸ‘

user-489841 03 May, 2017, 13:48:37

Heyo! Can I ask a question regarding the Unity integration example? πŸ˜„

papr 03 May, 2017, 13:49:21

@user-489841 You can always ask! I am not an expert concerning the unity integration but I might still be able to help. πŸ˜ƒ

user-489841 03 May, 2017, 13:50:54

Awesome! Thanks, @papr ! In calculating pupil orientation, does it take into consideration when the user blinks or otherwise has their eyes closed? If not, how would I go about detecting open eyes?

papr 03 May, 2017, 13:52:43

The Pupil detection algorithm is a best effort detection. This means it will not differentiate between open or closed eyes. Although, the confidence of the pupil position decreases significantly when the subject blinks or closes his/her eyes.

user-489841 03 May, 2017, 13:53:15

So at that point it will be more like a guesstimation?

papr 03 May, 2017, 13:54:27

Yes. Although I really would not rely on that. It is better to ignore low confidence values when you are analysing your data.

user-489841 03 May, 2017, 13:54:39

Because I come from using a few different eye trackers, and they all handle it differently. Some keep the last known position as the actual position and some even outputs zero

user-489841 03 May, 2017, 13:54:47

Okay, perfect

user-489841 03 May, 2017, 13:55:02

That seems like a very good solution. What would you qualify as too low confidence?

papr 03 May, 2017, 13:55:10

Pupil Capture comes also with a Blink Detector plugin. You can subscribe to the blink events over the IPC.

papr 03 May, 2017, 13:55:25

Similar as to how you subscribe to the pupil/gaze positions

papr 03 May, 2017, 13:55:52

I think the default threshold is 0.7.

user-489841 03 May, 2017, 13:58:22

Okay, perfect! Thanks a bunch @papr. Huge help. πŸ˜ƒ

papr 03 May, 2017, 13:58:56

No problem @user-489841 ! Do not hesitate to come back here and to ask more questions.

wrp 03 May, 2017, 13:59:55

[email removed] - we (Pupil Labs) have been working on v2.0 of the unity plugin. You can test it out in the dev branch of https://github.com/pupil-labs/hmd-eyes/tree/dev/unity_integration_calibration

user-489841 03 May, 2017, 14:00:13

.... Awesome! Would love to!

wrp 03 May, 2017, 14:00:30

if you find any issues - please post them πŸ™

user-489841 03 May, 2017, 14:02:45

Actually I do have another issue, with the Pupil Capture software. (Posted this in the community group earlier today) Any chance you could help me with that? 😜

wrp 03 May, 2017, 14:05:02

@user-489841 - Try the dev branch with the latest version of Pupil Service or Pupil Capture. I believe this issue will be resolved there.

wrp 03 May, 2017, 14:05:12

Also @user-489841 - in the future could you post hmd-eyes related questions to the πŸ₯½ core-xr channel πŸ˜„

user-489841 03 May, 2017, 14:06:19

... Already on it! That would be great.

papr 03 May, 2017, 14:13:52

@user-489841 The pupil detection runs in seperate processes -- hence the multipe "Pupil Capture instances." This would be fine if not both processes would try to access the same camera.

papr 03 May, 2017, 14:14:39

I just saw that your cameras have the same name. This might be indeed the issue. Could you try and reinstall the camera drivers?

papr 03 May, 2017, 14:15:59

I do not think that this is an issue related to hmd-eyes

user-489841 03 May, 2017, 14:19:08

I will try that!

wrp 03 May, 2017, 14:21:03

For reference (and for others) Link to Windows camera drivers is here - https://docs.pupil-labs.com/#windows-driver-setup

wrp 03 May, 2017, 14:21:31

I would suggest trying out the dev branch with latest Pupil Capture/Service before re-installing drivers though

user-489841 03 May, 2017, 14:21:56

The project persists even out of unity, so I think the reinstall might be the issue

user-489841 03 May, 2017, 14:22:23

might solve the issue*

user-489841 03 May, 2017, 14:24:00

After reinstalling drivers they are still named the same, @papr

wrp 03 May, 2017, 14:24:55

@user-489841 - can you open device manager and show hidden devices and share a screenshot of device manager

user-489841 03 May, 2017, 14:25:00

Ofc

user-489841 03 May, 2017, 14:25:53

Device manager

Chat image

wrp 03 May, 2017, 14:25:54

@user-489841 - have you tried clearing pupil_capture_settings and starting up v0.9.6?

wrp 03 May, 2017, 14:26:45

@user-489841 - it may be time to do some cleanup - can you manually delete all drivers in libusbK section, restart, and reinstall drivers?

user-489841 03 May, 2017, 14:26:57

Roger wilco

wrp 03 May, 2017, 14:27:14

BTW - are you using Windows 10?

wrp 03 May, 2017, 14:27:17

just want to check

user-489841 03 May, 2017, 14:27:18

Yep!

user-489841 03 May, 2017, 14:27:27

And I'm using 0.9.6

wrp 03 May, 2017, 14:27:27

πŸ‘Œ

wrp 03 May, 2017, 14:29:54

@user-489841 - can you also let me know in a PM the order ID associated with this hardware?

user-489841 03 May, 2017, 14:32:36

@wrp Uninstalled from device manager and Add/Remove programs, rebooted and reinstalled the drivers I downloaded monday. Still same result

wrp 03 May, 2017, 14:33:54

@user-489841 - and drivers in device manager look the same as before in device manager?

user-489841 03 May, 2017, 14:33:55

(Same result as in they are named the same)

user-489841 03 May, 2017, 14:34:02

Sorry, yes

user-489841 03 May, 2017, 14:38:48

Just thought I would try again for the sake of repetition. (Definition of insanity and all that) Still the same. πŸ˜›

wrp 03 May, 2017, 14:39:44

Can we check to make sure the left camera is working. Could you please physically un-plug the jst connector of the right eye camera and re-start Pupil Capture.

wrp 03 May, 2017, 14:40:12

I want to be able to make sure that we know that this is a driver issue and not a hardware issue

user-489841 03 May, 2017, 14:40:19

Ofc

user-489841 03 May, 2017, 14:41:48

Is that even possible on the HTC Vive addon?

user-489841 03 May, 2017, 14:43:43

I can get a picture of the camera in capture

wrp 03 May, 2017, 14:44:26

ok, that's good

wrp 03 May, 2017, 14:44:40

hardware is working, but it is certainly a driver issue (or naming issue in firmware)

wrp 03 May, 2017, 14:45:37

@user-489841 - can you send me an email or PM with the associated order id of this hardware

wrp 03 May, 2017, 14:45:46

or email to [email removed]

wrp 03 May, 2017, 14:46:01

I want to track down the order in the case that we need to do a hardware repair/replacement

user-489841 03 May, 2017, 14:46:55

Sure, of course. I realised something though, it worked at some point. When I first installed it. Hmm..

user-489841 03 May, 2017, 14:47:27

Where they were named differently

wrp 03 May, 2017, 14:48:22

If it was working when you first installed, then my next question would be - how many times did you 're-install' drivers?

user-489841 03 May, 2017, 14:49:13

That is a very good question.

user-489841 03 May, 2017, 14:49:52

When I plug them in without drivers, it installs them correctly named, but as imaging devices

user-489841 03 May, 2017, 14:52:56

And in windows "bluetooth & other devices" they are correctly named.

wrp 03 May, 2017, 14:57:25

@user-489841 - can you start Pupil capture without eye processes and just show the list of cameras in Activate Source

wrp 03 May, 2017, 14:57:58

You should see both eye cameras correctly labeled.

user-489841 03 May, 2017, 14:58:04

Yep

user-489841 03 May, 2017, 14:58:05

I do

wrp 03 May, 2017, 14:58:05

regardless of what is shown in the device manager

wrp 03 May, 2017, 14:58:21

OK - then please assign these to eye0 and eye1 processes

wrp 03 May, 2017, 14:58:32

activate test image in world

wrp 03 May, 2017, 14:58:43

launch eye0 and select id0

wrp 03 May, 2017, 14:58:47

launch eye1 and select id1

user-489841 03 May, 2017, 14:59:01

Eeeh...

user-489841 03 May, 2017, 14:59:07

It's working perfectly.

user-489841 03 May, 2017, 14:59:16

Before I did anything

user-489841 03 May, 2017, 14:59:37

The worst kind of bug.

user-489841 03 May, 2017, 14:59:38

:p

user-489841 03 May, 2017, 14:59:44

Well.. "bug".

user-489841 03 May, 2017, 15:00:31

Beforehand there was an "Unknown" on my list of sources, which is gone now. That could be it

wrp 03 May, 2017, 15:00:31

Sorry for the long journey here. Older versions of our cameras will appear as the same name in libusbK

user-489841 03 May, 2017, 15:01:44

The Unknown comes from my Vive apparently

user-489841 03 May, 2017, 15:02:09

I guess the frontfacing camera?

wrp 03 May, 2017, 15:02:13

The older versions of Pupil Cameras have the same pid but different device name. In Windows this means that the first camera will appear in the device manager by the name of the camera that was first connected to your machine.

user-489841 03 May, 2017, 15:02:27

Ah, right

user-489841 03 May, 2017, 15:03:11

This might mean I won't have a lazy eye in my Unity application anymore. Woot

wrp 03 May, 2017, 15:03:24

But Pupil Capture and Pupil Service will always be able to distinguish our cameras

wrp 03 May, 2017, 15:03:41

So yes the "unknown" in the list could be the Vive front facing camera

wrp 03 May, 2017, 15:04:39

Apologies for the odyssey here - but I guess we can mark this resolved now, yes?

user-489841 03 May, 2017, 15:06:56

Let me just confirm, then by all means let's do that. πŸ˜„

wrp 03 May, 2017, 15:07:04

πŸ™†

user-489841 03 May, 2017, 15:11:21

Okay now Unity is causing the exact same issue as before. Let me just update to the dev branch version and try again.

wrp 03 May, 2017, 15:12:59

@user-489841 are you using Pupil Service or Pupil Capture with the Unity Plugin?

user-489841 03 May, 2017, 15:13:17

Tried both

wrp 03 May, 2017, 15:13:35

I believe that the key here is to start Pupil Capture, select cameras for the eye processes and close pupil capture from world process

wrp 03 May, 2017, 15:13:39

so that your settings are saved

user-489841 03 May, 2017, 15:14:02

I saw that edit

user-489841 03 May, 2017, 15:14:04

πŸ˜‰

user-489841 03 May, 2017, 15:14:22

Joking aside I tried that, to the same result

wrp 03 May, 2017, 15:15:00

😢

user-489841 03 May, 2017, 15:15:03

The new editor gui looks great

user-489841 03 May, 2017, 15:15:06

Gimme a sec

user-489841 03 May, 2017, 15:20:33

@wrp - Seems like the pupil Capture software works fine with the new unity version. πŸ˜„ Have some troubles connecting to the server though, but I haven't really looked around

papr 03 May, 2017, 15:21:04

Can you specify these troubles?

user-489841 03 May, 2017, 15:21:27

Can't connect to the server through localhost.

user-489841 03 May, 2017, 15:21:38

(127.0.0.1:50020)

wrp 03 May, 2017, 15:21:47

I'm AFK now but @papr will take over questions πŸ‘‹

user-489841 03 May, 2017, 15:21:59

Thanks so much, wrp. You were an amazing help

user-489841 03 May, 2017, 15:22:08

Enjoy your freedom!

wrp 03 May, 2017, 15:23:51

Last remark. Did you check the port in Pupil remote in Pupil Capture?

user-489841 03 May, 2017, 15:24:32

The current one is identical to the one in the master branch, so I just guess it would be fine.

user-489841 03 May, 2017, 15:24:37

50020

papr 03 May, 2017, 15:25:19

The reason why wrp asked is that Pupil Remote will open a different port if the system blocks 50020 πŸ˜‰

papr 03 May, 2017, 15:25:59

What is the error message that you get?

user-489841 03 May, 2017, 15:26:03

Does Unity report if it is connected?

user-489841 03 May, 2017, 15:26:08

Or only if it fails?

user-489841 03 May, 2017, 15:26:31

Because I think I might just have been a huge idiot and closed the Pupil Remote addon

user-489841 03 May, 2017, 15:26:43

If that does a different.

user-489841 03 May, 2017, 15:26:45

difference*

papr 03 May, 2017, 15:26:59

Yes, Pupil Remote is required for the unity integration to work

user-489841 03 May, 2017, 15:27:02

Right. πŸ˜›

user-489841 03 May, 2017, 15:27:05

Ignore me!

papr 03 May, 2017, 15:27:10

It is the main entrance point for all communication

user-489841 03 May, 2017, 15:28:06

It seems to be working. Now I just need to figure out how this scene actually is set up and then converting it to VR. But I won't bother you with that. πŸ˜‰

papr 03 May, 2017, 15:28:23

Good luck with that!

user-489841 03 May, 2017, 15:28:29

Thanks a bunch, @papr . Really appreciate it

papr 03 May, 2017, 15:28:46

You are welcome πŸ˜ƒ

user-489841 03 May, 2017, 15:28:50

Have a great day!

papr 03 May, 2017, 15:29:03

Thanks, you too!

wrp 03 May, 2017, 15:32:17

Resolved β˜‘ πŸ˜ƒ

user-78dc8f 03 May, 2017, 17:04:14

Greetings all. Was trouble-shooting with Will earlier and my windows version needed to be updated. Fixed that. I'm running Windows 10 64 bit. I installed the drivers and the install program said success; however, I don't libUSBK in the device manager even though i'm showing hidden files. Throwing caution to the wind, I fired up Pupil Capture. It is now running, but I'm not seeing the images from the head or eye cams. Anyone want to help me debug?

user-ed537d 03 May, 2017, 17:21:50

@user-78dc8f you may have to change the source of the video stream coming into capture

user-78dc8f 03 May, 2017, 17:22:13

I selected USB device

user-ed537d 03 May, 2017, 17:22:21

activate source

user-ed537d 03 May, 2017, 17:22:22

?

user-ed537d 03 May, 2017, 17:22:33

try changing that

user-ed537d 03 May, 2017, 17:22:50

unfortunately i don't have a pupil with me rn so i can't help beyond that

user-78dc8f 03 May, 2017, 17:23:25

Actually, I just restarted, and now it is working. Brilliant.

papr 03 May, 2017, 17:25:49

It is amazing how many things a simple restart can fix 🍾

user-78dc8f 03 May, 2017, 17:26:04

Indeed...

user-78dc8f 03 May, 2017, 17:47:58

Can anyone tell me where I can find the marker tracking plugin in pupil capture? I only see surface tracker (which i think comes after marker tracking?)

papr 03 May, 2017, 17:48:19

the surface tracker includes the marker tracker

papr 03 May, 2017, 17:48:53

or do you refer to the actual implementation in the code repository?

user-78dc8f 03 May, 2017, 17:48:54

ok. I was watching the demo video and it said to open 'marker tracking'

user-41f1bf 03 May, 2017, 17:49:24

Hi, what is the status of the offline calibration?

mpk 03 May, 2017, 17:49:49

@papr can you make a PR of your WIP?

papr 03 May, 2017, 17:50:01

We are very behind on updating our documentation, apoligies for that @user-78dc8f

user-78dc8f 03 May, 2017, 17:50:18

No worries @papr

papr 03 May, 2017, 17:50:34

@mpk I do not know if it is stable right now. Referencing the branch might be more useful

mpk 03 May, 2017, 17:51:01

@papr regarding offline calibraiton. I dont plan to merge it before ready. Just to have it in place.

mpk 03 May, 2017, 17:51:57

@papr did you implement pyre.events()

papr 03 May, 2017, 17:52:04

ok, done. https://github.com/pupil-labs/pupil/pull/715

user-41f1bf 03 May, 2017, 17:52:37

Thank you!

user-78dc8f 04 May, 2017, 18:16:36

Hello pupil community. I was using my pupil mobile setup and I just switched back to USB to test something. Capture is running is ghost mode and I can't seem to get it to detect the world and eye cameras connected to USB. I've set the capture selection to local usb. Not sure what's up. And i've restarted already...

user-78dc8f 04 May, 2017, 18:17:18

I did add the 'capture source' plug in earlier. Could that be causing conflicts? How do I remove a plug in?

papr 04 May, 2017, 20:40:39

There is always a Capture Source active. You can only replace it. One that always works is Fake Source. It displays a static image. @user-78dc8f

papr 04 May, 2017, 20:41:52

If the drivers are installed and the cameras are connected correctly, then they should show under Local USB

user-030e35 05 May, 2017, 13:30:58

Hello all ! I am a beginner in using the eye tracking camera and in informatics in general ... πŸ™ƒ I am running it from the source code, with Mac OS, it works very well, now I would like to have access to the coordinates of the gaze (in order to give it to 2 servomotors), I looked at the docs.pupil-labs.com , "plugin guide" and "Interprocess and Network Communication", but actually I don't really understand what do I have to do for having gaze position, and save it in real time in a folder ... Many thanks is advance !! (ps : pardon my french-english ...)

papr 05 May, 2017, 13:31:40

Dear @user-030e35 , welcome to the community!

papr 05 May, 2017, 13:32:21

Have a look at the pupil helpers, espc. https://github.com/pupil-labs/pupil-helpers/blob/master/pupil_remote/filter_messages.py

papr 05 May, 2017, 13:32:57

if you uncomment line 24, you will be able to receive gaze positions

user-030e35 05 May, 2017, 16:00:19

Dear @papr , thank you very much ! sorry to bother you with a stupid question : where do I have to put it ? in the main.py ? and where ? many thanks in advance !

papr 05 May, 2017, 16:03:11

ah, no, it is a stand-alone script that uses default features in Capture. You simply run it from the Terminal. python filter_messages.py

papr 05 May, 2017, 16:03:42

From there you can send them to your motors or store them to a file.

papr 05 May, 2017, 16:03:51

(this is not part of the script)

user-aa87be 05 May, 2017, 17:14:09

Hi, i just started with pupil-labs source, so i have some getting started question: How can i run the algorithms without pupil-lab hardware?

user-41f1bf 05 May, 2017, 18:02:07

Which algorithms?

user-41f1bf 05 May, 2017, 18:04:13

You can run pupil software in many ways, using video files, using your own DIY hardware for non-comercial applications, for example

user-aa87be 05 May, 2017, 18:05:32

I would like running the algorithms for marker detection.

user-41f1bf 05 May, 2017, 18:06:21

Have you checked the code?

user-41f1bf 05 May, 2017, 18:07:25

You could copy and paste the detector function and explore it with opencv, for example

user-41f1bf 05 May, 2017, 18:08:07

Of course, take a look at the install instructions in the wiki at first

user-41f1bf 05 May, 2017, 18:10:31

So, after installing all dependencies for the algorithm you want, just copy and paste and adapt it for your needs. Remember that the DIY hardware is for non commercial applications only. However, the software is LGPL.

user-aa87be 05 May, 2017, 18:11:44

Yes, i had looked surface_tracker.py, square_marker_detect.py, reference_surface.py. So, do i need first install the drivers for pupilabs ? or only the dependencies? Yes of course, is for research propose.

user-41f1bf 05 May, 2017, 18:14:13

Which drivers?

user-aa87be 05 May, 2017, 18:14:59

https://docs.pupil-labs.com/#windows-driver-setup

user-41f1bf 05 May, 2017, 18:15:11

I think all you need is just follow the install setup in the wiki

user-41f1bf 05 May, 2017, 18:15:48

Sorry, I am on Linux. So I could not help you with windows install steps

user-41f1bf 05 May, 2017, 18:16:37

The windows driver should work with any UVC compliant camera

user-aa87be 05 May, 2017, 18:19:16

Thank you ! i will try it now.

user-41f1bf 05 May, 2017, 18:19:40

You'r welcome!

wrp 08 May, 2017, 09:31:51
user-99e72e 08 May, 2017, 12:27:14

Hi everybody, I am trying the eye tracker on a child's head. Does anybody know if exists a smaller version of the eye tracker?

user-41f1bf 08 May, 2017, 12:39:37

Yes exists!

user-41f1bf 08 May, 2017, 12:41:05

You should contact them using the sales email.

user-99e72e 08 May, 2017, 12:42:09

Ok, thank you!

user-41f1bf 08 May, 2017, 12:51:08

@user-99e72e I think the e-mail is sales@pupil-labs.com

user-41f1bf 08 May, 2017, 12:52:28

You could talk privately with someone from the team also, I guess

user-99e72e 08 May, 2017, 12:52:48

Yes, I sent them an email. I was also wondering if this script https://github.com/pupil-labs/pupil-helpers/blob/master/pupil_remote/filter_gaze_on_surface.py can be optimized for real time applications. I need to catch in real time the user's gaze position.

user-41f1bf 08 May, 2017, 12:53:03

@mpk @wrp

wrp 08 May, 2017, 12:56:02

@user-99e72e email received. And yes, we can supply a child sized frame. Thanks @user-41f1bf for responding πŸ™‚

user-99e72e 08 May, 2017, 12:56:55

Thank you so much @wrp. To supply this smaller version do you need the cranium measures?

wrp 08 May, 2017, 12:57:39

The version we have is for a child around 5 years old

wrp 08 May, 2017, 12:58:01

But should fit 4-8 year olds

user-99e72e 08 May, 2017, 13:01:21

mmm ok. We have already bought a base version of the pupil eye tracker thanks to the university where I am developing this project, so we would like to know eventually, the price of this version.

wrp 08 May, 2017, 13:02:04

Cameras from the adult version are compatible with the child sized version

wrp 08 May, 2017, 13:04:25

So one option is to get a child sized frame with cabling and another option is to get another headset for children. @user-99e72e let's continue the discussion via email if that's ok with you. I'm AFK at the moment but will reply to email in around 12 hours from now.

user-99e72e 08 May, 2017, 13:05:24

Sure, no problem. I will reply to the just received email. Thank you!

wrp 08 May, 2017, 13:05:54

You're welcome @user-99e72e

user-99e72e 08 May, 2017, 14:14:02

Regarding the other question I asked, can you tell me something?

user-41f1bf 08 May, 2017, 14:14:56

Hi can you be more specific about your use case?

user-41f1bf 08 May, 2017, 14:16:47

Real time surface tracking is already implemented. External plugins or applications can use streams of gaze positions and other information to do stuff

user-41f1bf 08 May, 2017, 14:18:15

The linked helper is an example of an outside app (in python) using real time streams, if I remember well enough

user-99e72e 08 May, 2017, 14:22:02

I am using the eye tracker to catch user's gaze position and create gui interfaces. When the user moves the gaze in another place, the gui must be destroyed. But I think the zmq is faster than the gui creation/destruction

user-41f1bf 08 May, 2017, 14:22:46

Yes, zmq is really fast

user-99e72e 08 May, 2017, 14:23:20

Yep, and I would like to know how can I improve this process

user-99e72e 08 May, 2017, 14:23:45

And more important, if it's possible

user-41f1bf 08 May, 2017, 14:24:19

In pascal one can use critical sections to wait for the main process, or use blocking (and less complicated) zmq functions to wait inside a thread

user-99e72e 08 May, 2017, 14:25:07

Yes , I am already using blocking functions in a separate thread

user-41f1bf 08 May, 2017, 14:25:26

I must say that I am not a professional programmer, I can only speak about stuff I have tested by myself

user-99e72e 08 May, 2017, 14:25:57

No problem πŸ˜ƒ any opinion is well accepted

user-41f1bf 08 May, 2017, 14:26:30

Are you using python or c++ or what?

user-99e72e 08 May, 2017, 14:26:39

Entirely python, for now

user-99e72e 08 May, 2017, 14:26:52

And pyqt to create gui

user-41f1bf 08 May, 2017, 14:29:54

Creating and destroying stuff is usually slower, if your gui is very dynamic I would recommend caching all fluid controls and work with Hide Show peocedures

user-99e72e 08 May, 2017, 14:31:45

Yes, that could be a possible improvemet

user-41f1bf 08 May, 2017, 14:32:02

Regarding zmq, I would recommend talking directly with the pupil backbone, first register to receive the port and then register to receive needed messages

user-41f1bf 08 May, 2017, 14:33:22

That said, I think you should share some code and then increase your chances of better feedback

user-41f1bf 08 May, 2017, 14:34:57

Its hard, at least for me, to know for sure why you are (I am guessing) receiving segmentation faults

user-99e72e 08 May, 2017, 14:35:43

Nono, no segfaults

user-41f1bf 08 May, 2017, 14:35:52

While creating and destroying stuff.

user-41f1bf 08 May, 2017, 14:36:30

I mean invalid memory errors

user-41f1bf 08 May, 2017, 14:38:48

My suggestion may resolve your issues, if stuff is cached, zmq can be as fast as it can

user-99e72e 08 May, 2017, 14:51:02

I willl try this suggestion πŸ˜‰

user-f181b1 09 May, 2017, 10:37:10

Dear Community We have started to work with Pupil Labs in order to perform real time image processing based on eye & gaze coordinates. This mechanism is part of an AR application we are working on. Our main challenge as we see it is to perform the image processing at real-time, while basing it on the Pupil Labs platform. Currently we are in the POC stage, so our initial thought, as a workaround, was to just develop a Plugin for the β€œCapture” application. The issue is that it does not expose the world view (Frame) for us to perform the imahe processing. Other possibilities we are now exploring are to use the eye & gaze data and to expose it to Unity/Matlab/any other 3rd party. Does anyone have any other tips / directions how to go about this? Anyone can point out to relevant Matlab materials?

Thanks in advance!

wrp 09 May, 2017, 10:42:15

Hi @user-f181b1 - Thanks for the overview πŸ˜„ You can access raw images of eye and world frames via ipc, or directly within the update fn of a plugin in Pupil Capture

wrp 09 May, 2017, 10:44:58

@user-f181b1 - if you haven't already - you can take a look at existing plugins like surface tracker to see how to access world frames: https://github.com/pupil-labs/pupil/blob/1c7b10b2a0ba07eb31778c664e23c2cac82d196d/pupil_src/shared_modules/surface_tracker.py#L195

user-f181b1 09 May, 2017, 10:49:22

Many thanks for your prompt response here! Actually we have investigated this Plugin but somehow missed the frame parameter within the fn. Just saved us a major headache

wrp 09 May, 2017, 11:28:31

Welcome!

wrp 09 May, 2017, 11:30:04

You should also be able to get frames via messages over network if you do not want to write a plugin

wrp 09 May, 2017, 11:30:26

Topic should be frame.world

wrp 09 May, 2017, 11:31:03

You can see pupil-helpers repo for example of receiving messages.

wrp 09 May, 2017, 11:33:11

And see docs on message documentation: https://docs.pupil-labs.com/#message-documentation115

user-f181b1 09 May, 2017, 12:29:19

Thanks again! We will focus on the Plugin method for now, it should be sufficient for our POC at this time

user-f181b1 09 May, 2017, 15:02:22

Dear @wrp
just making sure we got you right, when we change the frame in the in the "player" everything works. But when we do so in "capture" it does not affect the world view. a simple test we have made is -

def update(self, frame, events):

    img = frame.img

    img[:,:,1]=np.ones(img.shape[:-1], dtype=img.dtype)*255-img[:,:,1]

something we are missing here?

user-efb835 09 May, 2017, 19:28:23

Hi all, I'm trying to get the unity_callibration sample project in the hmd_eyes repo to work with the epson movario, but I'm running into some trouble. Anyone help me?

user-41f1bf 09 May, 2017, 19:33:02

Hi @user-efb835 , what abou trying the πŸ₯½ core-xr room?

user-efb835 09 May, 2017, 19:34:20

ah thank you! Sorry I'm new.

user-41f1bf 09 May, 2017, 19:35:06

Nothing to worry! Welcome to the pupil community ;)

wrp 11 May, 2017, 05:59:44
wrp 11 May, 2017, 06:02:32

@here - here is nice concise demo developed with Pupil and PyGame - https://github.com/jeffmacinnes/pl_surfaceGazeViewer - and a live demo of this code in action via youtube video: https://youtu.be/Sii9wRNSWHg?t=1h15m11s

user-ed537d 11 May, 2017, 21:31:45

anyone have a quick explanation of how adjust calibration works? as in do i just print out a marker and move the marker around?

user-ed537d 12 May, 2017, 18:17:26

Is there documentation on pupil service? I was wondering if I could just stream a video feed with gaze position via the network

mpk 12 May, 2017, 20:48:07

you can do this using Pupil Capture and using the video streamer plugin.

user-ed537d 12 May, 2017, 23:16:00

@mpk awesome thank you!

user-006924 15 May, 2017, 00:39:19

Hi every one, I am trying to use the surface tracking plugin but for some reason when ever a marker is detected the player app closes itself. I am using the latest version on windows 10. I had placed some markers in the experiment room but I hadn't defined surfaces during the time the recording was happening and I am trying to define surfaces while using pupil player, what I've been doing so far is opening the file in pupil player, defining the surface in the plugin and when a marker is detected I pause the video to make sure it's the correct surface and I click on the marker but what happens is that the information near the marker loads to 100 percent and the app closes itself. Is there something I'm doing incorrectly while using this plugin?

user-006924 15 May, 2017, 00:49:18

It sometimes closes even if I don't click on the marker and pause the video for a second and unpause it agian.

wrp 15 May, 2017, 04:27:25

Hi @user-006924, thanks for the detailed report. I will try to re-create this behavior on a Windows 10 machine with the latest Pupil Capture bundle today.

user-78dc8f 15 May, 2017, 13:18:32

Hi All. My lab group is trying to use pupil sync (the time sync plug in) because we have two eye-trackers that we want to coordinate. We are recording data using pupil mobile (locally on two android phones). Is there a way to use time sync with pupil mobile? More generally, we aren't really sure how to verify if time sync is running...

mpk 15 May, 2017, 13:18:59

Hi John, we are currently implmenting timesync for pupil-lmobile.

user-78dc8f 15 May, 2017, 13:19:28

ok. So not quite ready for that option? For now, could we test this out by plugging both eye-trackers in via usb?

papr 15 May, 2017, 13:20:10

@user-78dc8f You are running on windows from bundle correct?

papr 15 May, 2017, 13:20:31

@mpk Did we make a release for windows with the new time sync already?

user-78dc8f 15 May, 2017, 13:20:50

in one lab, we are running on mac. In the other lab (in India) we are running windows (just to complicate things!)

papr 15 May, 2017, 13:21:25

Ok, this should not matter as long as they use the same Pupil Capture versions

user-78dc8f 15 May, 2017, 13:21:36

They are both running the latest version.

papr 15 May, 2017, 13:22:27

You will need https://github.com/pupil-labs/pupil/releases/tag/v0.9.10 for time sync to work EDIT: link to release notes

papr 15 May, 2017, 13:23:49

It is not released for windows yet, unfortunetely

user-78dc8f 15 May, 2017, 13:24:20

So the new release for mac will enable time sync with pupil mobile?

papr 15 May, 2017, 13:25:04

no, not yet. The new mac version has a working time sync between Pupil Capture instances but not Pupil Mobile

papr 15 May, 2017, 13:25:18

Pupil Mobile has no Time Sync support yet

user-78dc8f 15 May, 2017, 13:25:55

Ok. So to test this out via usb, would we launch two instances of pupil capture? And then when we hit record on one, the other will start as well?

papr 15 May, 2017, 13:26:44

Time Sync only syncs the Pupil Capture instances' clocks

papr 15 May, 2017, 13:27:20

If you want multiple Captures to start as simultanious as possible, you will need to activate "Pupil Groups"

user-78dc8f 15 May, 2017, 13:28:32

Sorry to be dense here, but how do you verify that the clocks are synced? Just look at the time stamp data for each recording? (i don't really need them to start at the same time...sync is the key)

user-78dc8f 15 May, 2017, 13:29:21

so the data in 'world-timestamps.npy'

papr 15 May, 2017, 13:30:30

I understand. The Time Sync has a status field. One will say "Clock master" and the other "Synced with <ip address>"

papr 15 May, 2017, 13:31:05

and the node instances should show in the plugin ui as well

user-78dc8f 15 May, 2017, 13:32:01

Thanks for the help! We'll give this a go.

papr 15 May, 2017, 13:32:12

Good luck!

user-78dc8f 15 May, 2017, 13:57:27

Hi @papr and @mpk : We just tested the sync. We are actually streaming data from the android phones and recording on pupil capture (also recording on the phones as a backup). Time sync seems to work with that setup. The real-time data on pupil capture is quite staggered because we are running through wifi, but the recorded data from pupil capture seems smooth. We're just testing that the two trackers are synced over a longer recording, but seems like success!

user-78dc8f 15 May, 2017, 13:58:05

Thanks for the help.

mpk 15 May, 2017, 13:58:45

Hi John. Make sure to turn on h264 for the world cameras in capture it will help with bandwidth!

user-78dc8f 15 May, 2017, 13:59:10

Will check that. thanks.

user-78dc8f 15 May, 2017, 16:23:58

Hi @mpk. We just tested the sync option. We had both cameras viewing a timer on a iphone. The frame capturing is really jumping around on the phones--and definitely not sync'd. Is this because we are streaming the data from the phones via a router?

user-78dc8f 15 May, 2017, 16:24:43

Also, I tried to set h264, but I can't while streaming...

mpk 15 May, 2017, 16:25:33

Unset streaming and change

user-78dc8f 15 May, 2017, 16:25:54

ok. will give that a try. thx.

user-78dc8f 15 May, 2017, 16:28:53

When we click on the h264 option, the system allows us to turn that 'on'. But then streaming comes back on as well. I assume that is ok?

user-78dc8f 15 May, 2017, 16:29:11

as long as h264 is 'active'

mpk 15 May, 2017, 16:47:16

That's ok

user-006924 15 May, 2017, 17:55:03

When using surface tracking would printing each marker in a larger size help with its detection or is it irrelevant?

papr 15 May, 2017, 18:09:30

It helps. You can also try reducing the minimal perimeter setting in the surface tracker ui

user-efb835 16 May, 2017, 15:08:18

Has anyone felt like the pupil cameras hurt their eyes?

user-efb835 16 May, 2017, 15:10:32

Also - what does this black knob adjust?

Chat image

mpk 16 May, 2017, 15:11:06

@user-efb835 that has never come up. I personnaly find that wearing the eye tracker can be a bit straining because of the occlusion. We have measured and calclared IR expossures their are well within the save range.

papr 16 May, 2017, 15:11:15

If you mean by knob the wheel around the lens, it adjusts the camera's focus

papr 16 May, 2017, 15:11:24

or better: depth of field

user-efb835 16 May, 2017, 15:11:29

Cool!

user-efb835 16 May, 2017, 15:12:47

@mpk I wear contacts - do you know if that affects it?

mpk 16 May, 2017, 15:13:18

We have devs wearing contacts and there has been no issues. The IR savety spec takes this into account.

papr 16 May, 2017, 15:13:23

Wearing contacts is generally exhausting for the eyes since they get way less oxygen. I had to stop wearing contacts because of that.

mpk 16 May, 2017, 15:18:31

If you feel that the headset is really causing you pain please dont continue wearing the it! Shoot us an email so we can do a video debugging session and make sure the headset is fine and worn correctly.

user-efb835 16 May, 2017, 15:19:25

That sounds great! Is there a recommended time of wearing them before stopping? We are looking at using these as a back-of-house production tool.

wrp 16 May, 2017, 15:21:51

@user-efb835 - Pupil has been used in research for entire day long recording sessions. We do not have a suggested duration of wearing time. But as @mpk noted, if something doesn't feel good to you or others, then try taking a break πŸ˜„

user-efb835 16 May, 2017, 15:23:47

Okay thank you!

user-ed537d 16 May, 2017, 18:09:05

im having issues where the ir light gets right into the center of the pupil and i'm having difficulty adjusting the camera in such a way tha the two ir light diodes don't fall into the pupil. The reason i bring this up is it dramatically drops my confidence and greatly affects 3d tracking more so than 2d...any suggestions?

user-ed537d 16 May, 2017, 18:10:52

@user-efb835 I think I noticed what you're talking about and realized it was due to me trying to debug some eye tracking stuff and wouldn't blinking like i would normally...if that makes any sense

user-ed537d 16 May, 2017, 18:11:05

I've used it with multiple people and none of them have reported anything

user-ed537d 16 May, 2017, 18:11:13

even when i asked them

mpk 17 May, 2017, 07:17:46

@user-ed537d I have seen this kind of reflection before. Is your envirnment very dark? Usually this can happen with very big pupils. One suggestion is to extend the eye camera are further out.

user-ed537d 17 May, 2017, 07:19:02

I've extended it out all the way...the environment is lit...any other ideas @mpk ?

mpk 17 May, 2017, 07:19:23

Can you send a picture of besaid eye in condition?

user-ed537d 17 May, 2017, 07:26:32

Sure. I'm away from the computer but will send when I am. Thanks!

mpk 17 May, 2017, 07:27:43

alright, more then.

user-64e12b 17 May, 2017, 12:16:37

Hello πŸ˜ƒ After some great help from @user-5ca684 I got my calibration working in the unity_calibration project. However, some of the tracking is very problematic since the video from one of the eyes seems to freeze every few seconds. The CPU drops to about 0, the video isn't moving, and these messages constantly appear over and over again in the console window of the capture. (This happens even when I'm launching the capture without the unity project at all) world - [WARNING] video_capture.uvc_backend: Capture failed to provide frames. Attempting to reinit. world - [INFO] video_capture.uvc_backend: Found device. Pupil Cam1 ID0. Estimated / selected altsetting bandwith : 592 / 800.

I am running windows 10, 64bit. Any suggestions?

mpk 17 May, 2017, 12:16:58

Hi,

mpk 17 May, 2017, 12:17:29

make sure that you are reading the right camera in each window and that there are no extra instances of capture or service running.

mpk 17 May, 2017, 12:18:44

I have seen this error when a camera is used by more than one process at a time.

user-64e12b 17 May, 2017, 12:23:19

Just restarted to make sure I have no other processes which may have been left trailing. Still happens on first launch. By the way, what am I supposed to see on the main pupil_capture window? not the specific eye one

user-64e12b 17 May, 2017, 12:26:04

It seems like the actual main window for the capture is competing with the eye window, only one of them works at the same time while the other is frozen

user-64e12b 17 May, 2017, 12:50:35

Updated to 9.10, problem gone

mpk 17 May, 2017, 18:24:12

I think you where reading rthe same camera in more than one window. updateding the version will reset settings.

user-4a3b48 17 May, 2017, 18:43:12

Hey Guys,

user-4a3b48 17 May, 2017, 18:44:51

I am trying to integarte the Pupil Eye with Microsoft Hololens. Has anyone tried doing it ?

user-ed537d 18 May, 2017, 01:22:33

@mpk i've circled the IR lights that disrupt the pupil

Chat image

user-ed537d 18 May, 2017, 01:24:44

this example doesn't really show how it affects algorithim mode and isn't too great in proving the point that it gets significantly worse depending on where the subject is looking in some regions of the world they're looking at it gets placed smack dab in the middle

wrp 18 May, 2017, 02:19:59

@user-4a3b48 - please could you migrate your question to the πŸ₯½ core-xr channel

wrp 18 May, 2017, 02:21:13

@user-ed537d can you share a sample eye video via link in email or PM? It would be great to be able to test this to gain further insight

user-ed537d 18 May, 2017, 02:21:45

Sure @wrp who should I send it to?

wrp 18 May, 2017, 02:22:01

Could you send to info@pupil-labs.com

user-ed537d 18 May, 2017, 02:22:14

Will do uploading now

user-64e12b 18 May, 2017, 09:20:28

Are there are any general tips for better calibration/detection? I seem to be getting very stuttering data, even when fixating on one point the data returned is very erratic

mpk 18 May, 2017, 09:26:35

hmm this is strange. @user-64e12b can you explain your setup and best is to set the recorder to also record the eye and send one of those eye videos? It sounds like the camera is not focused or angle not ideal.

user-64e12b 18 May, 2017, 09:28:33

One of the eyes is actually blurry

user-64e12b 18 May, 2017, 09:29:20

The video from one of the eyes I mean πŸ˜›

user-64e12b 18 May, 2017, 09:33:59

My setup is with the Oculus Rift DK2

Chat image

user-64e12b 18 May, 2017, 09:35:26

What can I do about the blurriness? @mpk

wrp 18 May, 2017, 09:43:48

@user-64e12b - you can focus the eye cameras.

wrp 18 May, 2017, 09:44:45

@user-64e12b - Adjusting focus for the DK2 kit is a little bit tricky - but will resolve your blurry eye video issue. First, remove the cup from the DK2. Second, carefully remove the hot mirror, adjust focus, reattach the hot mirror then insert cup back into DK2.

wrp 18 May, 2017, 10:00:59

@user-64e12b - it could also be that the hot-mirror itself is dirty

user-64e12b 18 May, 2017, 10:11:50

Okay so I've meddled with the focus, and I think it worked nicely. The eye on the left is the one which I fixed the focus for, and now no longer appears blurry. However, the erratic behavior remains.

Chat image

mpk 18 May, 2017, 10:12:34

ok. this looks devent. Now please turn on algorithm view. Also what resolution are you running the cameras?

mpk 18 May, 2017, 10:12:59

ok I see its VGA, this is good.

mpk 18 May, 2017, 10:13:23

one eye is in 3d mode. The other as well?

wrp 18 May, 2017, 10:13:53

(was about to ask the same question as @mpk - eye0 looks to be in 2d mode and eye1 in 3d mode)

mpk 18 May, 2017, 10:14:19

switching to algo mode and making a screenshot with help debugging.

wrp 18 May, 2017, 10:14:22

@user-64e12b - can you also reset pupil_capture_settings or pupil_service_settings by deleting the directory

user-64e12b 18 May, 2017, 10:17:42

Okay so I've deleted the folder and now reloading

user-64e12b 18 May, 2017, 10:17:56

Can't seem to find where do I switch to algo mode

user-64e12b 18 May, 2017, 10:18:52

Oh okay. Found it.

wrp 18 May, 2017, 10:18:53

Chat image

wrp 18 May, 2017, 10:19:21

I was too slow - but maybe this is helpful for others πŸ˜„

user-64e12b 18 May, 2017, 10:22:48

Here's algo view. Not sure how do I check whether the eye is on 3d or 2d mode?

Chat image

mpk 18 May, 2017, 10:23:30

this is 2d mode. and its looking good at least in the picture.

user-64e12b 18 May, 2017, 10:23:45

Oh. I want 3d mode

user-64e12b 18 May, 2017, 10:24:03

Well, I don't really know what I want

user-64e12b 18 May, 2017, 10:24:26

My calibration mode was currently 3d so I guess it has to match, but I don't actually understand the difference between the modes

mpk 18 May, 2017, 10:24:42

yes you need 3d mode for 3d calibraiton.

mpk 18 May, 2017, 10:25:07

you can try 3d mode. However the dk2 lenses introduce distortion that could throw the model off.

user-64e12b 18 May, 2017, 10:25:42

2d is more stable?

mpk 18 May, 2017, 10:27:05

in the case of dk2 it may be.

mpk 18 May, 2017, 10:27:08

you should try.

mpk 18 May, 2017, 10:27:19

also set a ROI it may help as well.

user-64e12b 18 May, 2017, 10:30:59

Wow! This works sooo much better!

user-64e12b 18 May, 2017, 10:36:27

Okay so now its very responsive, very little stuttering, pretty happy. only problem now is that the gaze is sometimes very different between both eyes, spread out with the average gaze between them. any tips to get some more accuracy? What's ROI?

wrp 18 May, 2017, 10:37:58

ROI = region of interest

wrp 18 May, 2017, 10:38:26

you can set a ROI in eye windows - go to ROI mode (next to algorithm mode in drop down)

wrp 18 May, 2017, 10:38:37

this will constrain the area in which the algorithm looks for the pupil

user-9945c8 18 May, 2017, 14:53:34

Hi. I am trying to calibrate eye trackers using the pupil mobile app with the manual marker setting. Sometimes the program simply cannot find the marker, even if is streaming fine between the phone and laptop, the person is staring at it and everything looks good with the eyecam settings. Is there anything I should look into to improve this? Thanks!

mpk 18 May, 2017, 14:54:20

can you send an image of the capture world window?

mpk 18 May, 2017, 14:54:23

@user-9945c8

mpk 18 May, 2017, 14:54:26

?

user-9945c8 18 May, 2017, 14:56:28

Hi! Didn't expect such a quick reply. We are having issues when we work with participants rather than when we try to calibrate each other, so not sure whether I can get you a video. Is there something specific I can look for?

mpk 18 May, 2017, 14:56:55

somethimes false positives (non markers being detected as markers)

user-9945c8 18 May, 2017, 14:57:18

The problem is that it isn't detecting a marker, period.

user-efb835 18 May, 2017, 15:15:36

I set up a debugging session for today, but no one joined the google hangout.

user-efb835 18 May, 2017, 15:15:44

Can anyone help debug my headset now?

mpk 18 May, 2017, 15:16:50

Hi Kathryn sorry. I m online now.

user-ed537d 18 May, 2017, 18:05:46

@wrp @mpk sent eye video to info@pupil-labs.com

user-ed537d 18 May, 2017, 18:08:35

@user-9945c8 pull up the pupil capture world view and see if it puts a green circle around your manual markers....if it does then it should work if not i've noticed that sometimes due to lighting issues I have to change the pupil world view to manual and adjust the exposure time for the world view to find the marker

wrp 19 May, 2017, 04:18:04

@user-ed537d - received - thanks!

user-ed537d 19 May, 2017, 05:52:21

Awesome!

mpk 19 May, 2017, 07:51:50

@user-ed537d I looked at the video you sent. Using Pupil with standard settings I see eprfect detection. I m not sure whats going on that you see poor detection...

mpk 19 May, 2017, 07:52:00

detection result.

Chat image

wrp 19 May, 2017, 11:00:05

@user-ed537d - are you using default pupil detection settings?

user-3468df 19 May, 2017, 12:19:56

Thanks Matiar! (Sara)

user-042a9b 21 May, 2017, 10:22:46

Hi I am getting this error video_capture.uvc_backend: Init failed. Capture is started in ghost mode. No images will be supplied. Can you please guide me to what might be the problem?

wrp 21 May, 2017, 13:25:42

@user-042a9b Please could you provide more info about your setup? 1. Operating system and OS version 2. Pupil Capture version number

wrp 21 May, 2017, 13:26:18

@user-042a9b If you are using Windows 10, this message could result from not installing drivers for cameras.

wrp 21 May, 2017, 13:27:13

If this is the case, please see: https://docs.pupil-labs.com/master/#windows-driver-setup

user-006924 21 May, 2017, 16:04:42

Hi all, My hardware setup is monocular and I accidentally put it on 3D detection mode while recording. Is my data still valid ? I mean is it possible for me to use 3D detection mode with a monocular and use the raw data from it?

user-41f1bf 21 May, 2017, 16:05:27

Yes it is

user-41f1bf 21 May, 2017, 16:06:19

3d detection uses 3d eye modeling, either monocularly or binocularly

user-41f1bf 21 May, 2017, 16:06:46

You will notice differences in data quality, though

user-006924 21 May, 2017, 16:07:09

you mean the level of confidence is less with 3D?

user-41f1bf 21 May, 2017, 16:07:51

Dependens on your setup, maybe you can get more confidence

user-41f1bf 21 May, 2017, 16:10:09

I have been using 2d detection and post processing images for the sake of simplicity.

user-006924 21 May, 2017, 16:10:54

Thanks

user-006924 21 May, 2017, 16:12:58

Is there any docs available for Pupil for me to read up on the different detection methods or is it just the "docs" section in Pupil Labs website?

user-41f1bf 21 May, 2017, 16:16:07

Yes, there is, pupil docs is referencing the original academic work of the 3d modeling strategy implemented

user-006924 21 May, 2017, 17:30:40

sorry to ask again, I just want to make sure I'm understanding correctly, so with a monocular setup with 3d detection mode I can get 3d gaze directions and they are valid?

user-41f1bf 21 May, 2017, 17:32:17

No, you just can't get a 3d vector (x, y, z) with a monoculsr setup

mpk 21 May, 2017, 19:32:43

@user-006924 we can give you a direction (gaze normal) but not the depth of the gaze point.

user-006924 21 May, 2017, 23:27:36

When I want to know the pupil position in pixels and I'm using ROI mode for pupil detection should I multiply my pupil position data by the original pixel size of my eye camera feed or by the pixel size of the ROI window?

user-ed537d 22 May, 2017, 01:02:09

@wrp I was using 2d looks like you're using 3D

mpk 22 May, 2017, 06:00:30

@user-ed537d detection was really good when I tried your video. Maybe strange settings?

wrp 22 May, 2017, 08:11:27

@user-006924 - the pupil position in pixels will be relative to the eye camera frame and not the ROI.

user-f7028f 22 May, 2017, 09:09:31

Hello everyone! I suprisingly bumped into issue with HTC Vive add-on. Hope it's right chanel to ask the question. I run Pupil Capture app on Windows 10. Pupil's HTC Vive add-on is connected to separate USB. In a previous week both cameras worked fine. But today Capture app very strange: both windows on cameras is running but only one of them is updating, second one is freezing. Moreover! If I stop the running camera then second (freezed one) become alive and frames are shown. I tried to re-start Pupil Capture app, tried to re-connect add-on, tried to reboot system - no luck (

mpk 22 May, 2017, 09:37:49

@user-f7028f I quite sure you are reading the same cmaeras from both windows. Make sure the correct capture is selected in the sidebar.

user-f7028f 22 May, 2017, 09:41:19

I'm ashamed! You're right ) It was supposed to be the first thing to check!

user-f7028f 22 May, 2017, 09:41:30

Thanks

mpk 22 May, 2017, 09:41:46

no problem! glad I could help!

user-f7028f 22 May, 2017, 09:52:03

One more Q. Is that right channel to ask about HTC Vive add-on's issues or πŸ₯½ core-xr is more suitable?

wrp 22 May, 2017, 09:54:58

@user-f7028f πŸ₯½ core-xr is the preferred for VR/AR questions πŸ˜„

user-f7028f 22 May, 2017, 09:55:37

ok, got it )

user-f7028f 23 May, 2017, 03:01:35

I found that IR LEDs on left eye of HTC Vive add-on isn't work, so I got dark frames from this side. Is that kind of software issue or I have broken set? ( What can I do to somehow test and fix it?

wrp 23 May, 2017, 03:04:23

Hi @user-f7028f, can you take a screenshot of the left side eye camera and share it with us so we can diagnose and if necessary replace/repair?

user-f7028f 23 May, 2017, 03:05:39

Yes. one moment!

user-f7028f 23 May, 2017, 03:08:57

Chat image

user-f7028f 23 May, 2017, 03:09:20

or screenshot of frame? ^)

wrp 23 May, 2017, 03:09:52

Hi @user-f7028f thanks for the image. However, what would ne even more helpful is the screenshot of the eye camera image from Pupil Capture or Pupil Service

user-f7028f 23 May, 2017, 03:10:13

misunderstood, sorry )

wrp 23 May, 2017, 03:11:01

No problem πŸ˜„

user-f7028f 23 May, 2017, 03:14:40

Chat image

wrp 23 May, 2017, 03:15:05

Hi @user-f7028f Thanks

wrp 23 May, 2017, 03:15:16

It does look like this will need a repair/replacement

wrp 23 May, 2017, 03:15:37

Can you send us an email to info@pupil-labs.com with the original order number to get the repair/return process started?

user-f7028f 23 May, 2017, 03:15:56

sad news ((((

user-f7028f 23 May, 2017, 03:16:14

Yes, sure. will send in few hours

wrp 23 May, 2017, 03:17:00

Our hardware is covered under 12 month warranty. We will repair/replace it for you, and should be able to do so quickly so that you can get back to work πŸ˜„

user-f7028f 23 May, 2017, 03:19:40

Hope so! I'm already started to love to sort out such new things for me as eye-tracking and VR and Unity )

wrp 23 May, 2017, 03:20:37

@user-f7028f once you send us an email I will start the repair process

user-f7028f 23 May, 2017, 03:21:12

Thanks for great assistance!

wrp 23 May, 2017, 03:21:35

Welcome @user-f7028f

user-006924 23 May, 2017, 15:58:03

Hi all, For surface tracking I was looking at the raw data for surface positions and gaze positions and I wanted to know what the "m_to_screen" and "m_from_screen" meant in the raw data file

user-ed537d 23 May, 2017, 19:36:00

trying to use mouse_control from pupil_helpers and running into this error

user-ed537d 23 May, 2017, 19:36:01

x_dim: 3200, y_dim: 1080 Traceback (most recent call last): File "/home/nps/Downloads/pupil-helpers-master/pupil_remote/mouse_control.py", line 92, in <module> set_mouse(x, y) File "/home/nps/Downloads/pupil-helpers-master/pupil_remote/mouse_control.py", line 28, in set_mouse m.move(x, y) File "/usr/local/lib/python3.5/dist-packages/pymouse/x11.py", line 128, in move fake_input(d, X.MotionNotify, x=x, y=y) File "/usr/local/lib/python3.5/dist-packages/Xlib/ext/xtest.py", line 103, in fake_input y = y) File "/usr/local/lib/python3.5/dist-packages/Xlib/protocol/rq.py", line 1338, in init self._binary = self._request.to_binary(args, keys) File "/usr/local/lib/python3.5/dist-packages/Xlib/protocol/rq.py", line 1060, in to_binary static_part = struct.pack(self.static_codes, pack_items) struct.error: required argument is not an integer

user-ed537d 23 May, 2017, 20:14:54

nvm got it working

user-ed537d 23 May, 2017, 20:14:58

had to convert x and y to ints

user-ed537d 23 May, 2017, 20:15:21

and PyMouse is now replaced by PyUserInput

wrp 24 May, 2017, 03:48:58

@user-006924 m_to_screen is the transformation matrix of marker coordinates (normalized space) to screen coordinates (this is a perspective transformation). m_from_screen is the inverse of m_to_screen

wrp 24 May, 2017, 03:50:29

@user-ed537d - you are using linux correct?

wrp 24 May, 2017, 03:50:46

If you made changes to pupil-helpers/updates to the mouse control script, please consider making a PR to the repo

user-006924 24 May, 2017, 13:39:17

@wrp Thanks for your answer, just one more question, by screen coordinates you mean image pixels?

user-41f1bf 24 May, 2017, 14:21:39

Yes, the world frame pixels

user-ed537d 24 May, 2017, 19:58:56

@wrp yes I will when im at that computer again...

user-ed537d 24 May, 2017, 20:01:53

@user-41f1bf @wrp @mpk I remember not too long ago there was a discussion about instructions on calibrating camera intrinsics. A follow up question I have to this is we currently use two pupil headsets with the two separate subjects. I'm assuming that the capture settings loaded are for the last camera intrinsics calibration. My question(s) is does pupil load the last calibrated camera intrinsics? if so how can i make it so it loads the respective camera intrinscis file?

user-f13d61 25 May, 2017, 20:29:58

Hi, I am trying to get calibration to work on my Oculus DK2. I attempting to use the pupil-labs/hmd-eye git repository, but I am pretty confused about what I need to run to make things work. So far, I have tried running Calibration.unity in Unity with Pupil Capture open. I am able to get a blue screen with to show up on my computer and on the oculus, but then nothing else happens. I have also tried playing around with running the python code in hmd_calibration, but I don't really see what's going on there. Would anyone have any more specific instructions on how to get a basic screen target calibration up and running on the Oculus? Thanks!

user-ed537d 25 May, 2017, 20:31:15

@user-f13d61 try the hmd-eyes channel

user-ed537d 25 May, 2017, 20:32:17

In general make sure your IPs match to what pupil remote shows

user-6f6224 26 May, 2017, 13:47:05

Hi dose anyone encounter the error when executing the latest pupil-lab capturer (v0912)?

mpk 26 May, 2017, 13:48:11

@user-6f6224 what error are you referring to?

user-6f6224 26 May, 2017, 13:48:16

[email removed] pupil_player Traceback (most recent call last): File "main.py", line 59, in <module> File "/home/pupil-labs/.pyenv/versions/3.6.0/envs/general/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "video_capture/init.py", line 27, in <module> File "/home/pupil-labs/.pyenv/versions/3.6.0/envs/general/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "video_capture/fake_backend.py", line 14, in <module> File "/home/pupil-labs/.pyenv/versions/3.6.0/envs/general/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 573, in load_module ImportError: /opt/pupil_player/cv2.so: undefined symbol: ZN2cv2ml6RTrees4loadERKNS_6StringES4

mpk 26 May, 2017, 13:48:40

are you running a bundle or from source?

user-6f6224 26 May, 2017, 13:49:04

I'm installed the debian package on Ubuntu 16.04

mpk 26 May, 2017, 13:49:11

ok.

user-6f6224 26 May, 2017, 13:49:14

thanks for your repyl

user-6f6224 26 May, 2017, 13:49:20

πŸ˜ƒ

user-6f6224 26 May, 2017, 13:50:33

I also try the v0910, and I had the same error

user-6f6224 26 May, 2017, 13:50:50

so is pupil_player

user-6f6224 26 May, 2017, 13:57:43

any idea about it?

user-6f6224 26 May, 2017, 13:58:19

I use to successfully installed v094 on the same laptop

mpk 26 May, 2017, 14:08:09

I just tried running the budle v0.9.12 on a fresh 16.04 install and it started just fine. My guess is that your system setup is causing some sort of issue 😦

user-6f6224 26 May, 2017, 14:12:10

hmm

user-6f6224 26 May, 2017, 14:12:45

is it because I have installed previous version?

user-41f1bf 26 May, 2017, 14:13:57

You should be able to uninstall the previous version and install the recent one

user-41f1bf 26 May, 2017, 14:16:57

@mpk said that he was able to start normally the recent version, so if the problem persists for you, we will need more details to provide a proper solution

mpk 26 May, 2017, 14:18:06

usually an older version does not interfere. The new version should replace all that is in opt/pupil_player

user-41f1bf 26 May, 2017, 14:20:38

@user-6f6224 do you have an updated system or fresh installed one?

user-6f6224 26 May, 2017, 14:53:53

It is a bit difficult for me reinstall the system, the error seems related to cv2.so library

user-6f6224 26 May, 2017, 14:57:01

It might because the newest opencv library that I just compiled

user-6f6224 26 May, 2017, 14:58:09

can anyone of you recognise the _ZN2cv2ml6RTrees4loadERKNS6StringES4 ? as some function that is used by the pupil-lab?

user-41f1bf 26 May, 2017, 15:02:11

No, I am sorry. I was not asking to reinstall. I was asking if your system is up-to-date or instead you have a fresh install.

user-6f6224 26 May, 2017, 15:04:42

which version of opencv does v0.9.12 depend on?

user-6f6224 26 May, 2017, 15:05:29

Yes, my system is up-to-date.

user-41f1bf 26 May, 2017, 15:05:34

Pupil requires python 3 and opencv 3

user-6f6224 26 May, 2017, 15:05:49

3.0 or 3.1 or 3.2?

user-6f6224 26 May, 2017, 15:06:11

opencv 3.0, 3.1 or 3.2?

mpk 26 May, 2017, 15:07:04

@user-6f6224 generally your own version of opencv should not interfere with PUPIL bundles...

mpk 26 May, 2017, 15:07:31

_ZN2cv2ml6RTrees4loadERKNS6StringES4 is namemangled and it does not sound familiar to me...

user-6f6224 26 May, 2017, 15:09:19

but I install my opencv binary into the system folders and when I do ldd cv2.so, I find it depends on the latest opencv libraries that I installed. but I can try remove my own opencv library and see if it works or not.

user-41f1bf 26 May, 2017, 15:14:16

The bundle does not communicate with your cv installation, unless you have deleted the bundled library (just saying, I am not saying you did such a thing 😁 ). Please, if you want to use your custom opencv version, you should try running from source, of course, changing accordingly

user-41f1bf 26 May, 2017, 15:15:03

the source

user-6f6224 26 May, 2017, 15:16:37

Chat image

user-6f6224 26 May, 2017, 15:17:46

but /opt/pupil_player/cv2.so does depends on 3.2 that I jus build which are installed in the /usr/local/lib/.

mpk 26 May, 2017, 15:18:08

Well the bootloader should make sure that it actually loads the lib we ship. But I cant vouch that that actually happens. We also dont have newer versions of OpenCV than the one we bubdle installed on our test/dev machines.

user-41f1bf 26 May, 2017, 15:24:29

The ldd output here is very short and has some "not found) libs. He is starting ok though. Will install 9.12 ans see

user-41f1bf 26 May, 2017, 15:27:02

@mpk the windows release note should be removed (24h note)

wrp 26 May, 2017, 15:29:38

@user-41f1bf - thanks for that - fixed the release notes.

user-41f1bf 26 May, 2017, 15:40:05

Hi, I dont know why but the upper bar is missing, it was removed??

Chat image

user-41f1bf 26 May, 2017, 15:42:17

Also, the drop and down is not working

user-db4664 26 May, 2017, 15:42:54

thanks guys I'll try it later and hopefully let you know if I managed to get it running.

wrp 26 May, 2017, 15:43:37

@user-41f1bf I can't tell from your screencap; what OS is this?

user-41f1bf 26 May, 2017, 15:43:41

I am not on Ubuntu though it worked in the past

user-41f1bf 26 May, 2017, 15:44:23

Bunsen Labs (Debian 8 based distro)

user-41f1bf 26 May, 2017, 15:44:34

It usrs open box

user-41f1bf 26 May, 2017, 15:45:28

It is not a priority, take it just for your knownledge guys

wrp 26 May, 2017, 15:46:08

I am not familiar with this distro.

user-41f1bf 26 May, 2017, 15:46:50

I know how to use the command line

user-41f1bf 26 May, 2017, 15:46:58

😁

wrp 26 May, 2017, 15:47:19

That's great πŸ‘

wrp 26 May, 2017, 15:47:56

What desktop environment does this distro use? Is it GNOME based?

user-41f1bf 26 May, 2017, 15:48:26

Open Box

wrp 26 May, 2017, 15:48:31

ah, ok

user-41f1bf 26 May, 2017, 15:48:52

GUI is GTK in its guts

user-41f1bf 26 May, 2017, 15:49:03

Also tk

wrp 26 May, 2017, 15:49:54

@user-41f1bf, we're not going to be able to debug for BunsenLabs

user-41f1bf 26 May, 2017, 15:50:26

I understand, take it for your information only

wrp 26 May, 2017, 15:50:26

but it is always interesting to learn about how Pupil performs on other Linux distros

wrp 26 May, 2017, 15:50:43

BTW, Pupil runs very well on Arch Linux

wrp 26 May, 2017, 15:51:04

Antergos

wrp 26 May, 2017, 15:52:16

But officially Pupil Labs targets Ubuntu 16.04 LTS for Linux. All other distros could be considered in the domain of "more advanced"; for Linux users who know how to configure systems (and use the terminal πŸ˜„ )

user-41f1bf 26 May, 2017, 15:53:34

Myself included, I will take some time to investigate this further next month

user-41f1bf 26 May, 2017, 15:53:59

Hopefully it will work

user-41f1bf 26 May, 2017, 15:54:02

See you

wrp 26 May, 2017, 15:54:20

great - I look forward to seeing your progress/feedback on this. Have a nice weekend!

user-f7028f 30 May, 2017, 08:30:26

Hi all!

user-f7028f 30 May, 2017, 08:36:53

I have question about message types in Pupil Capture. Third-party app (unity_integration_calibration from hmd_eyes) is subscribe to 2 type of messages: notify. and gaze I see that gaze message only contains x and y coordinates (normilized) for gaze. But all variables associated with the eyeball are zeros. I found in Pupil Capture source that there is one mire message type - pupil. What is the message? Is it contains eyeball's info such a x, y, z coordinates? My primary goal is to get coordinates x, y, z of detected eye. Is it implemented?

user-f7028f 30 May, 2017, 08:52:17

Oh! I've got an data when I subscribed to pupil.0 So, the next question is about values of this data. For example I look to Sphere object. It has variable center - array of doubles. In what measurement system is that data?

mpk 30 May, 2017, 08:53:08

@user-f7028f if you care about pupil 3d data in the world camera space you will need to get this from gaze. Its in there. I m not sure if @user-5ca684 has exposed it.

mpk 30 May, 2017, 08:53:16

use these here to inspect:

user-f7028f 30 May, 2017, 08:54:43

It's strange, but 'gaze' messages I received dosn't contains 3d data. Right now I've got this data from pupil.0 messages!

mpk 30 May, 2017, 08:55:11

yes in that case it will be in the coordinate space of eye0

mpk 30 May, 2017, 08:55:23

in gaze this data is mapped to the world space.

mpk 30 May, 2017, 08:55:46

you will need to calibrate for gaze data to have all field availalbe.

user-f7028f 30 May, 2017, 09:00:33

As I understand, it's quite impossible to calibrate HTC Vive add-on cameras in Pupil Capture app when I wear that hmd ) I use unity_integration_calibration to calibrate eye data in hmd's screen. If I do that and don't run calibration in Papil Capture, is it right that ''gaze' messages will be send from Pupil Capture without 3d eye data?

mpk 30 May, 2017, 09:01:39

you will have to calibrate using the unit3d plugin.

mpk 30 May, 2017, 09:02:06

maybe then its best to look at pupil0 and pupil1 data.

user-f7028f 30 May, 2017, 09:15:04

I've set in Pupil Capture calibration method HMD Calibration, run calibration in Unity and as a result got an eye data in 'gaze' message!

mpk 30 May, 2017, 09:15:19

glad to hear it πŸ˜ƒ

user-f7028f 30 May, 2017, 09:16:39

Now I have to understand which one of this values I must use to get x,y,z coordinates of detected eye ) Sphere? Circle 3d?

mpk 30 May, 2017, 09:17:16

you what the eye ball center?

mpk 30 May, 2017, 09:17:24

that would be sphere.

user-f7028f 30 May, 2017, 09:17:48

sphere" : { "center" : [ -0.796004551473776, -1.35599382903352, 43.0460060737645 ]

mpk 30 May, 2017, 09:18:03

actaully eye_centers_3d

mpk 30 May, 2017, 09:18:07

is the right one.

mpk 30 May, 2017, 09:18:21

thats the one thats mapped into the world space.

user-f7028f 30 May, 2017, 09:19:18

hmmm, but there's no eye_centers_3d data in message (

user-f7028f 30 May, 2017, 09:19:30

{ "confidence" : 1, "timestamp" : 6932.254, "base_data" : [ { "model_birth_timestamp" : 6925.462, "theta" : 1.82212504480308, "confidence" : 1, "method" : "3d c++", "sphere" : { "center" : [ -0.796004551473776, -1.35599382903352, 43.0460060737645 ], "radius" : 12 }, "diameter_3d" : 3.98505337922062, "phi" : -1.48534703324559, "norm_pos" : [ 0.505724969277259, 0.43438272057267 ], "ellipse" : { "center" : [ 323.663980337445, 271.496294125119 ], "axes" : [ 74.7444001575137, 78.5360943279047 ], "angle" : 73.1936276169107 }, "timestamp" : 6932.254, "topic" : "pupil", "model_id" : 8, "diameter" : 78.5360943279047, "id" : 0, "projected_sphere" : { "center" : [ 308.534991583934, 220.46935707438 ], "axes" : [ 345.676669154888, 345.676669154888 ], "angle" : 90 }, "circle_3d" : { "center" : [ 0.195963892346401, 1.62829999333466, 31.4654193447494 ], "radius" : 1.99252668961031, "normal" : [ 0.0826640369850147, 0.248691151864014, -0.96504889408459 ] }, "model_confidence" : 1 } ], "topic" : "gaze", "norm_pos" : [ 0.661832355705696, 0.344426222439735 ] }

mpk 30 May, 2017, 09:21:49

this is not a datum from the 3d mappers. I think this is in 2d mode...

user-f7028f 30 May, 2017, 09:29:16

I found that Pupil Capture reset calibration method from HMD Calibration 3D to HMD Calibration when I run callibration in unity...

user-f7028f 30 May, 2017, 09:30:54

oh! I see that this calibration app is send message to start HMD Calibration plugin

user-f7028f 30 May, 2017, 09:33:10

Probably it's developed to use 2D calibration.

user-f7028f 30 May, 2017, 09:33:41

Is it question for hmd-eyes team? )

user-5ca684 30 May, 2017, 13:35:12

@user-f7028f Please switch to 3D mode in the Unity plugin Settings, and calibrate like that

user-f7028f 30 May, 2017, 13:41:19

You talk about Pupil Capture's plugin or what? Because in that app I don't see plugin like that in the list of plugins (

user-5ca684 30 May, 2017, 13:42:08

I believe I said Unity plugin

user-5ca684 30 May, 2017, 13:42:30

in theory you wont have to set anything in the Puli Capture

user-5ca684 30 May, 2017, 13:42:39

everything is being set from Unity

user-5ca684 30 May, 2017, 13:43:10

Unity is switching to 3D calibration mode or to 2D mode

user-5ca684 30 May, 2017, 13:43:25

through the IPC messages sent to Pupil Capture

user-5ca684 30 May, 2017, 13:43:58

perhaps, you could try to reset your pupil capture to defaults (or have another local copy)

user-5ca684 30 May, 2017, 13:44:43

and switch to the desired calibration mode in Unity, in the example scene there should be a PupilGaze GameObject

user-5ca684 30 May, 2017, 13:44:55

there you can find all the settings needed

user-5ca684 30 May, 2017, 13:46:40

but I have to admit, not having this clear is my fault, because I am late with the documentation, having serious troubles with my PC..... I'm going to try to finish up the complete documentation today/tomorrow, so you will be able to see a clear step by step instrucion set on how to set your Unity plugin up

user-f7028f 31 May, 2017, 03:02:34

@user-5ca684 Thank you for clarification! I looked at PupilGaze object (its behaviour implemented in PupilGazeTracker script) and there is no settings for callibration type. I only found hardcoded call of 2D callibration of PupilCapture app in StartCalibration method:

_sendRequestMessage ( new Dictionary<string,object> {{"subject","start_plugin"},{"name","HMD_Calibration"}});

user-f7028f 31 May, 2017, 03:04:14

If I change this call to HMD_Calibration_3D it will be enough to get 3D eye data or it's necessary to changed some data type like Vector2 to Vector3 for example?

user-5ca684 31 May, 2017, 21:35:02

@habolog#2770 Im starting to think that you are still not using the correct version

user-5ca684 31 May, 2017, 21:39:00

@user-f7028f

Chat image

user-5ca684 31 May, 2017, 21:39:17

this is how you should be able to switch between calibration modes

user-5ca684 31 May, 2017, 21:39:45

if you do not have this menu system, you are still not using the correct version

user-f7028f 31 May, 2017, 23:57:53

@user-5ca684 I use master branch. Should I use dev branch instead?

End of May archive