pub fn detect_device( system: &SystemFacts, device: &DeviceFacts<'_>, use_ml: bool, ) -> DetectionResult