From 52aadcf62941668f3601e0e4d60912f3e3a3b593 Mon Sep 17 00:00:00 2001 From: Massimo Bonanni Date: Mon, 25 Mar 2024 08:08:10 +0000 Subject: [PATCH 1/2] LAB01-EX09-TASK01: Dynamic creation of the URL of the image to be analyzed (like in Python) --- Instructions/Exercises/01-analyze-images.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Instructions/Exercises/01-analyze-images.md b/Instructions/Exercises/01-analyze-images.md index 533eab9a..db2b1e8e 100644 --- a/Instructions/Exercises/01-analyze-images.md +++ b/Instructions/Exercises/01-analyze-images.md @@ -431,11 +431,9 @@ using (var client = new HttpClient()) client.DefaultRequestHeaders.Accept.Add(contentType); client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", key); - // You can change the url to use other images in the images folder, - // such as "building.jpg" or "person.jpg" to see different results. var data = new { - url="https://github.com/MicrosoftLearning/mslearn-ai-vision/blob/main/Labfiles/01-analyze-images/Python/image-analysis/images/street.jpg?raw=true" + url = $"https://github.com/MicrosoftLearning/mslearn-ai-vision/blob/main/Labfiles/01-analyze-images/Python/image-analysis/{imageFile}?raw=true" }; var jsonData = JsonSerializer.Serialize(data); From 335c40bbd64fdd864224b4cce70ee036e4ae1a66 Mon Sep 17 00:00:00 2001 From: Massimo Bonanni Date: Mon, 25 Mar 2024 08:43:55 +0000 Subject: [PATCH 2/2] LAB02-EX04-STEP05: The remarks for C# are differet from Python and the isnstruction refers to Python remarks --- Instructions/Exercises/05-ocr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Instructions/Exercises/05-ocr.md b/Instructions/Exercises/05-ocr.md index ee65e16c..de3f1343 100644 --- a/Instructions/Exercises/05-ocr.md +++ b/Instructions/Exercises/05-ocr.md @@ -198,7 +198,7 @@ one of the features of the **Azure AI Vision SDK** is to read text from an image // Draw bounding box around line var drawLinePolygon = true; - // Return each line detected in the image and the position bounding box around each line + // Return the position bounding box around each line