Skip to content

Commit

Permalink
Small comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lurch authored and davidplowman committed Oct 24, 2024
1 parent 4655177 commit e543679
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/imx500/imx500_object_detection_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/imx500/imx500_object_detection_demo_mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/imx500/imx500_pose_estimation_higherhrnet_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/imx500/imx500_segmentation_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e543679

Please sign in to comment.