Open yamazaki-summit opened 6 years ago
I have this problem too. @yamazaki-summit have you been able to solve it? Or did you have to write your own wrapper instead of zbar-sharp?
@the-vindicar Thank you for your comment. I wrote my own wrapper methods to detect the 2D position by using original zlib methods as extern. In other aspects such as decoding of the string data, I used zbar-sharp methods as shown above.
I did that too. Also, I sent a pull request - hopefully, @jonasfj will accept it.
Seems to be fixed in this fork which is also available as a NuGet called zbar-cli-all
Honestly, I haven't done C# in years.
So if there is a few people that want to maintain a fork, perhaps it's better to contribute to the fork.
It's a little unwise to have me merge PRs for a thing I'm not using, and haven't touched in close to a decade.
Now I'm trying to detect a QR code with ZBar in both python and C#.
In python, I succeeded in detecting both string data and the 2D position of the QR code in the following way.
In C#, however, I succeeded only in detecting string data, but not in detecting the 2D position. My C# code is the following.
Is is possible to detect the 2D position of the QR code with C# (zbar-sharp) in a similar way to python (or in a totally different way)?