From e54367984f030a3d8b42e606cb8cbb078f7c5c0e Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Wed, 23 Oct 2024 11:58:02 +0100 Subject: [PATCH] Small comment typos --- examples/imx500/imx500_object_detection_demo.py | 2 +- examples/imx500/imx500_object_detection_demo_mp.py | 2 +- examples/imx500/imx500_pose_estimation_higherhrnet_demo.py | 2 +- examples/imx500/imx500_segmentation_demo.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/imx500/imx500_object_detection_demo.py b/examples/imx500/imx500_object_detection_demo.py index ab792975..55f7bb29 100755 --- a/examples/imx500/imx500_object_detection_demo.py +++ b/examples/imx500/imx500_object_detection_demo.py @@ -22,7 +22,7 @@ def __init__(self, coords, category, conf, metadata): def parse_detections(metadata: dict): - """Parse the output tensor into a number of detected objects, scaled to the ISP out.""" + """Parse the output tensor into a number of detected objects, scaled to the ISP output.""" global last_detections bbox_normalization = intrinsics.bbox_normalization threshold = args.threshold diff --git a/examples/imx500/imx500_object_detection_demo_mp.py b/examples/imx500/imx500_object_detection_demo_mp.py index 3bce0e6f..9bc5bd49 100755 --- a/examples/imx500/imx500_object_detection_demo_mp.py +++ b/examples/imx500/imx500_object_detection_demo_mp.py @@ -23,7 +23,7 @@ def __init__(self, coords, category, conf, metadata): def parse_detections(metadata: dict): - """Parse the output tensor into a number of detected objects, scaled to the ISP out.""" + """Parse the output tensor into a number of detected objects, scaled to the ISP output.""" bbox_normalization = intrinsics.bbox_normalization threshold = args.threshold iou = args.iou diff --git a/examples/imx500/imx500_pose_estimation_higherhrnet_demo.py b/examples/imx500/imx500_pose_estimation_higherhrnet_demo.py index f443308d..2b754e46 100755 --- a/examples/imx500/imx500_pose_estimation_higherhrnet_demo.py +++ b/examples/imx500/imx500_pose_estimation_higherhrnet_demo.py @@ -17,7 +17,7 @@ def ai_output_tensor_parse(metadata: dict): - """Parse the output tensor into a number of detected objects, scaled to the ISP out.""" + """Parse the output tensor into a number of detected objects, scaled to the ISP output.""" global last_boxes, last_scores, last_keypoints np_outputs = imx500.get_outputs(metadata=metadata, add_batch=True) if np_outputs is not None: diff --git a/examples/imx500/imx500_segmentation_demo.py b/examples/imx500/imx500_segmentation_demo.py index 4f3c1e77..64263508 100755 --- a/examples/imx500/imx500_segmentation_demo.py +++ b/examples/imx500/imx500_segmentation_demo.py @@ -19,7 +19,7 @@ def create_and_draw_masks(request: CompletedRequest): def create_masks(request: CompletedRequest) -> Dict[int, np.ndarray]: - """Create masks from the output tensor, scaled to the ISP out.""" + """Create masks from the output tensor, scaled to the ISP output.""" res = {} np_outputs = imx500.get_outputs(metadata=request.get_metadata()) input_w, input_h = imx500.get_input_size()