Beispiel #1
0
        private async Task CaptureAndSendImageForAnalysis()
        {
            var image = await _pictureService.CapturePhoto();

            var imageStream = await _pictureService.GetImageStream(image);

            await _cloudDataService.SendImageToAzure(imageStream);

            _motionService.MotionEventHandler -= HandleMotionEvent;
        }