コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();

            facade = new Facade(ImageSourceManager.GetInstance(this),
                                AzureImageState.GetInstance(this),
                                DetectFacesOnImage.GetInstance(this));
        }
コード例 #2
0
 public VideoSource(MainWindow mainWindow)
 {
     _mainWindow   = mainWindow;
     identifyFaces = DetectFacesOnImage.GetInstance(mainWindow);
 }
コード例 #3
0
 public Facade(ImageSourceManager _imageSourceManager, AzureImageState _azureImageState, DetectFacesOnImage _identifyFaces)
 {
     imageSourceManager = _imageSourceManager;
     azureImageState    = _azureImageState;
     identifyFaces      = _identifyFaces;
 }