It would be cool if the UX was asynchronous since I as a handicapped user can barely keep the phone still xor tap on the screen.
A solution for this would be a configurable delay for the camera and a notification if Megapixels detects a QR-Code.
Issue now tracked here: https://gitlab.com/postmarketOS/megapixels/-/issues/24