You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using zxing on Unity3D and I noticed the default orientation is vertical. For my use case I need to scan horizontally but I can't find how to rotate the default scan orientation. For now I can make it work using both AutoRotate = true and TryHarder = true but it slow down the process (since each image is processed in different orientations).
Any idea of how to do that? Thanks.
The text was updated successfully, but these errors were encountered:
I finally found the problem. By default the screen on mobile has a 90 rotation when using the portrait mode. Using rotateCounterClockwise rotate by 90 again so in none of these configuration I could read an horizontal barcode. The solution I found is to use rotateCounterClockwise 3 time: 90(default)+3*90 = 0!
One hint: I think it would be better you take a look at the source of rotateCounterClockwise and write a method rotateClockwise which you only have to call once.
Hi,
I'm using zxing on Unity3D and I noticed the default orientation is vertical. For my use case I need to scan horizontally but I can't find how to rotate the default scan orientation. For now I can make it work using both
AutoRotate = true
andTryHarder = true
but it slow down the process (since each image is processed in different orientations).Any idea of how to do that? Thanks.
The text was updated successfully, but these errors were encountered: