Skip to content

Commit d877b07

Browse files
committed
ai camera: Fix some typos
Links to the source files were wrong and update the helper class names to match the latest code.
1 parent 5c1691c commit d877b07

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ struct CnnInputTensorInfo {
8383

8484
=== `rpicam-apps`
8585

86-
`rpicam-apps` provides an IMX500 post-processing stage base class that implements helpers for IMX500 post-processing stages: https://github.com/raspberrypi/rpicam-apps/blob/post_processing_stages/imx500_post_processing_stage.hpp[`IMX500PostProcessingStage`]. Use this base class to derive a new post-processing stage for any neural network model running on the IMX500. For an example, see https://github.com/raspberrypi/rpicam-apps/blob/post_processing_stages/imx500_mobilenet_ssd.cpp[`imx500_mobilenet_ssd.cpp`]:
86+
`rpicam-apps` provides an IMX500 post-processing stage base class that implements helpers for IMX500 post-processing stages: https://github.com/raspberrypi/rpicam-apps/blob/main/post_processing_stages/imx500/imx500_post_processing_stage.hpp[`IMX500PostProcessingStage`]. Use this base class to derive a new post-processing stage for any neural network model running on the IMX500. For an example, see https://github.com/raspberrypi/rpicam-apps/blob/main/post_processing_stages/imx500/imx500_object_detection.cpp[`imx500_object_detection.cpp`]:
8787

8888
[source,cpp]
8989
----
90-
class ObjectInference : public IMX500PostProcessingStage
90+
class ObjectDetection : public IMX500PostProcessingStage
9191
{
9292
public:
93-
ObjectInference(RPiCamApp *app) : IMX500PostProcessingStage(app) {}
93+
ObjectDetection(RPiCamApp *app) : IMX500PostProcessingStage(app) {}
9494
9595
char const *Name() const override;
9696
@@ -102,7 +102,7 @@ public:
102102
};
103103
----
104104

105-
For every frame received by the application, the `Process()` function is called (`ObjectInference::Process()` in the above case). In this function, you can extract the output tensor for further processing or analysis:
105+
For every frame received by the application, the `Process()` function is called (`ObjectDetection::Process()` in the above case). In this function, you can extract the output tensor for further processing or analysis:
106106

107107
[source,cpp]
108108
----

documentation/asciidoc/accessories/ai-camera/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The MobileNet SSD neural network performs basic object detection, providing boun
5656

5757
`imx500_mobilenet_ssd.json` declares a post-processing pipeline that contains two stages:
5858

59-
. `imx500_mobilenet_ssd`, which picks out bounding boxes and confidence values generated by the neural network in the output tensor
59+
. `imx500_object_detection`, which picks out bounding boxes and confidence values generated by the neural network in the output tensor
6060
. `object_detect_draw_cv`, which draws bounding boxes and labels on the image
6161

6262
The MobileNet SSD tensor requires no significant post-processing on your Raspberry Pi to generate the final output of bounding boxes. All object detection runs directly on the AI Camera.

0 commit comments

Comments
 (0)