-
as I can draw the cornerPoints in my html, try canvas but the dots don't match the size of my screen |
Beta Was this translation helpful? Give feedback.
Answered by
angelLain
Sep 3, 2023
Replies: 1 comment 3 replies
-
You need to scale the coordinates, see https://github.com/robingenz/capacitor-mlkit-plugin-demo/blob/main/src/app/modules/barcode-scanning/barcode-scanning-modal.component.ts. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much, it was just to divide the coordinates with the window.devicePixelRatio :3