Skip to content

Commit a1077c0

Browse files
authored
Small typos
1 parent 472337b commit a1077c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/asciidoc/accessories/ai-camera/details.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Once `libcamera` dequeues the image and inference data buffers from the kernel,
4949
| Floating point array storing the input tensor.
5050

5151
| `CnnOutputTensorInfo`
52-
| Network specific parameters describing the output tensors structure:
52+
| Network specific parameters describing the output tensor's structure:
5353

5454
[source,c]
5555
----
@@ -67,7 +67,7 @@ struct CnnOutputTensorInfo {
6767
----
6868

6969
| `CnnInputTensorInfo`
70-
| Network specific parameters describing the input tensors structure:
70+
| Network specific parameters describing the input tensor's structure:
7171

7272
[source,c]
7373
----
@@ -204,7 +204,7 @@ def draw_detections(request, detections, stream="main"):
204204
cv2.rectangle(m.array, (b.x, b.y), (b.x + b.width, b.y + b.height), (255, 0, 0, 0))
205205
206206
def parse_detections(request, stream='main'):
207-
"""Parse the output tensor into a number of detected objects, scaled to the ISP out."""
207+
"""Parse the output tensor into a number of detected objects, scaled to the ISP output."""
208208
outputs = imx500.get_outputs(request.get_metadata())
209209
boxes, scores, classes = outputs[0][0], outputs[1][0], outputs[2][0]
210210
detections = [ Detection(box, category, score, metadata)
@@ -245,7 +245,7 @@ There are a number of scaling/cropping/translation operations occurring from the
245245
| Returns the input tensor size based on the neural network model used.
246246

247247
| `IMX500.get_outputs(metadata)`
248-
| Returns the output tensors from the Picamera2 image metadata metadata.
248+
| Returns the output tensors from the Picamera2 image metadata.
249249

250250
| `IMX500.get_output_shapes(metadata)`
251251
| Returns the shape of the output tensors from the Picamera2 image metadata for the neural network model used.

0 commit comments

Comments
 (0)