Hi there. I'm having an issue with scanning a QR code with Aspose for .NET. I can upload the attached file to the following URL and it reads perfectly every time:
However, I cannot get this same file to read in my application code. I've tried using the advanced settings such as orientation and hints but none seem to make a difference. I'm puzzled because the Aspose site can read any of the QR images I upload to it but I can't seem to make it work. Here's the code I'm using:
BarCodeReader reader = new BarCodeReader(s, BarCodeReadType.QR);
string codeText = null;
reader.ExpectedBarCodeCount = 1;
reader.OrientationHints = RecognitionHints.Orientation.Rotate180;
reader.ImageBinarizationHints = RecognitionHints.ImageBinarization.MedianSmoothing;
codeText = reader.GetCodeText();
"s" represents the local path to the file and I've verified that it's corret. .Read() returns false every time. I've yet to get it to work.
Also, my DLL says that it's version 126.96.36.199 in case you wondering. I'd appreciate any assistance you could give me.