Barcode Reader VL.QRCode 0.0.6-alpha

As experienced by a student, I tested and had the same problem as described in
VL.QRCode 0.0.5 barcode reader has errors - bug - Forum from @verstecke. Clean install on Windows 11 even.

Same problem in the help patch, also it would be great to update the VideoIn as it still refers to the external VL.Video.Mediafoundation nuget.

Find the patch attached to test:
QR_Encode_Decode_Image.vl (6.2 KB)

Latest stable (vvvv gamma 6.5) and VL.QRCode 0.0.6-alpha.

Manually linking the .dll from C:\Users\xxx\AppData\Local\vvvv\gamma\nugets\ZXing.Net.0.16.8\lib\net6.0 in the main patch doesn’t help.

was finally able to reproduce and fix this. thanks. see VL.QRCode >= 0.1.1-alpha

1 Like

I’m sorry to say, but I unfortunately still get the argument exception when testing as soon as setting “Decode” to true (also on bang), same with the help patches. However no red nodes inside the BarcodeReader anymore.

Tested in stable 6.5 and preview 6.7-2. Older nuget folderst (also ZXing.Net.0.16.8) are deleted.

QR_Encode_Decode_Image.vl (6.2 KB)
QR_Encode_Decode_Spout.vl (14.1 KB)

ok, this was a different issue now: the ToImage node returned a type of image that the BarcodeReader wasn’t able to handle. fixed in 0.1.2-alpha of the pack.

1 Like

Great. ToImage works now with RGB Image.

However, if the image file is a grayscale image, it does not. A workaround is to just set the image tp RGB and it still works. Also it might be a workaround to just converting the image to RGb… and anyway a rare case, on the other hand, as Barcodes/QR-Codes are in B/W, it might not be such an exception.

Anyway just reporting, don’t have an application for it at the moment, but if you want to have a look, here are to patches with Skia directly reading a grayscale image, and another with TextureToImage R8_UNorm:
QR_Code_Grayscale.zip (10.3 KB)

Cheers

right, the BarcodeReader expects images in rgba format. previously the ToImage node returned R8, i changed that to an rgba format in the previous fix.

1 Like