pub struct ObjectDetector { /* private fields */ }Expand description
A model-agnostic object detector, dispatching to the configured model family.
Implementations§
Source§impl ObjectDetector
impl ObjectDetector
Sourcepub fn new(config: DetectorConfig) -> Result<Self>
pub fn new(config: DetectorConfig) -> Result<Self>
Build a detector from the given config.
Auto Trait Implementations§
impl Freeze for ObjectDetector
impl RefUnwindSafe for ObjectDetector
impl Send for ObjectDetector
impl Sync for ObjectDetector
impl Unpin for ObjectDetector
impl UnsafeUnpin for ObjectDetector
impl UnwindSafe for ObjectDetector
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