correct_boxes: Rescales boxes.

Description Usage Arguments Value

Description

Rescales boxes. 'xmin/xmax' coordinates are multiplied by 'image_w' and 'ymin/ymax' coordinates are multiplied by 'image_h'.

Usage

1
correct_boxes(boxes, image_h, image_w)

Arguments

boxes

'data.frame' with bounding boxes.

image_h

Rescaling factor for 'ymin/ymax' box coordinates.

image_w

Rescaling factor for 'xmin/xmax' box coordinates.

Value

Rescaled bounding boxes.


maju116/platypus documentation built on Oct. 18, 2020, 9:40 a.m.