pub async fn detect( model_data: &Model, img: &DynamicImage, ) -> Result<Detections>
Performs the actual detection and outputs the results.
model_data
img