Description Usage Arguments Value
View source: R/plot_functions.R
Generates raster image with bounding boxes.
1 2 3 4 5 6 7 8 | create_boxes_ggplot(
image_path,
boxes,
labels,
correct_hw,
target_size,
grayscale
)
|
image_path |
Image filepath. |
boxes |
'data.frame' with bounding boxes corresponding to the image. |
labels |
Character vector containing class labels. For example |
correct_hw |
Logical. Should height/width rescaling of bounding boxes be applied. |
target_size |
Image target size. |
grayscale |
Should images be plotted in grayscale. |
Raster image with bounding boxes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.