79236868

Date: 2024-11-29 11:15:56
Score: 1
Natty:
Report link

The coordinate mapping between camera feed and overlay can be tricky. While you could adjust your mapBoundingBoxToView logic, you might want to consider using a commercial solution if this is for a production app. For example, the Scanbot SDK provides bounding box overlays out of the box, which could save you time debugging these coordinate mapping issues. You can check out their documentation at https://docs.scanbot.io/barcode-scanner-sdk/android/barcode-scanner/ready-to-use-ui/#ar-overlay (full disclosure: I work with Scanbot).

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: j-s-g-shvaa