Hi there,
I have a problem with cutting image part
because of when I send an image to the detector image frame metadata is 1280x720
and when came back ***Processor.onSuccess method it was 720x1280
when I write to log on com.google.firebase.ml.md.kotlin.barcodedetection.BarcodeProcessor line 51
Log.d(TAG,"metadata.w:${image.bitmap.width} metadata.h:${image.bitmap.height}")
and com.google.firebase.ml.md.kotlin.camera.CameraSource 406
Log.d(TAG,"frameMetadata.w:${frameMetadata.width} frameMetadata.h:${frameMetadata.height}")
you can see uploading/result image size inverting
I check out in last source code
Hi there, I have a problem with cutting image part because of when I send an image to the detector image frame metadata is 1280x720 and when came back ***Processor.onSuccess method it was 720x1280 when I write to log on com.google.firebase.ml.md.kotlin.barcodedetection.BarcodeProcessor line 51 Log.d(TAG,"metadata.w:${image.bitmap.width} metadata.h:${image.bitmap.height}") and com.google.firebase.ml.md.kotlin.camera.CameraSource 406 Log.d(TAG,"frameMetadata.w:${frameMetadata.width} frameMetadata.h:${frameMetadata.height}") you can see uploading/result image size inverting I check out in last source code