gkaguirrelab / transparentTrack

Determine pupil size and gaze location in IR video of the eye
MIT License
16 stars 9 forks source link

Invalid eyePose value #128

Closed mdefende closed 6 years ago

mdefende commented 6 years ago

Hi,

I have been running a video through the pipeline and have made it past the scene parameter estimation step, but am getting an error in the second fitPupilPerimeter step near the end of the Bayesian smoothing. I'm including a picture with the error. Let me know what other files I should send. Thanks!

mdp014_smoothpupilradius_error

gkaguirre commented 6 years ago

Please post the _pupil.mat file and I’ll take a look.

mdefende commented 6 years ago

MDP014_GazeCal01_pupil.zip

gkaguirre commented 6 years ago

Sorry, I need the perimeter and sceneGeometry files as well.

mdefende commented 6 years ago

No problem, here you go! MDP014_GazeCal01_Files.zip

gkaguirre commented 6 years ago

Matt -- I replicated the error and have pushed a fix. Code has been updated in both the transparentTrack and gkaModelEye repos. There was one frame of the video, during a blink, for which the attempt to fit an ellipse to the pupil failed (appropriately so), but in a way that the code had not anticipated.