Struct rust_faces::FaceDetectorBuilder
source · pub struct FaceDetectorBuilder { /* private fields */ }Implementations§
source§impl FaceDetectorBuilder
impl FaceDetectorBuilder
pub fn new(detector: FaceDetection) -> Self
pub fn from_file(self, path: String) -> Self
pub fn download(self) -> Self
pub fn detect_params(self, params: DetectionParams) -> Self
pub fn nms(self, nms: Nms) -> Self
pub fn infer_params(self, params: InferParams) -> Self
pub fn build(&self) -> RustFacesResult<Box<dyn FaceDetector>>
Auto Trait Implementations§
impl RefUnwindSafe for FaceDetectorBuilder
impl Send for FaceDetectorBuilder
impl Sync for FaceDetectorBuilder
impl Unpin for FaceDetectorBuilder
impl UnwindSafe for FaceDetectorBuilder
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