Struct rust_faces::BlazeFace
source · pub struct BlazeFace { /* private fields */ }Implementations§
source§impl BlazeFace
impl BlazeFace
pub fn from_file( env: Arc<Environment>, model_path: &str, params: DetectionParams ) -> Self
Trait Implementations§
source§impl FaceDetector for BlazeFace
impl FaceDetector for BlazeFace
source§fn detect(&self, image: ArrayViewD<'_, u8>) -> RustFacesResult<Vec<Face>>
fn detect(&self, image: ArrayViewD<'_, u8>) -> RustFacesResult<Vec<Face>>
Detects faces in the given image. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BlazeFace
impl Send for BlazeFace
impl Sync for BlazeFace
impl Unpin for BlazeFace
impl UnwindSafe for BlazeFace
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