GithubHelp home page GithubHelp logo

Comments (10)

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 31, 2024

it really depends on you device, its zoom and focus. however less than 1cm length is not possible, unless a macro zoom I guess. also html5-qrcode is limited to JavasScript sandbox, meaning that all hardware issues are often related to the browser/OS settings, drivers and hardware quality. html5-qrcode has a zoom and focus settings (check the docs) but it really depends of how the browser and os permissions are set and the drivers.

from html5-qrcode.

Davvel avatar Davvel commented on May 31, 2024

Just to clarify, this is the futter package I am using "qr_bar_code_scanner_dialog.dart" and I tried my best to see if I can find a setting where I can increase the default camera resolution or scan speed but could not find anything that works. I am trying to use this package from an android mobile phone which is accessing a flutter web application hosted on firebase.

from html5-qrcode.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 31, 2024

any other wrapper language like dart etc.. depend on JavaScript sandbox and btw all concerning hardware settings and control depend on OS and browser permissions and driver capacity. you can have android on a samsung A53 and it works well because the camera drivers and permissions are all fine to control from html5-qrcode the zoom and focus, but another device with the same OS and settings cannot.

from html5-qrcode.

Davvel avatar Davvel commented on May 31, 2024

The bar codes I am trying to read can be read perfectly by the dynamsoft library for flutter as they have a setting for camera resolution and once I set it to high or veryHigh it could scan these small bar codes. The bar codes are 2mm high by 3.5cm wide.

from html5-qrcode.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 31, 2024

so why not to use dynamsoft and insist to use html5-qrcode? btw I guess the camera is set to low resolution for default pixel size. maybe you should increase the camera resolution to 1080p

from html5-qrcode.

Davvel avatar Davvel commented on May 31, 2024

Hi Robert, do you know how I can increase the camera resolution from the application?

from html5-qrcode.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 31, 2024

check the geUserMedia function

from html5-qrcode.

Davvel avatar Davvel commented on May 31, 2024

Thanks for all your help, All values I touched in the getUserMedia did not give me errors but did not make any change in the bar code scanning so far. I am still hopeful that there is a way of taking benefit from the mobile camera from a flutter web app.

from html5-qrcode.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 31, 2024

at what resolution you camera is set for now?

from html5-qrcode.

Davvel avatar Davvel commented on May 31, 2024

I could not find a way to set or read the current camera resolution. Not sure if you could guide me in what to add in flutter demo I have. Thanks.

from html5-qrcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.