We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7716c1a + 7a265dd commit 4d2bbddCopy full SHA for 4d2bbdd
CustomVision/ObjectDetection/Program.cs
@@ -25,14 +25,14 @@ static void Main(string[] args)
25
string predictionKey = Environment.GetEnvironmentVariable("CUSTOM_VISION_PREDICTION_KEY");
26
// </snippet_keys>
27
28
+ // <snippet_create>
29
// Create the Api, passing in the training key
30
CustomVisionTrainingClient trainingApi = new CustomVisionTrainingClient()
31
{
32
ApiKey = trainingKey,
33
Endpoint = ENDPOINT
34
};
35
- // <snippet_create>
36
// Find the object detection domain
37
var domains = trainingApi.GetDomains();
38
var objDetectionDomain = domains.FirstOrDefault(d => d.Type == "ObjectDetection");
0 commit comments