I have tried to get Eye_Closed attributes in c#. It works with issue... all the time score[ INDEX_EYE_CLOSED_LEFT] == score[ INDEX_EYE_CLOSED_RIGHT]. If I'am closing right eye then face analyzer returns what left eye is closed too. My demo tracks only right eye, if I close left eye nothing happens, don't know why.
I have overriden method OnFaceSetup and added
attribute.QueryProfile(PXCMFaceAnalysis.Attribute.Label.LABEL_EYE_CLOSED, out pinfo);
pinfo.threshold = 50;
attribute.SetProfile(PXCMFaceAnalysis.Attribute.Label.LABEL_EYE_CLOSED, ref pinfo);
I have tried to get Eye_Closed attributes in c#. It works with issue... all the time score[ INDEX_EYE_CLOSED_LEFT] == score[ INDEX_EYE_CLOSED_RIGHT]. If I'am closing right eye then face analyzer returns what left eye is closed too. My demo tracks only right eye, if I close left eye nothing happens, don't know why.
I have overriden method OnFaceSetup and added