Coder Social home page Coder Social logo

Comments (12)

aristide avatar aristide commented on August 15, 2024

Hello @kalvish21

i 've implemented @dm77 Zbar library and here is what i got from your QRCODE image:

Uv0tUft6C5L/6DUeUp7V74I4vAi1j3AZOSe2vS2pHQwb9/5881wlJa08aQHkw6qj0/m5P/xzWKsm
IQ6RJn3uCPz3tfl9GA0KaOM+awExap2PmtiVQyB0gm1fz1PEgDlP0cJh3V65jjqWWOljp6DhMfyu
EYNvFUu526pWTJIAxFQ/7vFMBgH/eFXIMnVAHg0quhDD6M8CzW9nRYZRN0N7/pMrxSScJEk8S6Ck   
GyZlnaeYMO2DNasw+ZE+lSFok0jSQVZWsZSM3/OFQyZ+fMca4WsffpQM48xSHkDN+N8OND2BD64c
1G49OKNqCU5EBM/qTbz6816oWjU+SkHouMsODg==

i read this thread from Stackoverflow before deciding to use zbar or zing

from barcodescanner.

kalvish21 avatar kalvish21 commented on August 15, 2024

Yep. Works on ZBar, not on ZXing. Not sure why.

from barcodescanner.

iv-mexx avatar iv-mexx commented on August 15, 2024

I'm having the same problem - It works when using ZBar, but not when using ZXing.
It actually recognizes Barcodes correctly, only QR-Codes are not working.

I have tried the Sample Project (using the zxing simple fragment) and it works fine, but using the exact same code for the fragment in my own project fails.

I would prefer to use ZXing if possible because of the ResultParsers (I have a bunch of custom ResultParsers added for additional Contents) so any help is greatly appreciated.

from barcodescanner.

kalvish21 avatar kalvish21 commented on August 15, 2024

ZXing actually works very well if you use it on small QR codes. The one I posted is very large and somehow it fails to recognize those.

from barcodescanner.

iv-mexx avatar iv-mexx commented on August 15, 2024

Hm, for me ZXing does not even work for small QR codes.
It works on the Emulator (Genymotion) though, but on the emulator the mScannerView.startCamera(); in the result handler does not start the camera anymore.

from barcodescanner.

nocheinAndi avatar nocheinAndi commented on August 15, 2024

I've got the same QR-code problem. The scanner does not recognize small or big QR-codes.

It's working fine with e.g. EAN-13.

from barcodescanner.

dm77 avatar dm77 commented on August 15, 2024

Scanning the qrcode above using the zxing sample v1.7 works fine. See scan results in screenshot attached:

2015-04-22 00 45 22

from barcodescanner.

kalvish21 avatar kalvish21 commented on August 15, 2024

Doesn't make sense to close this issue. This is an issue I can replicate across 5 devices. There're plenty of others with the same issue. I think its worth looking into.

from barcodescanner.

dm77 avatar dm77 commented on August 15, 2024

Sorry about that. I was unable to replicate with the sample project on 3 devices. Hence I figured it had something to with your project rather than the library. Are you able to replicate the problem with sample project on those 5 devices you mentioned?

from barcodescanner.

dm77 avatar dm77 commented on August 15, 2024

Also can you test your project with version 1.7 that I released a few minutes ago? It includes some bug fixes related to the viewfinder that might resolve your issue. Let me know.

from barcodescanner.

dm77 avatar dm77 commented on August 15, 2024

I tested on the following 3 devices:
1.) HTC Thunderbolt, Android 2.3 (This was the worst of the 3, took at least 5 seconds to scan the qrcode)
2.) Samsung Galaxy Nexus, Android 4.2.2
3.) Nexus 5, Andriod 5.1

from barcodescanner.

kalvish21 avatar kalvish21 commented on August 15, 2024

It's having issues with Galaxy Note 4. Otherwise the new code is definitely an improvement.

from barcodescanner.

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.