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

QR code scanner/reader #52

Open
rugk opened this issue Apr 27, 2018 · 13 comments
Open

QR code scanner/reader #52

rugk opened this issue Apr 27, 2018 · 13 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@rugk
Copy link
Owner

rugk commented Apr 27, 2018

There are also many JS libraries for just scanning a QR code:

So maybe we could integrate that, too.

@rugk rugk added the enhancement New feature or request label Apr 27, 2018
@rugk rugk added this to the long-term milestone Apr 27, 2018
@rugk
Copy link
Owner Author

rugk commented Apr 27, 2018

Features may be:

  • right-click on image (or canvas, or so) -> decode QR code
  • click on toolbar button -> select some button there (note this button should of course not overlay the shown QR code, maybe just move in a bit when hovered) OR use context menu entry on browser_action icon -> scan from webcam

@rugk rugk changed the title QR code scanner QR code scanner/reader May 9, 2018
@rugk
Copy link
Owner Author

rugk commented May 9, 2018

@rugk
Copy link
Owner Author

rugk commented Feb 28, 2019

Possibly a good lib: https://github.com/zxing-js/library

@jamescallumyoung
Copy link

@rugk Saw this after your link from #213

right-click on image (or canvas, or so) -> decode QR code
I like this. Not too invasive and it's a good contextual option.

... scan from webcam
This not so much; I like that this is a small extension. More permissions and camara use would scare me off.

Just my 2 cents.

@rugk
Copy link
Owner Author

rugk commented Oct 15, 2019

More permissions and camara use would scare me off.

This would definitively only be requested at runtime when you use it. (It would use WebRTC, which has this built-in.) An add-on actually does not have more permissions than a usual web page in this regards…

@Harinath333
Copy link

Any one working on this issue???

@Harinath333
Copy link

Harinath333 commented Oct 22, 2024

If no one I want to work on this using html5-qrcode

@rugk
Copy link
Owner Author

rugk commented Oct 22, 2024

You can do so, that sounds great, but keep in mind this may be a big task and require some back- and forth.

First of, you would have to:

  • think of some GUI, like I tried in QR code scanner/reader #52 (comment) to get started
  • decide which lib to use, which you apparently did, but I'd like to know the reasons of why you'd choose this lib. (Does not mean it's wrong, I just like to have it documented or so); also note this issue is old, maybe there are more modern/better libs out there we did not thought about yet – did you have a look for these? My initial listing in the first comment was just meant as a starter for further research, it does not mean one of these libs needs to be used.

@Harinath333
Copy link

Harinath333 commented Oct 23, 2024

You can do so, that sounds great, but keep in mind this may be a big task and require some back- and forth.

First of, you would have to:

  • think of some GUI, like I tried in QR code scanner/reader #52 (comment) to get started
  • decide which lib to use, which you apparently did, but I'd like to know the reasons of why you'd choose this lib. (Does not mean it's wrong, I just like to have it documented or so); also note this issue is old, maybe there are more modern/better libs out there we did not thought about yet – did you have a look for these? My initial listing in the first comment was just meant as a starter for further research, it does not mean one of these libs needs to be used.

The thing is html5 is very good to use as it is supported by so many browsers and I also think there are more better libs let me go through that!!

@Harinath333
Copy link

Hey we just need a qr code scanner from the webcam right! then we can make it by Html5 with qr code lib. Which will let us use the webcam from the user to scan a qr. Let me know if this is what we need

@rugk
Copy link
Owner Author

rugk commented Oct 24, 2024

Technically it should work with the webcam and yes likely use a lib (which uses the WebRTC technologies for accessing a webcam, I guess)…

But as indicated, one first has to think about a UI and find a good lib. Maybe also look for (preferably open-source) websites that already implement such a feature (and look what they use).

@Harinath333
Copy link

Technically it should work with the webcam and yes likely use a lib (which uses the WebRTC technologies for accessing a webcam, I guess)…

But as indicated, one first has to think about a UI and find a good lib. Maybe also look for (preferably open-source) websites that already implement such a feature (and look what they use).

Yeah I will make one which will have a decent UI and It can use WebRTC

@klawdhfzasjhaa
Copy link

I'd love that to bridge phone texts / URLs to PC / laptop in some scenarios. 👯

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

No branches or pull requests

4 participants