pub struct InferenceResult {}
Expand description
Result structure for Edge Impulse inference
Implementations§
Source§impl InferenceResult
impl InferenceResult
Sourcepub fn classifications(&self, _label_count: usize) -> Vec<ClassificationResult>
pub fn classifications(&self, _label_count: usize) -> Vec<ClassificationResult>
Get all classification results as safe Rust structs
Sourcepub fn bounding_boxes(&self) -> Vec<BoundingBox>
pub fn bounding_boxes(&self) -> Vec<BoundingBox>
Get all bounding boxes as safe Rust structs
Sourcepub fn timing(&self) -> TimingResult
pub fn timing(&self) -> TimingResult
Get timing information
Trait Implementations§
Source§impl Default for InferenceResult
impl Default for InferenceResult
Auto Trait Implementations§
impl Freeze for InferenceResult
impl RefUnwindSafe for InferenceResult
impl Send for InferenceResult
impl Sync for InferenceResult
impl Unpin for InferenceResult
impl UnwindSafe for InferenceResult
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