software-dev


user-4fb664 03 June, 2019, 14:32:39

Hi everyone,

I want to receive the original frames from world camera along side with pupil data (3D gaze data) in my application. What is the best way to interface with pupil system to get those data in my C++ code.

c.c @papr

user-4fb664 03 June, 2019, 14:35:27

(I can also update minor changes needed for compiling on fedora)

papr 03 June, 2019, 14:44:25

@user-4fb664 Hey, subscribe to the frame.world and gaze.3d topics. See these Python examples: - https://github.com/pupil-labs/pupil-helpers/blob/master/python/recv_world_video_frames.py - https://github.com/pupil-labs/pupil-helpers/blob/master/python/filter_messages.py

These are analogous to a possible c++ implementation.

user-b5c63f 04 June, 2019, 03:23:27

Hi, I am working on using Pupil Capture over a network to solve import issues. Is there a way to obtain the fixation point over a network?

wrp 04 June, 2019, 03:37:50

Hi @user-b5c63f on your remote machine use pupil-helper script [1] and subscribe to fixations

sub.setsockopt_string(zmq.SUBSCRIBE, 'fixations')

[1] https://github.com/pupil-labs/pupil-helpers/blob/master/python/filter_messages.py

user-fbd5db 04 June, 2019, 03:42:01

Hi there , I'm gonna use batch exporting , I want to extract more feature not just five of them, such as X, Y and Z location . May I ask you to help me please?

wrp 04 June, 2019, 03:46:19

Hi @user-fbd5db the "batch exporter" plugin is no longer available in Pupil Player. What you can do, is open recordings individually and export csv data and then run a script to consume the exported data like seen in [1]

[1] https://github.com/pupil-labs/pupil-tutorials/blob/master/02_load_exported_surfaces_and_visualize_aggregate_heatmap.ipynb

user-fbd5db 04 June, 2019, 03:52:53

@wrp Thanks, I have already run these two files and got the csv export as a batch but not for all features. There are five features on .CSV file. I would like to have other features through the changing the cod. I have attached the code which are available online that i used and my .csv output that is not completed.

user-fbd5db 04 June, 2019, 03:53:07

source files

extract_diameter.py

user-fbd5db 04 June, 2019, 03:53:11

folderwalk.py

user-fbd5db 04 June, 2019, 03:53:59

batch export but not complete for all features

pupil_positions_PostC_000.csv

user-fbd5db 04 June, 2019, 03:54:15

could you please help me?

user-b5c63f 04 June, 2019, 03:57:29

@wrp thanks πŸ™‚

wrp 04 June, 2019, 03:57:55

@user-fbd5db I or my team will take a look at your code later today, thanks for sharing

user-fbd5db 04 June, 2019, 05:04:10

@wrp Thanks

user-a6cc45 04 June, 2019, 18:38:35

Hi, How can I get duration of whole recording in seconds? Is it somewhere in g_pool?

papr 04 June, 2019, 18:39:42

@user-a6cc45

duration = g_pool.timestamps[-1] - g_pool.timestamps[0]
user-a6cc45 04 June, 2019, 18:40:07

@papr Thanks!!! πŸ˜ƒ

user-b5c63f 05 June, 2019, 02:03:07

Hi, I'm trying to get the fixation point in real-time for a plugin. Is there a function for this, please? πŸ™‚

user-09f6c7 05 June, 2019, 02:18:12

Hi, I have some question that is.. When the Pupil Service is running on background - Can I communicate with Pupil Service via my custom C# application?

wrp 05 June, 2019, 02:19:11

@user-b5c63f yes, you can get fixation position data in real-time by running a script and using the network based API as I noted yesterday. Hi @user-b5c63f on your remote machine use pupil-helper script [1] and subscribe to fixations

sub.setsockopt_string(zmq.SUBSCRIBE, 'fixations')

[1] https://github.com/pupil-labs/pupil-helpers/blob/master/python/filter_messages.py

wrp 05 June, 2019, 02:19:26

If you have follow up questions about how this works, please feel free to list them here 😸

wrp 05 June, 2019, 02:20:24

@user-09f6c7 You can communicate with Pupil Capture and/or Pupil Service in real-time over the network. Please see the following: 1. https://docs.pupil-labs.com/#interprocess-and-network-communication 2. https://github.com/pupil-labs/pupil-helpers/tree/master/python (I know this is not C#, but the minimal examples should be helpful for you to understand the communication pattern using messagepack + zmq)

user-09f6c7 05 June, 2019, 02:24:17

@wrp Thank you for you info. I'm trying out.

user-b5c63f 05 June, 2019, 04:01:42

@wrp thank you πŸ˜„ this time I'm trying to do it locally and not over a network

wrp 05 June, 2019, 04:06:28

you can use localhost - what is the applicatoin that you are trying to develop/what is the goal?

user-b5c63f 05 June, 2019, 04:20:19

I'm trying to create a plugin similar to the calibration, where there are targets. Each time the user fixates a target (fixationPoint == targetPosition), a new target automatically appears and the old one disappears

user-1f392c 05 June, 2019, 05:44:27

@papr Is the java/android Zyre implementation used in Pupil Mobile available anywhere?

user-54376c 05 June, 2019, 05:48:47

@user-09f6c7 Take a look at the hmd_eyes plugin fΓΌr Unity (C#), this might be some code you're looking for.

user-09f6c7 05 June, 2019, 06:26:00

@user-54376c Oh I got it! Thanks!

user-8e47a4 05 June, 2019, 07:53:28

oh, I just realized there's a software dev channel as well: Is there any working cli for the pupil capture that runs on linux and if not, what's the setup process for a recording to start?

wrp 05 June, 2019, 07:54:34

@user-8e47a4 you might want to see: https://github.com/pupil-labs/pupil-helpers/blob/master/python/pupil_remote_control.py - while there is no cli (headless) version of Pupil software, you can communicate with Pupil Capture, Player, and Service via messages over the network. Would this work for you?

user-8e47a4 05 June, 2019, 08:01:35

@wrp Yes, it's a very good first step, thank you! I'll have to test if the pi can handle all that, we planned to just capture the data and do all calculations offline

papr 05 June, 2019, 08:03:20

@user-8e47a4 I am pretty certain that the pi is not powerful enough to do the pupil detection in realtime for the full 200Hz frame rate

user-8e47a4 05 June, 2019, 08:04:31

@papr yes, I'd doubt that too, but wouldn't simply forwarding the recorded frames via zmq do? and then detect the pupils later?

papr 05 June, 2019, 08:06:59

@user-8e47a4 either that, or if you have a fast enough sd card, you could save the recording on the pi. The advantage is that this will create a valid Player recording. If you forward the frames and record it remotely, you will have to make additions to make it compatible with Player.

user-8e47a4 05 June, 2019, 08:11:22

@papr wait there already is an implementation of simply recording to disk and then calculating everything later? Then switching out the safe to disk part for some networking should be an easy task, right?

papr 05 June, 2019, 08:14:26

@user-8e47a4 Capture's task is two-fold: Publish data via zmq and save the data to disk during a recording. So technically, yes, you could write a simple script that listens to the data stream and saves that data itself. As I said, you just need to record the data in a specific format s.t. it is compatible with Player

papr 05 June, 2019, 08:16:00

@user-8e47a4 Are you aware of Pupil Mobile? It looks like it already does what you want to do.

user-8e47a4 05 June, 2019, 08:20:14

@papr no I was not. Interesting. I'll have to check with my teammates if we can just use that. Problem is, we need to synchronize measurements of multiple biometric sensors and be able to start and stop together. However, since all pupil measurements are neatly time stamped anyway, that might not be a problem at all.

papr 05 June, 2019, 08:22:06

@papr Capture/Mobile come with a time sync protocol, in case you want to sync multiple sensors. https://github.com/pupil-labs/pupil-helpers/tree/master/network_time_sync

user-8e47a4 05 June, 2019, 08:57:19

@papr wow, that's great! For our first test run in 2 weeks we plan to just do a simple recording and networking test run. So no focus on synchronization yet. I'll check out pupil mobile and otherwise I'll hack the save to disk function and add a networking part there. Thanks for the help and pointers to resources, you guys really have outstanding support!

user-8e47a4 05 June, 2019, 11:42:22

Where can I find documentation about the individual data processing and writing steps? As far as I can see the data producers only serialize and send their frames to the IPC which is just a wrapper around the functionality provided by zmq_tools.py. Since for my use-case I only need data-grabbing from the sensors and format compliant storage, splitting the code in 2 devices makes sense at the intra-process communication step. However making out the data flow isn't as straightforward as I'd hoped.

Can anyone please point me towards the relevant files for data producers and capture+storage for 200hz binocular + world capture and proper processing of frames and timestamps?

user-fbd5db 07 June, 2019, 09:48:01

[email removed] I or my team will take a look at your code later today, thanks for sharing

Please let me know if there is any updates on the code. I aim to do batch exporting. Thanks.

user-54376c 07 June, 2019, 12:10:23

I'm trying to use a different world camera (Logitech Brio 4k) in Pupil, which works fine - in [email removed] When I try to increase the resolution (1080p, 1440p, 4k) the camera image displayed in the Pupil Capture just freezes and it keeps logging those messages: world - [INFO] video_capture.uvc_backend: Hardware timestamps not supported for Logitech BRIO. Using software timestamps. world - [INFO] camera_models: No user calibration found for camera Logitech BRIO at resolution (1600, 896) world - [INFO] camera_models: No pre-recorded calibration available world - [WARNING] camera_models: Loading dummy calibration world - [WARNING] uvc: Could not set Value. 'Absolute Exposure Time'. world - [WARNING] uvc: Could not set Value. 'White Balance temperature'. When I lower the fps I can even use the 1080p mode. the camera is connected via USB3, doesn't seem like a bandwidth issue.

user-54376c 07 June, 2019, 12:12:26

As it turns out your libuvc probably just doesn't support it properly. There is a patch to support newer camera models (including the 4k Logitech Brio) for libuvc. Did you consider integrating that patch or did anyone successfully use the Logitech Brio 4k at [email removed] or higher resolution/fps?

papr 07 June, 2019, 12:27:46

@user-54376c Could you please create a corresponding PR? Then we can see if we can integrate the changes

user-b5c63f 10 June, 2019, 06:15:24

Hi, how do I obtain the current gaze position or fixation from the events dict?

papr 10 June, 2019, 06:18:02

@user-b5c63f If there is gaze or fixation data, then it is placed under the gaze and fixation keys if I remember correctly. You can always use the dict's keys() function to list all entries

user-b5c63f 10 June, 2019, 06:22:59

Thanks :)

user-32853a 12 June, 2019, 13:59:32

Hi, if I have an Android device running Pupil Mobile with an eye tracking headset plugged in via USBC, is it possible to access a stream of the pupil data from a custom Unity application installed on the same Android device? I have already been doing a similar process on my PC with the hmd-eyes Unity plugin, which allows me to access eye tracking data in Unity while Pupil Capture runs in the background.

user-97591f 12 June, 2019, 23:11:25

@user-32853a I have no idea if this works, but the concept should be implementable if it doesn't exist yet. There's a network protocol called Lab Streaming Layer that's primarily used for data acquisition across multiple devices, but can also be used for real-time visualization by accessing the streams (https://github.com/sccn/labstreaminglayer/wiki). There is an LSL plugin for Pupil, there's also an LSL plugin for Unity (LSL4Unity) and android apps (liblsl-Android/AndroidStudio). The missing piece is putting them all together. I've tested the utility of using LSL for pupil to Unity (hmd-eyes), but my setup is on the PC and the deployment target is PC/SteamVR. I'm sure it's possible, but it may take time to become familiar with how the streams in LSL works.

user-b5c63f 13 June, 2019, 00:31:41

Hi everyone, we're looking to have a plugin licensed so that it is open-source (can be modified, etc.) but cannot be used for commercial use. Does anyone have licensing suggestions for this, please?

wrp 13 June, 2019, 09:51:58

@user-b5c63f You have likely already visited: https://choosealicense.com/licenses/ - but why not just a strong "copy left" license which allows for commercial use but requires that changes to source code be published/disclosed?

user-b5c63f 13 June, 2019, 10:18:09

Hi @wrp thanks for the response πŸ™‚ That sounds good, but my team would prefer a license that prevents commercial use πŸ˜„

wrp 13 June, 2019, 11:12:17

I think this is kind of against the general ethos/framework of open source (so maybe you're looking for a license, but not necessarily an open source license). Perhaps there is a license out there that suits your purpose that I am not aware of that is not usually applied to software. Would be interested to hear what you decide on and the motivation behind the decision.

user-1d894f 19 June, 2019, 14:31:44

Which lens parameters are used for 100d and 60d world cams? Can I use additional lens, for e.g. with 80degree FOV?

papr 19 June, 2019, 14:33:20

@user-1d894f I do not know the answer to that. @user-755e9e are you able to help here?

papr 19 June, 2019, 14:43:15

@user-1d894f Which world cameras are you referring to exactly? Are you talking about Intel Realsense 3D cameras?

user-1d894f 19 June, 2019, 14:46:38

No, standard high-speed

papr 19 June, 2019, 14:50:22

@user-1d894f I see. Pupil headsets are shipped with two different lenses, a narrow and a wide field of view lens. Pupil Capture uses the camera intrinsics for the lens that is attached by default. You can use the Camera Intrinsics Estimation plugin to reestimate the camera intrinsics after changing the lens.

user-1d894f 19 June, 2019, 14:53:51

Yes I know πŸ˜ƒ So my question is which focal lenght are they and can I use my own lenses (with Intrinsics Estimation)

papr 19 June, 2019, 14:59:06

After running the intrinsics estimation, the results will be saved to a <camera name>.intrinsics file within the pupil_capture_settings folder. You can read it using:

import msgpack

with open(file_path, "rb") as fh:
    data = msgpack.unpack(fh, raw=False)
user-a6cc45 19 June, 2019, 17:34:17

hi, Is there somewhere a docker image which will run pupil player on Windows? Or is it possible to build such image?

wrp 19 June, 2019, 23:38:52

@user-a6cc45 you can just download the app bundle from https://github.com/pupil-labs/releases/latest and run Player on Windows

user-a6cc45 20 June, 2019, 05:53:56

@wrp I know but I'm making custom plugin and I need to run from source :/

user-a6cc45 20 June, 2019, 06:01:56

I followed instructions on https://github.com/pupil-labs/pupil/pull/1455 but when it comes to build the compiled modules I get error after

python setup.py install --install-lib ..\

(I also followed instructions how to remove error related to _ENABLE_EXTENDED_ALIGNED_STORAGE)

Error message is:

LINK : fatal error LNK1104: cannot open file 'boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION-vc141-mt-x64-1_67.lib'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit status 1104
wrp 20 June, 2019, 06:16:25

@user-a6cc45 can you add the plugin at runtime? Or running from source is a hard requirement for you?

user-a6cc45 20 June, 2019, 06:59:38

@wrp I'm using Matplotlib in my plugin and I've beed told that running from source is the only option. 2 months ago (before new pupil release and cboulay instruction update) I succeed in running from source, but now I want to run it on other computer and with new instructions it doesn't work :/

papr 20 June, 2019, 07:11:09

@user-a6cc45 if you have everything set up on the first computer, you could build your own bundle including matplotlib, and distribute to other computers

user-a6cc45 20 June, 2019, 08:22:51

@papr how can I build my own bundle? Is there any instruction?

papr 20 June, 2019, 08:24:24

@user-a6cc45 https://github.com/pupil-labs/pupil/tree/master/deployment

Use the x64 Native Tools Command Prompt for VS 2017, change the working directory to the deployment folder, and execute bundle.bat

papr 20 June, 2019, 08:25:19

I am expecting this will not work smoothly though. Good luck!

user-a6cc45 20 June, 2019, 08:34:24

@papr Thanks! I'll try that πŸ˜ƒ

user-f3a0e4 25 June, 2019, 11:09:41

@papr can anyone help me with pupil apps installation on a Mac? I have entered all code listed on the masters doc into my terminal but still get a message that the apps are damaged and can't be opened? Surely someone else has come across this?

papr 25 June, 2019, 13:01:05

@user-f3a0e4 Running from bundle is different than from source. The error regarding the damaged application might be due to a corrupted upload. We will re-upload as soon as possible.

Regarding installing the source dependencies: on macos you might need slightly different install instructions for libuvc. If it is not build correctly, pyuvc will fail as well.

papr 25 June, 2019, 13:01:41

I will let you know about the different install instructions as soon as I am on my computer.

user-f3a0e4 25 June, 2019, 13:03:38

Thank you. Yes, the main issue appears to be with downloading pyuvc (where I get the errors from terminal) where I get errors relating to libuvc/libusb

papr 25 June, 2019, 16:08:06

@user-f3a0e4 Please rerun the libuvc installation and try to reinstall pyuvc afterwards

git clone --single-branch --branch build_fix_mac https://github.com/pupil-labs/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make && make install
user-f3a0e4 25 June, 2019, 16:17:38

@papr I get the following error message when attempting to rerun the libuvc installation: [ 11%] Linking C shared library libuvc.dylib ld: library not found for -lusb-1.0 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [libuvc.0.0.9.dylib] Error 1 make[1]: [CMakeFiles/uvc.dir/all] Error 2 make: *** [all] Error 2

papr 25 June, 2019, 16:22:12

@user-f3a0e4 have you followed the instructions from above?

user-f3a0e4 25 June, 2019, 16:25:49

I think so. I simply entered the above code into my terminal

user-f3a0e4 25 June, 2019, 16:27:46

Okay, I have just re-entered it and it seems to have worked! I will update you on the success of the remaining installation process πŸ˜ƒ

papr 25 June, 2019, 16:33:15

@user-f3a0e4 great!

user-f3a0e4 25 June, 2019, 16:34:24

Okay, now I am getting more errors when trying to install the python packages with pip...

user-f3a0e4 25 June, 2019, 16:34:39

The error messages are long...would it be worth pasting the errors into here?

user-f3a0e4 25 June, 2019, 16:36:04

from what I can tell (not great at this), the main error now appears to be: fatal error: 'gl.h' file not found

papr 25 June, 2019, 16:36:57

@user-f3a0e4 Yeah, this is a problem on newer versions of macOS. Please install Xcode. It comes with the required header files.

papr 25 June, 2019, 16:37:19

I am working on an update for the docs right now

papr 25 June, 2019, 16:38:42

@user-f3a0e4 Also, please use pip3 install msgpack==0.5.6 to install msgpack

user-f3a0e4 25 June, 2019, 16:40:48

okay, it's a relief to know I wasn't doing anything stupid πŸ˜…

user-f3a0e4 25 June, 2019, 16:41:00

will I have to do anything once Xcode is installed?

papr 25 June, 2019, 16:41:36

@user-f3a0e4 No, the docs were just out of date. Apologies for that. As soon Xcode is installed, rerun the pyglui installation line

user-f3a0e4 25 June, 2019, 16:41:47

Perfect, thank you!

user-f3a0e4 25 June, 2019, 19:32:17

@papr Okay that has definitely worked! I now get through the terminal processes without any errors! However, now I don't know exactly where pupil capture/player has been installed on my device? πŸ˜… tried searching but cannot find!

papr 25 June, 2019, 19:34:37

@user-f3a0e4 you need to start it from the terminal. As I said, running the bundled application is different from running from source. They are independent from each other.

user-f3a0e4 25 June, 2019, 19:37:28

Ooh right sorry. So the error I got when trying to open the "pupil_v1.13-29-g277ac8c3_macos_x64.zip" file is independent from any errors relating to the terminal processes?

papr 25 June, 2019, 19:38:04

@user-f3a0e4 correct!

user-f3a0e4 25 June, 2019, 19:38:52

So am I right in thinking that there's nothing I can do about the bundles application until a new patch is released? Also, would you mind letting me know how to start pupil apps from terminal?

papr 25 June, 2019, 19:40:29

@user-f3a0e4 you are correct on that. Navigate to the pupil_src directory, and use python3 main.py to start capture.

papr 25 June, 2019, 19:41:04

Append the player argument to start player.

user-f3a0e4 25 June, 2019, 19:51:53

Right sorry again for asking simple questions, but I cannot find the pupil_src directory

papr 25 June, 2019, 19:52:29

@user-f3a0e4 did you git clone the Pupil repository?

papr 25 June, 2019, 19:53:29

Please check the beginning of the developer documentation for details

user-f3a0e4 25 June, 2019, 20:09:16

Okay, I'm starting to realise my errors. I thought the terminal could be used as a secondary means to download the pupil labs applications, and bypass the error I got with the bundled version.

papr 25 June, 2019, 20:10:05

The bundle just comes with all dependencies and executes the above command internally.

user-f3a0e4 25 June, 2019, 21:20:59

Okay I have finally got it working and have managed to load pupil capture! Can you please let me know what you mean by append the player argument to start player?

user-f3a0e4 25 June, 2019, 21:45:07

@papr Okay I have finally got it working and have managed to load pupil capture! Can you please let me know what you mean by append the player argument to start player?

papr 25 June, 2019, 22:47:11

@user-f3a0e4 python3 main.py player or python3 main.py player <path to recording>

user-f3a0e4 26 June, 2019, 06:40:56

Amazing, thanks @papr all sorted. Thanks a million for your help!

user-42995d 26 June, 2019, 09:20:03

Hi I am experiencing difficulties with the latest release, i installed the deb packages on linux mint without problems, but pupil capture won't start up, I don't have any console output to provide ...

user-98f03c 26 June, 2019, 11:26:29

Good day! Tell me please, is there an API for working with glasses in C++ (for Windows)? We need to integrate work with glasses into our program without using additional software.

papr 26 June, 2019, 11:40:40

@user-98f03c Unfortunately, there is no such "headless" library. The primary way to access real-time data is through our network api while running Pupil Capture or Service.

user-98f03c 26 June, 2019, 11:47:06

Ok, thanks you!

papr 26 June, 2019, 11:48:34

@user-42995d you should have access to the log file at ~/pupil_capture_settings/capture.log

papr 26 June, 2019, 13:04:20

@user-f3a0e4 I do not get any errors with the zip file. Could you try to redownload it?

user-adf88b 26 June, 2019, 20:09:25

https://github.com/pupil-labs/hmd-eyes/releases/tag/v0.61

Is this the latest version of the pupil software that can be used with the hololens?

papr 26 June, 2019, 21:10:59

@user-adf88b If I remember correctly, yes

user-adf88b 26 June, 2019, 21:11:49

Awesome ty

user-f3a0e4 27 June, 2019, 07:47:12

Hi @papr I have just tried again and got the same error message. If it helps, I am working on a macbook air (macOS Mojave 10.14.5)

Chat image

user-76a6ff 27 June, 2019, 08:39:48

Helle there, we also have some issue with the installation of the new version of Pupil-Labs capture. Here the screenshot. We tried to follow the instructions to install it via Terminal, but we were not successful. Is it possible to have an older version ? Thank you in advance for the help.

Chat image

papr 27 June, 2019, 12:31:09

@user-f3a0e4 @user-76a6ff could you try copying the application to the Applications folder before running the application?

papr 27 June, 2019, 13:05:14

@user-f3a0e4 @user-76a6ff We were able to replicate the error and are working on a fix

user-f3a0e4 27 June, 2019, 13:06:42

Okay great. Opening through terminal is working for me so no worries!

papr 27 June, 2019, 13:41:26

@user-f3a0e4 @user-76a6ff The release has been updated. Please redownload the bundles and try again.

user-28fba0 27 June, 2019, 14:07:11

@papr is there a datasheet where I can find the camera specifications used in the 120Hz pupil eye camera such as camera sensor dimensions?

user-28fba0 27 June, 2019, 14:11:39

How similar are the components used in making the pupil labs eye tracking module with the ones mentioned here in the bill of materials https://github.com/pupil-labs/pupil-docs/blob/master/pupil-hardware/pupil-diy.md ?

papr 27 June, 2019, 14:13:56

@user-28fba0 You can estimate the eye camera intrinsics yourself by activating the eye camera in Capture's world process and running the Camera Intrinsics Estimation plugin. You will need to print out the circle pattern such that is visible in IR light. The pattern shown on the screen is not visible in IR.

user-28fba0 27 June, 2019, 14:15:16

okay thanks

user-f3a0e4 27 June, 2019, 14:47:30

@papr where can I find the latest version? I have tried downloading latest from ...pupil-labs/pupil/releases again but it still fails with same error. It also says this version was last updated 3 days ago? Perhaps I am downloading wrong version?

user-f3a0e4 27 June, 2019, 15:11:09

Hi @user-dd52c0 unfortunately I am still getting the same error: "pupil player is damaged and can't be opened. You should move it to the trash"

user-f3a0e4 27 June, 2019, 15:11:31

Sorry * @papr

user-f3a0e4 27 June, 2019, 15:37:25

@papr can I please ask for help on a new issue? When controlling the start and end of a recording using an arduino (to synchronise with motion capture), the recorded video is always missing a random amount of data. For example, the motion capture is set to record for a 25 second period, but the recorded video will randomly only save somewhere between 22.5 and 24.9 seconds of data. The strange part, that makes me think it is not due to the arduino script, is that on the first frame of the video fixations and trails will often appear across the screen - presumably reflecting all eye data occurring before the video started recording? Have you come across this before and know how I might fix it?

user-76a6ff 27 June, 2019, 15:41:01

@papr we copied the application in the application folder, but unfortunately is not still working. It said the same error of @user-f3a0e4 I am sorry. Thank you for you help

papr 27 June, 2019, 15:41:27

@user-f3a0e4 @user-76a6ff ok, looking into it

papr 27 June, 2019, 15:43:57

@user-f3a0e4 Yes, this is expected, since the cameras are controlled by different processes and it is not guaranteed that all processes start recording at the exact same time. When opening a recording in Player, gaze data is assigned to their closest world frame. If the world recording started later than the gaze recording, there will be multiple gaze points assigned to the first frame, as you described.

user-f3a0e4 27 June, 2019, 15:48:53

Okay I see. From you experience, is there anyway to reduce the extent of this lag? Sometimes it is up to 2.5 seconds which is a lot to try and correct for

papr 27 June, 2019, 15:50:29

@user-f3a0e4 Do you have a custom plugin running in Capture?

papr 27 June, 2019, 22:03:57

@user-f3a0e4 @user-76a6ff Please try to redownload the updated release: https://github.com/pupil-labs/pupil/releases/download/v1.13/pupil_v1.13-31-ge54e13f4_macos_x64_signed.service_player_capture.zip

There shouldn't be any more signing related issues.

user-76a6ff 27 June, 2019, 23:23:12

@papr Many thanks. Now it works properly

user-f3a0e4 28 June, 2019, 07:30:18

@papr Yep working now! I'll also find out today about the custom plugin

End of June archive