Closed riedel closed 2 years ago
This is a duplication of #189. If you can compile the library yourself, you can fix this easily. Please see https://github.com/nu-book/zxing-cpp/issues/189#issuecomment-761121357.
It seems I should find a way to enable that code "somehow". Every once in a while someone stumbles over this. The thing is, that every way to deal with this has its drawbacks and the current situation is simply "how it has always been", so sort of the default without a convincing alternative. :-/
Thanks, it would be really good if it was somehow documented, that tryharder is force-disabled.
IMHO, it would be good to make tryharder tri-state: null (depends on decoder), true, false , so that it works if explicitly set.
For me none of the big codes are detected on an A4 sheet, so I will happily pay the price...
Edit: I compiled it myself, so I will check (I needed to compile it to work under cygwin: might do a PR here as well if I have time and the decoder actually works with try-harder)
Did a quick check: works nicely without any performance degradation in my case
Thanks for the feedback. Your tri-state idea is interesting. I'll think about it. Good to hear that you could fix your issue.
Any PR to fix issues under cygwin is welcome.
The following code fails for me reproducibly after adding 200 pixels, however not 100 pixels, for different codes like this one (I can probably produce a test case without an image if needed)