💻 software-dev


nmt 04 April, 2023, 14:22:25

Dual gaze on surface

user-551c16 08 April, 2023, 06:35:48

Is the software compatible with HTC VIVE Focus 3 and their add-on Eye Tracker? If so, is there any documentation or other important information about this?

nmt 09 April, 2023, 08:11:44

Hi @user-551c16 👋. Our VR Add-ons will only fit HTC Vive, Vive Pro and Vive Cosmos. Software wise, we have an integration with Unity3D: https://github.com/pupil-labs/hmd-eyes

user-13f46a 10 April, 2023, 19:18:38

Issue: running "api.download_recordings_zip" function

How:

api: Api = pupilcloud.Api(api_key=api_key, host="https://api.cloud.pupil-labs.com ")

ids: list[str] = [id_for_one_video]

data : User = api.get_profile().result # verified that get_profile() was correct using assert

api.download_recordings_zip(ids=ids) # Crash point

Output:

File "/home/blablabla/venv/lib/python3.9/site-packages/pupilcloud/rest.py", line 224, in request r.data = r.data.decode('utf8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 11: invalid start byte

rest.py L224:

r.data = r.data.decode('utf8')

Post-Mortem: r.data[:15]

b'PK\x03\x04\x14\x00\x00\x00\x00\x00`\x81\x87V"'

nmt 11 April, 2023, 09:14:37

Hi @user-13f46a 👋. Is there a particular reason you've removed the exception handling from your code? Please try again with the following added:

try:
    # Download multiple recordings in zip archive
    api.download_recordings_zip(ids=ids)
except ApiException as e:
    print("Exception when calling RecordingsApi->download_recordings_zip: %s\n" % e)
user-2b9d78 11 April, 2023, 11:42:38

Hi, I have a eyetracker add-on for HTC vive wich actually works fine. I have an application that running on Unity and I cast the VR view on pupil capture as recommended by using the screencast camera prefab. That works fine also. But I'm willing to know if there is a way to "stream the result from pupil capture through the network". My application is a multi-user one and so I want to compare the results for two participants on another computer than the ones used to play the experiments.
Thanks in advance

user-13f46a 11 April, 2023, 17:34:52

For the time being, I have been approaching with the following method that I think your team previously proposed, which worked in my case, but I think this limits my accessibility to full APIs

with file.open('wb') as f: f.write(self.api.download_recording_zip(id, _preload_content=False).data)

user-13f46a 11 April, 2023, 22:25:39
  • One more question:

It looks like "Timeseries Data" download is independent of "Pupil Player Format" download. And when calling api.download_recording function, it retrieves "Pupil Player Format" data. Can I ask what function I should call to retrieve "Timeseries Data" data?

nmt 14 April, 2023, 07:54:50

Hi @user-13f46a! Using /workspaces/{workspace_id}/recordings:raw-data-export?ids={recording_id} you can download the Timeseries + Video data. Do let me know if that is sufficient for you!

user-5b0955 14 April, 2023, 14:57:09

URGENT Help Needed: We recorded many sessions using pupil invisible. Now we want to download those session with metadata from Pupil cloud. As there are too many session, is there any API to download data from pupil cloud using script instead of manual approach?

user-980a66 14 April, 2023, 15:28:28

Alternatively, is there a way to bulk-download multiple recordings at once from Pupil cloud?

user-cdcab0 14 April, 2023, 19:40:15

Hi, @user-5b0955 and @user-980a66 - we do offer an api over https at https://api.cloud.pupil-labs.com/. A python implementation is available at https://github.com/pupil-labs/pupil-cloud-client-python

You will want to look at the download_recording_zip and download_recordings_zip calls.

user-980a66 30 April, 2023, 03:11:21

any way to download timeseries data using the API? I can view events in the provided "event.txt" file but it does not include timestamps

user-593589 18 April, 2023, 08:21:55

Hi! Can anybody quick hint me where I can find cli World Video export? the batch_exporter.py seems broken? I basically don't want use the GUI for exporting my videos. Which file can I use?

nmt 18 April, 2023, 12:03:23

Hey @user-593589 👋. The community projects that batch export data don't export the world video to the best of my knowledge – you'd have to do this manually.

user-593589 18 April, 2023, 13:11:46

Hi @nmt Thank you for the answer, but now I'm confused. Basically I need a working batch_exporter.py script. https://github.com/pupil-labs/pupil/blob/master/pupil_src/shared_modules/batch_exporter.py So I was wondering if the functionality moved somewhere else?

nmt 18 April, 2023, 13:37:37

Unfortunately, the batch exporter was disabled due to some technical details that were introduced with post-hoc detections. There's essentially no easy way to reenable the batch exporter functionality

nmt 18 April, 2023, 13:41:58

There are some community examples, e.g. https://github.com/tombullock/batchExportPupilLabs, but they don't do video export

user-9532c9 28 April, 2023, 19:52:31

Hello. I installed the drivers for my laptop's built-in camera and it started working. but then I tried to use a usb camera and this error appeared. could you please tell me how I can solve this?

Chat image

nmt 02 May, 2023, 13:18:42

Hi @user-9532c9. Note that our software is designed for wearable eye trackers that use near-eye cameras. It is not designed to work with remote cameras, like that found in your laptop. Recommending checking out something like the webgazer project: https://webgazer.cs.brown.edu/

End of April archive