Skip to content

Commit

Permalink
Remove unused script parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Purg committed Dec 18, 2024
1 parent f857f8f commit 97991e8
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions angel_system/object_detection/yolov11_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,6 @@ def plot_one_box(xywh, img, color=None, label=None, line_thickness=1) -> None:
"than this will not be considered for output."
),
)
@click.option(
"--iou-thresh",
type=float,
default=0.45,
help=(
"IoU threshold used during NMS to filter out overlapping bounding "
"boxes."
),
)
@click.option(
"--tensorrt",
is_flag=True,
Expand All @@ -161,18 +152,6 @@ def plot_one_box(xywh, img, color=None, label=None, line_thickness=1) -> None:
"for plotting."
)
)
@click.option(
"--top-k", "save_top_k",
type=int,
default=None,
help=(
"Optionally specify that only the top N confidence detections should "
"be saved to the output images. If this is not provided, all "
"detections with confidence above the --conf-thres value will be "
"plotted. This only applies to objects, not detected hands by that "
"respective model."
)
)
@click.option(
"--save-vid",
is_flag=True,
Expand All @@ -195,10 +174,8 @@ def yolo_v11_inference_objects(
obj_img_size: int,
hand_img_size: int,
conf_thresh: float,
iou_thresh: float,
tensorrt: bool,
save_dir: Optional[Path],
save_top_k: Optional[int],
save_vid: bool,
):
"""
Expand Down

0 comments on commit 97991e8

Please sign in to comment.