I'm using the BarcodeDetector from the Mobile Vision API on the Google Play Services (Version 10.2.0) for my app. I pretty much took the code from the smaple app they provide: https://github.com/googlesamples/android-vision
And the barcodes are only detected if they are in the middle/centre of the screen. Is there any way of increasing this to extend the whole screen/camera preview? Its a bit misleading for the user unless you add a rectangle in the centre leading them to place the barcode inside.
Any help on how to accomplish this is welcome!
So apparently this only happens to DataMatrix due to the lack of finder patterns. For the rest of Barcodes it works everywhere on the screen.