eyeloop icon indicating copy to clipboard operation
eyeloop copied to clipboard

Eyetracking of videos

Open marcbue opened this issue 1 year ago • 2 comments

Hi,

I want to use eyeloop to track the pupil of an eye of a mouse. I managed to install eyeloop and can run it using the command line. The gui appears and the video is shown as well as the binarized image and another one that is black. image

After the video is processed there is no pupil detection info available in the datalog.json file. I read now that I have to add the pupil using the key 1 in the gui. I get the following error: image

Can you help me with this?

Cheers

Marc

marcbue avatar Mar 15 '23 14:03 marcbue

Same Error in Ubuntu 22.04. I got the same message and the gui crashed when pressing D, or when i press Y after Z.
Anyone can help me please? thanks to you all

Kim-EunKyeoung avatar Apr 11 '23 14:04 Kim-EunKyeoung

Not sure if this is it, but here, the windows are destroyed when the loop is executed the first time: https://github.com/simonarvin/eyeloop/blob/cd22fb79e8d2c186ed23e2b15cef57887bbdeffe/eyeloop/guis/minimum/minimum_gui.py#L355 this probably also removes the mousecallback functions that are used to set variables like 'cursor'. creating the windows again (cv2.namedWindow("CONFIGURATION") and cv2.namedWindow('Tool tip")) and adding the mousecallbacks (like https://github.com/simonarvin/eyeloop/blob/cd22fb79e8d2c186ed23e2b15cef57887bbdeffe/eyeloop/guis/minimum/minimum_gui.py#L250) should fix at least this aspect.

alex-attinger avatar Jun 30 '23 19:06 alex-attinger