Realm

oa::ui::CvBbox

One normalized-coordinate bounding box with optional label metadata. Donor: oa::CvBbox.

StRust public API

Declaration

pub struct CvBbox { pub x: f32, pub y: f32, pub w: f32, pub h: f32, pub score: f32, pub class_id: i32, pub label: String, }
Public Rust declaration.

Public Methods

fn clone(&self) -> CvBbox
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

fn default() -> Self

Public Data Members

xf32field
yf32field
wf32field
hf32field
scoref32field
class_idi32field
labelStringfield

Public Method Documentation

fn clone( &self ) -> CvBbox
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.