oa::CvFrame

CvFrame struct in the OA Ui public surface.

Public Methods

void oa::CvFrame::addBboxes(oa::Vector<CvBbox> inBoxes, const CvBboxesConfig & inCfg = {})
void oa::CvFrame::clearOverlays()
oa::Result<oa::Texture> oa::CvFrame::render(oa::Engine & inRt)
oa::Result<oa::Texture> oa::CvFrame::render(oa::Engine & inRt, oa::Span<const oa::U8> inBaseRgba)

Public Data Members

baseconst oavk::Buffer *field
hoa::I32field
overlaysVectorfield
woa::I32field

Public Method Documentation

void oa::CvFrame::addBboxes( oa::Vector<CvBbox> inBoxes, const CvBboxesConfig & inCfg = {} )
No public source comment is attached to this declaration.

Parameters

inBoxes
oa::Vector<CvBbox>

inCfg
const CvBboxesConfig &

Default: {}

Returns

void

The declared return value.

void oa::CvFrame::clearOverlays()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

oa::Result<oa::Texture> oa::CvFrame::render( oa::Engine & inRt )
CPU reference/diagnostic composite -> upload RGBA8 oa::Texture. pending work in the engine's matching private recorder completes before reading base. Realtime consumers must use DetectionOverlay or another resident path.

Parameters

inRt
oa::Engine &

Returns

oa::Result<oa::Texture>

The declared return value.

oa::Result<oa::Texture> oa::CvFrame::render( oa::Engine & inRt, oa::Span<const oa::U8> inBaseRgba )
No public source comment is attached to this declaration.

Parameters

inRt
oa::Engine &

inBaseRgba
oa::Span<const oa::U8>

Returns

oa::Result<oa::Texture>

The declared return value.