vr-ar


user-a13d4c 16 February, 2021, 16:52:39

Hi, We have an HTC Vive style eye-tracking system, which we would like to integrate into a mobile VR platform. When we made the purchase Sept. last year we based the decision on the availability of the Pupil Mobile app and testing we did that demonstrated that we could stream video from a web cam attached to our Pixel 2 XL Android device to a Linux laptop. I haven't gotten around to testing the eye-tracking cameras in depth until a few weeks ago. Unfortunately, I see that you guys have deprecated Pupil Mobile and maybe don't really want to support it at all. Anyway I will try my luck to see if we can have a productive dialog that will help my application along:

I ran into some issues getting the cameras to connect on the Pixel 2 using Android 10 (for some reason the VID:PIDs were coming up wrong), I upgraded to Android 11 and that seemed to fix that issue. However, now I can only stream from one eye camera at a time, while the other one repeatedly tries to connect and then fails - I even tried at reduced 5Hz reduced speeds with the same results. I was able to get a brand new Samsung Galaxay S21 phone to successfully stream both video feeds at the default rate 60Hz. Unfortunately, we are stuck with the Pixel 2XL for our Daydream VR app. Any help would be greatly appreciated, even if its just access to the Pupil Mobile source code, which I could not find online (hey aren't you "open source" friendly?). I am both an Android and Python developer so seeing the source might help me to fix my issue and take over maintenance of an unsupported feature.

papr 16 February, 2021, 18:41:28

I am very sorry to tell you that we won't be able to publish the Pupil Mobile source code due to licensing reasons. πŸ˜•

However, now I can only stream from one eye camera at a time, while the other one repeatedly tries to connect and then fails Can you confirm that both cameras work correctly when connected to a computer running Pupil Capture?

user-a13d4c 16 February, 2021, 19:33:37

@papr Yes both cameras work on Ubuntu Linux

user-a13d4c 16 February, 2021, 20:19:39

So I did a little debugging using the adb wifi mode to capture the logcat output. When connecting the eye-tracker to the Pixel 2's USB port:


message.txt

user-a13d4c 16 February, 2021, 20:27:20

When selecting "Detect eye 0" in Pupil Capture and connecting (the video feed works):

message.txt

user-a13d4c 16 February, 2021, 20:28:28

When selecting "Detect eye 1" in Pupil Capture and attempting to connect (the video feed does not work):

message.txt

user-a13d4c 16 February, 2021, 20:44:18

Sorry, new to Discord. Using reply feature: both cameras work on Ubuntu Linux . Please see the logcat captures above for more info about the Pixel 2 issues. Since both video feeds work with the Galaxy S21 that I tested, I'm going to try to capture the logcat there to see if it can point to what is just noise.

Update: OK, I've honed in on some suspicious logcat events that only happen for the failing camera on the Pixel 2:

2021-02-16 13:17:33.222 11018-12026/? I/uvc_camera_base: [email removed] 60.0/0.000000)
2021-02-16 13:17:33.227 11018-11807/? D/UVCPipeline: getExposureModeInfo:err=-32
2021-02-16 13:17:33.246 11018-11807/? D/UVCPipeline: getExposurePriorityInfo:err=-32
2021-02-16 13:17:33.265 11018-11807/? D/UVCPipeline: getExposureModeInfo:err=-32
2021-02-16 13:17:33.267 11018-11807/? D/UVCPipeline: getExposurePriorityInfo:err=-32
2021-02-16 13:17:33.312 11018-12026/? E/aandusb: [12026*device.cpp:599:set_interface]:USBDEVFS_SETINTERFACE failed error -99 errno 28, intf=1/alt=6
2021-02-16 13:17:33.312 11018-12026/? E/uvc_pipeline: [12026*pipeline_uvc_source.cpp:254:do_stream]:γ‚ΉγƒˆγƒͺγƒΌγƒŸγƒ³γ‚°ι–‹ε§‹γ«ε€±ζ•—γ—γŸ:-99

Google translated that Japanese as "Failed to start streaming"

papr 17 February, 2021, 11:33:40

Unfortunately, I am not able to provide a lot of insight here. I just know that streaming can fail to start on Desktop e.g. if the camera is in use. I also know that Pupil Mobile was developed with Android 8 in mind. I do not know how well it performs for newer versions of Android.

user-a13d4c 17 February, 2021, 14:30:55

A simple Google search tells me that the aandusb and uvc_pipeline author must be [email removed] Do you think it is worth contacting him about this project, which I presume he's moved on from? As I mentioned before, it works perfectly well on a Galaxy S21 running Android 11 with kernel 5.4, maybe if I can upgrade (or downgrade) the Pixel 2's kernel it might magically start working. I'd hope he would have an opinion before I go through the effort.

papr 17 February, 2021, 14:32:13

You got the correct author. He is also the author of Pupil Mobile. You can try contacting him.

user-0ae7a6 23 February, 2021, 13:23:21

Hello, it looks like parameters "pupil intensity range" in detector 2D settings is very important for accuracy. Can I edit them from Unity script? And how?

papr 23 February, 2021, 13:33:57

The pupil detector network api allows setting and receiving this value. It is not implemented in the Unity wrapper though. You can use this function to send the corresponding notification dictionaries: https://github.com/pupil-labs/hmd-eyes/blob/master/plugin/Scripts/RequestController.cs#L177

See this python implementation as reference: https://github.com/pupil-labs/pupil-helpers/blob/master/python/pupil_detector_network_api.py

papr 23 February, 2021, 13:35:08

Also, please be aware, that setting the ROI (region of interest) usually has a larger effect on the pupil detection in VR as it can help to exclude dark corner areas of the image from the pupil detection

user-0ae7a6 23 February, 2021, 13:54:40

Thanks a lot. I will read and try them.

user-1d0e44 23 February, 2021, 14:20:30

how can i remove pupil labs addon from vive?

user-1d0e44 23 February, 2021, 17:39:56

Also, it seems that there is no infrared light emitted for one of the eyes. Is there a setting for that or we should contact support?

papr 23 February, 2021, 17:41:25

Please contact info@pupil-labs.com in both regards. The add-on is just clipped on, but our hardware team will be able to give specific instructions.

user-1d0e44 23 February, 2021, 17:41:43

Thank you!

user-1d0e44 25 February, 2021, 21:17:16

Hello, we are nowadays working in a research project towards non-verbal communication in VR, where we use Pupil add-on for Vive Pro. We would like to use the picture found here (https://pupil-labs.com/_nuxt/img/htcvive_e200b.c244a79.jpg) and maybe the one here (https://pupil-labs.com/products/) of the add-on into our website. Of course we provide a clear reference to the product.

papr 25 February, 2021, 21:17:48

Please contact info@pupil-labs.com in this regard

user-1d0e44 25 February, 2021, 21:17:33

Are there any copyright issues we have to be aware of?

user-1d0e44 25 February, 2021, 21:20:13

Thank you for your help!

user-0704d2 26 February, 2021, 14:48:45

Hey there, I am using the pupil add-on for Vive Pro and would like to record eye-tracking and gaze-mapping data of Steam VR applications (e.g. Altspace). So far I am struggling to find out how to display the actual image the user is seeing in the HMD onto the pupil-capture world view. I have managed to run the hmd-eye screencast demo in unity with pupil capture but due to my lack of coding knowledge don't know how to implement the steam vr view to any of the scenes or directly into the capture world view. Has anybody here ever used eye-tracking for Steam VR applications (is it possible at all?) or any idea where I might find a guideline on how to do so? Thanks for your help! πŸ™‚

user-c5ed73 10 April, 2021, 21:34:39

Hi there! I have the exact same question. Have you had any answers yet?

End of February archive