Open panyy opened 2 years ago
Can you clarify what does 'direction' mean here? Is it refers to the direction of QrCode's bounding box or something else?
yes,Is it refers to the direction of QrCode's bounding box
You can get it from Barcode#getCornerPoints https://developers.google.com/android/reference/com/google/mlkit/vision/barcode/common/Barcode#getCornerPoints()
getCornerPoints can't judge the direction.
Hi! I have the same issue - specifically, it seems like the QR code detection 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 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.
Also see https://stackoverflow.com/questions/44249483/orientation-corners-of-a-qr-code https://github.com/googlesamples/android-vision/issues/103
Use BarCode Scanning Function