public override void Display() { base.Display(); DisplayEventManager.OnDisplayAudioClip(Audio); DisplayEventManager.OnDisplayImage(Texture); double confidence = (Math.Round(double.Parse(Confidence.ToString()) * 100 * 100)) / 100; DisplayEventManager.OnDisplayQuestion(string.Format("I am {0}% confident this is a correct detection of a human in this audio clip. Can you please verify my detection?", confidence)); DisplayEventManager.OnBoolQuestion(this); }
public override void Display() { Debug.Log(string.Format("Query {0} being displayed", QueryId)); base.Display(); DisplayEventManager.OnDisplayImage(Texture); }
private void OnTextureDownloaded(object sender, DownloadTextureEventArgs e) { Debug.Log("Image Received"); DisplayEventManager.OnDisplayImage(e.ImageTexture); }