Struct AVDetectionBBox
#[repr(C)]pub struct AVDetectionBBox {
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
pub detect_label: [i8; 64],
pub detect_confidence: AVRational,
pub classify_count: u32,
pub classify_labels: [[i8; 64]; 4],
pub classify_confidences: [AVRational; 4],
}
Fields§
§x: i32
Distance in pixels from the left/top edge of the frame, together with width and height, defining the bounding box.
y: i32
§w: i32
§h: i32
§detect_label: [i8; 64]
Detect result with confidence
detect_confidence: AVRational
§classify_count: u32
§classify_labels: [[i8; 64]; 4]
§classify_confidences: [AVRational; 4]
Trait Implementations§
§impl Clone for AVDetectionBBox
impl Clone for AVDetectionBBox
§fn clone(&self) -> AVDetectionBBox
fn clone(&self) -> AVDetectionBBox
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AVDetectionBBox
impl Debug for AVDetectionBBox
impl Copy for AVDetectionBBox
Auto Trait Implementations§
impl Freeze for AVDetectionBBox
impl RefUnwindSafe for AVDetectionBBox
impl Send for AVDetectionBBox
impl Sync for AVDetectionBBox
impl Unpin for AVDetectionBBox
impl UnwindSafe for AVDetectionBBox
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more