public MainWindow()
        {
            InitializeComponent();
            var url             = "https://brazilsouth.api.cognitive.microsoft.com";
            var token           = Environment.GetEnvironmentVariable("AZURE-COGNITIVESERVICES-TOKEN", EnvironmentVariableTarget.User);
            var predictionToken = Environment.GetEnvironmentVariable("AZURE-CUSTOMVISION-PREDICTION-TOKEN", EnvironmentVariableTarget.User);

            token           = "bf5c88d9a9a84747a2d4bd0170bb4f7c";
            predictionToken = "7222807f92cc4776aa6da5c888ec06f5";

            _visionClient            = new VisionClient(token, url);
            _customVisionClient      = new CustomVisionClient(predictionToken);
            _localCustomVisionClient = new LocalCustomVisionClient();
            _currentProjectId        = _projectIdBolacha;
        }
Ejemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     _localCustomVisionClient = new LocalCustomVisionClient();
 }
Ejemplo n.º 3
0
 public MainWindow()
 {
     InitializeComponent();
     _customVisison = new LocalCustomVisionClient();
     ShowOutput(Config.ShowOutput);
 }