Runs detection on a single image.

detect_image(model, image_file)

Arguments

model

A loaded model object.

image_file

Path to the image file.

Value

A list containing detection results.