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);
}
I have tried to decode an image with a barcode but the application crashes with 0xc0000409: