-
-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to improve the QR code recognition rate. #390
Comments
Do you use the newest version of ZXing.Net? |
i use Latest version
|
I need the content of the variables "barcodeBitmap", "arCameraTexture.width" and "arCameraTexture.height" for further investigation. |
Sorry, that doesn't help. I need a binary dump file of the contents of the "barcodeBitmap" variable.
|
thank you for the reply. SSSSS.zip |
1920x1080.zip The QR code recognition doesn't seem to have improved. Do you know how? And is it possible to distinguish up, down, left and right through the QR code? ex) If you scan the QR code on the floor, it will be printed upside down For reference, when I say that QR recognition doesn't work well, it doesn't mean that it doesn't work well at a close distance, i.e. within 1m, but it has to be done at 2-3m. As mentioned in the first question, in the basic built-in camera application, 3~4m is recognized. |
I'm not sure if ZXing.Net is a good solution for your use case. ZXing (the java version, which ZXing.Net is based on) in general was developed for mobile phones. In most cases, the user holds the phone near to the barcode. That scenario is the main use case. I fear you will never fully resolve any issues which you actually have with long-distance scanning. Btw. in the current binary dump I can't visually find any QR code. If you activate the AutoRotate option with the BarcodeReader you will get some information about the barcode rotation within the ResultMetadata property of the result object (ResultMetadataType.ORIENTATION). |
Thank you so much for your reply.
As you said, I tried to access the direction, but it doesn't hit a breakpoint. |
I'm not sure. Perhaps the optimizer threw away the empty code block. |
public class ARQRCodeCS : MonoBehaviour
} ecLevel always 0 |
Why do you do this within the method Start?
I think you should better write it like this here:
Am I wrong? |
0 means that there was no rotation necessary. |
Hi @micjahn I have issue with Android, when one camera recognises QR code and other camera is not. So I would like to get some kind of debug, exception or some kind of 'decoder image' like you showed. |
@LoopIssuer |
i use zxing.unity.dll
I'm making a mobile QR code recognition AR program in Unity.
Device used S10+
However, the qrcode recognition is not very good.
For example, in the basic application camera, QR is recognized, but if Zxing.unity.dll is used in Unity, QR is not recognized. The closer you get to it, the more it will be recognized.
Do you know how to increase the recognition rate by any chance?
Here's how I came up with it.
Camera focus setting
Accurate QR code printing
Increase the QR size itself
All of these methods were useless.
How can I increase the recognition rate?
The text was updated successfully, but these errors were encountered: