Skip to content

objectDetector.detect. resulte = 0 but camera live detect it work #93

Open
@sathit-poo

Description

 final modelPath = await _copy('assets/yolov8n.mlmodel');

final model = LocalYoloModel(
    id: '',
    task: Task.detect,
    format: Format.coreml,
    modelPath: modelPath);

final objectDetector = ObjectDetector(model: model);
await objectDetector.loadModel();
var testimage = "assets/BA5A1603-371.jpg";

var rs = await objectDetector.detect(imagePath: testimage); //  result = []

Metadata

Assignees

No one assigned

    Labels

    detectObject Detection issues, PR'squestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions