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

Documentation #61

Open
cencio91 opened this issue Apr 24, 2024 · 0 comments
Open

Documentation #61

cencio91 opened this issue Apr 24, 2024 · 0 comments

Comments

@cencio91
Copy link

Hi, I have some quetion about this library:

  1. I see that in the output there is a "quality" attribute. Is it intended to manage false positive? What is the value range? Is an higher value better?

  2. I'm trying to save resources (CPU, RAM) using a low frame rate, but it doesn't seem to work. If i set the framerate to 1fps, the library continue scanning with an high frequency ( I can see it according to numbers of bips and outputted code)

  public config: ScannerQRCodeConfig = {
    constraints: {
      video: {
        width: window.innerWidth,
      },
      audio: false
    },
    fps: 1

    decode: 'utf-8', // Codifica del codice rilevato. Opzioni possibili = { 'utf-8' , 'iso-8859-15' , 'windows-1252', 'macintosh' }
  };
  1. What are the differences between stopping or pausing the camera?

  2. Is there a way to understand if we are on mobile or desktop, so we can show the toarch icon only on mobile?

Thank you very much in advice for your support and for your great job

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

1 participant