Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

take photos and decode #102

Open
zhjygit opened this issue Sep 6, 2024 · 3 comments
Open

take photos and decode #102

zhjygit opened this issue Sep 6, 2024 · 3 comments

Comments

@zhjygit
Copy link

zhjygit commented Sep 6, 2024

If i am far away to the target computer,like 20 meters.
I want to take photos by camera, I can get a picture like a.png.
And then, i decode like: cimbar a.png -o .
however i get nothing.
how to solve the problem?

@zhjygit zhjygit closed this as completed Sep 6, 2024
@zhjygit zhjygit reopened this Sep 6, 2024
@troilus
Copy link

troilus commented Sep 6, 2024

  1. The QR code is dynamic, so taking a single picture does not capture all the data needed for decoding. A video should be recorded instead.
  2. A distance of 20 meters places high demands on both the display and the recording device.

@sz3
Copy link
Owner

sz3 commented Sep 6, 2024

20 meters is far, so I would hope the screen is very large and/or the camera is very hi-res. As a rule of thumb you're going to need something like 700x700 real barcode pixels to make progress -- that's where the recommendation to "fill up as much of the image with the barcode as you can" comes from on e.g. a 1080p video feed.

The other simple rule of thumb is if you can't manually make out the individual symbols/colors in the captured image, the decoder probably can't do it either. The data (in the form of the symbols/colors) has to make it across the gap for anything to work.

@zhjygit
Copy link
Author

zhjygit commented Sep 6, 2024

  1. The QR code is dynamic, so taking a single picture does not capture all the data needed for decoding. A video should be recorded instead.
  2. A distance of 20 meters places high demands on both the display and the recording device.
    Why is it dynamic?how can i encode to a video and decode,can you give me some examples,thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants