Skip to content

Crash in BarcodeDetector #1863

@dlorenz70

Description

@dlorenz70

I have tried to decode an image with a barcode but the application crashes with 0xc0000409:

public static void ReadBarcode()
{
    using Mat mat = new(Path.Combine(@"C:\SUSTech-OpenCV-BarcodeTestDataset-master", "bottle.jpg"));
    using var bd = new BarcodeDetector();
    bd.DetectAndDecode(mat, out Point2f[] points, out string[] results, out string[] types);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions