Re-renders the segmentation overlay (masks, bounding boxes, and labels)
returned by image_segment_dl(). Any visual parameter not explicitly
supplied defaults to the value used during the original call.
Usage
# S3 method for class 'image_segment_dl'
plot(
x,
img = NULL,
col_highlight = NULL,
alpha = NULL,
border = NULL,
lwd = NULL,
cex = NULL,
bbox = NULL,
mask = NULL,
rainbow = NULL,
badge = NULL,
badge_pad = NULL,
show_text = NULL,
show_conf = NULL,
show_class = NULL,
show_id = NULL,
show_box = NULL,
show_point = NULL,
point_size = NULL,
point_pch = NULL,
point_col = NULL,
...
)Arguments
- x
An object of class
image_segment_dlreturned byimage_segment_dl().- img
Optional
Imageobject to use as background. Defaults toattr(x, "image")when available.- col_highlight, alpha, border, lwd, cex, bbox, mask, rainbow, badge, badge_pad, show_text, show_conf, show_class, show_id, show_box, show_point, point_size, point_pch, point_col
Visual parameters overriding the original
image_segment_dl()settings.- ...
Additional graphical arguments passed to
graphics::plot().
