pub fn create_detector(buf: &[u8]) -> Result<Box<dyn Detector>, Error>
Create a face detector from model loaded to memory