1
private readonly IBarcodeReader barcodeReader;
barcodeReader = new BarcodeReader {
    AutoRotate = true,
    Options = new DecodingOptions {
        TryHarder = true,
        PossibleFormats = new List < BarcodeFormat {
            BarcodeFormat.AZTEC
        }
    }
};
currentBitmapForDecoding = new Bitmap(@ "F:\Aztec-Code-Scandit.png");
Result result = barcodeReader.Decode(currentBitmapForDecoding);

当我从物理路径读取图像时它可以工作。但是当我将网络摄像头的当前帧分配给currentBitmapForDecoding它时,unabel 可以读取 AztecBarcode.pls任何人如何帮助我从网络摄像头读取 aztec 条形码。我也使帧尺寸变小但不起作用。

4

0 回答 0