processYOLO5 {animl}R Documentation

Process YOLO5 output and convert to MD format

Description

Returns a list with the standard MD output format. Used for batch processing

Usage

processYOLO5(n, boxes, classes, scores, selection, batch)

Arguments

n

index for the record in the batch

boxes

array of boxes returned by combined_non_max_suppression

classes

vector of classes returned by combined_non_max_suppression

scores

vector of probabilities returned by combined_non_max_suppression

selection

vector of number of detected boxes returned by combined_non_max_suppression

batch

batch used to detect objects

Value

a list of MD bounding boxes, classes, and confidence for the image


[Package animl version 1.1.0 Index]