[Feature request] Add output QR Code corners according to static ordering via an option
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 https://github.com/googlesamples/android-vision/issues/103 https://github.com/googlesamples/mlkit/issues/462