Git Product home page Git Product logo

Comments (4)

daisylb avatar daisylb commented on July 20, 2024

Safari on iOS doesn't support either Flash or the getUserMedia API, as far as I can tell. I suspect that this issue is unfixable until it does.

from jsqrcode.

mwalles2 avatar mwalles2 commented on July 20, 2024

I'm having a similar issue. It is not with getUserMedia. I am using a file chooser to select the QR code to be read. I have an image that works fine on my computer, but on my phone (iPhone 5s, iOS 7) I have to rotate the image to the correct orientation or else it throws the exception "Couldn't find enough finder patterns" in findpat.js line 394. The exception is being thrown because startSize = 0.

from jsqrcode.

Maniak82 avatar Maniak82 commented on July 20, 2024

I'm also having similar issue on iPhone 4s with iOS 7. Every time I try to scan a QR Code (previously taken with the iPhone camera), I have "error decoding QR Code" error. When I try to to decode the same QR Code, same image file, on my PC with Firefox it's work fine.

Also, if I re-save the image directly on my iPhone (by doing dummy image editing..) then QR code scan works for that image.

I have also tested, on my iPhone, with image downloaded from some web QR Code generator, works fine.

I think the problem may come from the manner the image is saved on iPhone, peraps an iOS 7 related problem, because I have had no problem with an iPad on iOS 6...

Would be great If someone could provide some help !

from jsqrcode.

Maniak82 avatar Maniak82 commented on July 20, 2024

For those still having this issue, I have found a solution here : http://stackoverflow.com/a/17086329
The problem is due to some iOS bug, the image taken by camera have wrong dimensions and need to be resized before the QR code decode call...

from jsqrcode.

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.