AndroidScanner library - Photo is cropped too much

2019-08-25 18:04发布

问题:

I use AndroidScannerDemo library in my application. I have a problem with a specific device which is Google Pixel 2.

When I am scanning a photo, a scanner detects edges correctly and draw lines on corners, but after taking the photo I get a photo as a result that every side is cut a little bit.

I am confused because of every phone it works perfectly, tested on devices:

  • Google Nexus 5X,
  • Samsung Galaxy S7,
  • Samsung Galaxy S9,
  • Samsung J3 2016,
  • Samsung A5 2015,
  • Sony XZ2,
  • OnePlus A6003,
  • OxygenOS9,
  • Huawei Y5
  • LG X CAM,
  • LG-H440n

Have you own a Google Pixel 2 and observe similar issues with other applications?