pub struct DetectionBox {
pub x1: f32,
pub y1: f32,
pub x2: f32,
pub y2: f32,
pub score: f32,
pub class_id: i64,
}Expand description
A detection in source-frame pixel coordinates. Field-accessible Dart
mirror of kataglyphis_core::detection::Detection (which the bridge
would otherwise expose as an opaque type).
Fields§
§x1: f32§y1: f32§x2: f32§y2: f32§score: f32§class_id: i64Trait Implementations§
Source§impl IntoDart for DetectionBox
impl IntoDart for DetectionBox
Source§impl IntoIntoDart<DetectionBox> for DetectionBox
impl IntoIntoDart<DetectionBox> for DetectionBox
fn into_into_dart(self) -> DetectionBox
impl IntoDartExceptPrimitive for DetectionBox
Auto Trait Implementations§
impl Freeze for DetectionBox
impl RefUnwindSafe for DetectionBox
impl Send for DetectionBox
impl Sync for DetectionBox
impl Unpin for DetectionBox
impl UnwindSafe for DetectionBox
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