Repository navigation
A fix release for phones whose camera HAL bends the Camera2 rules, found on a Samsung Galaxy A23 (SM-A236B): the overlay drew the board, its corners and the laser stripe far from where they were in the preview, and the pose was off.
Install
Download easyscanner-0.2.1.apk below and open it on the phone (allow installing apps from that source), or adb install -r easyscanner-0.2.1.apk.
Android 10 or newer, arm64. Same development key as v0.2, so it installs over it; if a build of your own is installed, uninstall it first.
What's fixed
- The preview now streams at the analysis size. The A23 scales only to its largest stream and cuts smaller YUV streams from that stream's top-left corner: a 640x480 analysis frame next to the 1440x1080 preview held 640x480 pixels of the preview, so the app saw a 2x zoomed corner of the view. With no stream larger than the analysis one, every analysis size sees the whole view. The viewfinder is softer at small analysis sizes.
- A missing principal point is no longer trusted. The A23 reports
LENS_INTRINSIC_CALIBRATION = [3125, 3125, 0, 0, 0]; a principal point far off the centre is now taken as unset and replaced by the centre.
On the A23 the board pose now holds at 1440x1080, 960x720 and 640x480 (57–61 corners, 0.7–1.0 px reprojection, the camera position agreeing within 1 mm across sizes), photo sessions included.
After updating on an affected phone, redo the laser-plane calibration (Laser → Forget plane, then Start): a plane saved with the old build was fitted to wrong poses. Calibrating the camera is recommended too. Keep Settings → ArUco3 fast detection off: on the A23 it finds no corners at 960x720 and below.
SHA-256 of the APK: 6ae82571a32ed10390a87d2bc0888f826ca77bb760a5c665cb5e9085757b2be3