/// <summary>
        /// Async function to execute DetectFace command. Will detect faces and speak the number of faces out loud, if speakers is connected
        /// </summary>
        /// <param name="obj"></param>
        private async void DetectFace(object obj)
        {
            FaceRectangle[] faceRects = await UploadAndDetectFacesAsync();

            string textToSpeak = "No faces detected";

            if (faceRects.Length == 1)
            {
                textToSpeak = "1 face detected";
            }
            else if (faceRects.Length > 1)
            {
                textToSpeak = $"{faceRects.Length} faces detected";
            }

            Debug.WriteLine(textToSpeak);

            await _textToSpeak.SpeakAsync(textToSpeak, CancellationToken.None);
        }