Skip to content

Commit 0cfcc69

Browse files
Youssef1313natke
authored andcommitted
Correct terminology (#16845)
* Fix line references and correct terminology * Revert line reference, it was correct before
1 parent b15f307 commit 0cfcc69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/machine-learning/tutorials/object-detection-onnx.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ The data output by the model contains coordinates and dimensions of the bounding
209209

210210
[!code-csharp [DimensionsBaseClass](~/machinelearning-samples/samples/csharp/getting-started/DeepLearning_ObjectDetection_Onnx/ObjectDetectionConsoleApp/YoloParser/DimensionsBase.cs#L3-L9)]
211211

212-
`DimensionsBase` has the following `float` fields:
212+
`DimensionsBase` has the following `float` properties:
213213

214214
- `X` contains the position of the object along the x-axis.
215215
- `Y` contains the position of the object along the y-axis.
@@ -233,7 +233,7 @@ Next, create a class for your bounding boxes.
233233

234234
[!code-csharp [YoloBoundingBoxClass](~/machinelearning-samples/samples/csharp/getting-started/DeepLearning_ObjectDetection_Onnx/ObjectDetectionConsoleApp/YoloParser/YoloBoundingBox.cs#L7-L21)]
235235

236-
`YoloBoundingBox` has the following fields:
236+
`YoloBoundingBox` has the following properties:
237237

238238
- `Dimensions` contains dimensions of the bounding box.
239239
- `Label` contains the class of object detected within the bounding box.
@@ -256,7 +256,7 @@ Now that the classes for dimensions and bounding boxes are created, it's time to
256256

257257
[!code-csharp [YoloParserUsings](~/machinelearning-samples/samples/csharp/getting-started/DeepLearning_ObjectDetection_Onnx/ObjectDetectionConsoleApp/YoloParser/YoloOutputParser.cs#L10)]
258258

259-
1. Inside the `YoloOutputParser` class definition, add the following constant and fields.
259+
1. Inside the `YoloOutputParser` class definition, add the following constants and fields.
260260

261261
[!code-csharp [ParserVarDefinitions](~/machinelearning-samples/samples/csharp/getting-started/DeepLearning_ObjectDetection_Onnx/ObjectDetectionConsoleApp/YoloParser/YoloOutputParser.cs#L12-L21)]
262262

0 commit comments

Comments
 (0)