Skip to content
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

[Feature request] Add output QR Code corners according to static ordering via an option #815

Open
icoderaven opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@icoderaven
Copy link

The QR code detection result (at least on Android) seems to assign the top left corner to be aligned with the rotation of the MLKit InputImage - the rotation parameter seems to define the vertical axis that determines the scan order criteria for the corner to be top left - However, QR codes have orientation squares that define a static ordering of the corners - these are almost surely detected as part of parsing the code contents. It would be great for the API to provide the corners based on the static ordering of these orientation corners, perhaps as a BarcodeScannerOptions that suggests providing static ordering of the code if it is possible to compute it.

This way we would not be required to pass a rotation to the InputImage, and would not have to make an implicit assumption about markers being placed upright in the world to figure out their relative pose wrt the device.

Also see
https://stackoverflow.com/questions/44249483/orientation-corners-of-a-qr-code
googlesamples/android-vision#103
#462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants