void UseImageLabelingModel()
        {
            var options       = new VisionLabelDetectorOptions(.6f);
            var labelDetector = vision.GetLabelDetector(options);
            var image         = new VisionImage(ImgSample.Image);

            labelDetector.Detect(image, HandleVisionLabelDetectionCallback);

            void HandleVisionLabelDetectionCallback(VisionLabel [] labels, NSError error)
            {
                if (error != null)
                {
                    TxtData.Text = error.Description;
                    return;
                }

                if (labels == null || labels.Length == 0)
                {
                    TxtData.Text = "No labels were found.";
                    return;
                }

                var stringBuilder = new StringBuilder();

                foreach (var label in labels)
                {
                    stringBuilder.AppendLine($"Label: {label.Label}");
                    stringBuilder.AppendLine($"Entity Id: {label.EntityId}");
                    stringBuilder.AppendLine($"Confidence: {label.Confidence}");
                    stringBuilder.AppendLine();
                }

                TxtData.Text = stringBuilder.ToString();
            }
        }