void ReceivePupilData(string topic, Dictionary <string, object> dictionary, byte[] thirdFrame = null) { PupilData pupilData = new PupilData(dictionary); if (OnReceivePupilData != null) { OnReceivePupilData(pupilData); } }
void ReceivePupilData(PupilData pupilData) { pupilConfidence = pupilData.Confidence; pupilDiameter = pupilData.Diameter; }