void ImageAnalysis.IAnalyzer.Analyze(IImageProxy imageProxy) { var mediaImage = imageProxy.Image; if (mediaImage == null) { imageProxy.Close(); return; } this.imageProxy = imageProxy; var image = InputImage.FromMediaImage(mediaImage, imageProxy.ImageInfo.RotationDegrees); Analyze(image); }