On Tue, Feb 25, 2025 at 10:46 AM Robert Moskowitz rgm@htt-consult.com wrote:
On 2/25/25 10:41, Tim via users wrote:
On Tue, 2025-02-25 at 09:08 -0500, Robert Moskowitz wrote:
I do wonder how it will "know" that I have the QR in front of the camera and it is in proper focus...
I imagine it's relying on the camera to focus itself. And as soon as it recognises an image (sees QR data in it), it would act.
That's pretty much how it behaves on phones, you aim and it acts as soon as it sees what it can use. There's no waiting for a user to click a button (which could be a right pain if you were trying to single out *ONE* QR out of a bunch that are near each other and hadn't yet framed things the way you wanted).
that is pretty much what I am "seeing".
I added the --nodisplay option and now I can watch the capture stream to sysout in my command window, but I don't see where I can get it to terminate after scanning a single code.
From what I understand about QR codes and custom protocol handlers, the scanned code should be something like (contrived):
pem://<cert>
or:
csr://<cert request>
The "pem://" or "csr://" part allows the camera software to invoke the proper protocol handler, like "https://" does for a QR-encoded url.
What are you trying to do with the request once it is decoded?
Jeff