/// <summary> /// Determines whether the group training is finished. /// </summary> /// <returns><c>true</c> if the group training is finished; otherwise, <c>false</c>.</returns> public bool IsGroupTrained() { // create the user-group if needed if (userGroupId != initedGroupId) { GetOrGreateUserGroup(); } if (userGroupId != initedGroupId) { return(false); } if (faceManager != null) { return(faceManager.IsPersonGroupTrained(userGroupId)); } return(false); }