On Tue, Feb 25, 2025 at 10:46 AM Robert Moskowitz <r...@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
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to