bbox_modify: Functions for updating certain coordinates of bbox These...

Description Usage Arguments Value Examples

Description

Functions for updating certain coordinates of bbox These functions can modify a vector of bbox

Usage

1
bbox_reset(bbox, x1 = NULL, y1 = NULL, x2 = NULL, y2 = NULL)

Arguments

bbox

character vector of bounding boxes to update

x1

scalar or numeric vector to update bbox with

y1

scalar or numeric vector to update bbox with

x2

scalar or numeric vector to update bbox with

y2

scalar or numeric vector to update bbox with

Value

a vector of updated and validated bboxes

Examples

1
bbox_reset(bbox=c("100 100 200 200", "300 400 500 600"), x2=800)

dmi3kno/hocr documentation built on April 27, 2020, 10:39 a.m.