detect

Function detect 

Source
pub async fn detect(
    model_data: &Model,
    img: &DynamicImage,
) -> Result<Detections>
Expand description

Performs the actual detection and outputs the results.

ยงArguments

  • model_data - The YOLO model.
  • img - The input image to be processed.