public MainWindow() { InitializeComponent(); facade = new Facade(ImageSourceManager.GetInstance(this), AzureImageState.GetInstance(this), DetectFacesOnImage.GetInstance(this)); }
public VideoSource(MainWindow mainWindow) { _mainWindow = mainWindow; identifyFaces = DetectFacesOnImage.GetInstance(mainWindow); }