Is it possible to get the preview image size before a successful barcode scan? I'm trying to position a simple label over the barcode when it is detected which involves a bit of scale math in order to correctly position the label. Given the image size doesn't change per scan I was hoping to get this information when the MLKitBarcodeScanner element is mounted and the native view is created.
Is it possible to get the preview image size before a successful barcode scan? I'm trying to position a simple label over the barcode when it is detected which involves a bit of scale math in order to correctly position the label. Given the image size doesn't change per scan I was hoping to get this information when the MLKitBarcodeScanner element is mounted and the native view is created.