/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_bnd_box.hpp Source File#
2 min read time
Applies to Linux
op_bnd_box.hpp
Go to the documentation of this file.
90 void generateRects(std::vector<Rect_t>& rects, const BndBoxes_t& bnd_boxes, int64_t height, int64_t width);
void operator()(hipStream_t stream, const roccv::Tensor &input, const roccv::Tensor &output, const BndBoxes_t bnd_boxes, eDeviceType device=eDeviceType::GPU)
Executes the BndBox operation. BndBox can be used to draw bounding boxes on images in a tensor.
void generateRects(std::vector< Rect_t > &rects, const BndBoxes_t &bnd_boxes, int64_t height, int64_t width)
Definition: tensor.hpp:37
Definition: strided_data_wrap.hpp:33
Definition: operator_types.h:104
eDeviceType
Describes the device type. Used to determine where Tensor data should be allocated and whether operat...
Definition: util_enums.h:69
@ GPU