YOLO constructor
Creates a new YOLO instance with the specified model path and task.
The modelPath
can refer to a model in assets, internal storage, or absolute path.
The task
specifies what type of inference will be performed.
Implementation
YOLO({
required this.modelPath,
required this.task,
});