Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by ahillel · Oct 10, 2012 at 12:05 AM · zxing

QR decode from Zxing on iOS

Hi, I'm trying to use this one http://ydaira.blogspot.co.il/2012/05/how-to-decode-qr-code-using-unity3d.html With reading from WebCamTexture on iOS, though getting an error from the zxing dll when trying to decode:

ReaderException: Exception of type 'com.google.zxing.ReaderException' was thrown. at com.google.zxing.common.GlobalHistogramBinarizer.estimateBlackPoint (System.Int32[] buckets) [0x00000] in :0 at com.google.zxing.common.GlobalHistogramBinarizer.get_BlackMatrix () [0x00000] in :0 at com.google.zxing.common.HybridBinarizer.binarizeEntireImage () [0x00000] in :0 at com.google.zxing.common.HybridBinarizer.get_BlackMatrix () [0x00000] in :0 at com.google.zxing.BinaryBitmap.get_BlackMatrix () [0x00000] in :0 at com.google.zxing.qrcode.QRCodeReader.decode (com.google.zxing.BinaryBitmap image, System.Collections.Hashtable hints) [0x00000] in :0 at com.google.zxing.qrcode.QRCodeReader.decode (System.SByte[] d, Int32 W, Int32 H) [0x00000] in :0 at qrCam.DecodeQR () [0x00000] in :0 at qrCam.Update () [0x00000] in :0 (Filename: Line: -1)

Any ideas..?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by cedricpoon · Feb 22, 2016 at 09:15 AM

If you are looking for iOS ZXing.Net decoding feature only, you can take a look in my Github fork of ZXing.Net

https://github.com/cedricpoon/ZXing.Net

There is a working example of how iOS decodes QR from WebTexture under Unity.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image swerit · Feb 29, 2016 at 02:13 AM 0
Share

Hi cedricppon, I use your ZXing.Net(https://github.com/cedricpoon/ZXing.Net) and still cannot decode QR Code on iOS 9.2 Could you help me? Thanks.

avatar image swerit · Feb 29, 2016 at 02:22 AM 0
Share

this is my error log: alt text

2016-02-29-102016.png (83.3 kB)
avatar image cedricpoon swerit · Mar 05, 2016 at 07:35 AM 0
Share

Hello Swerit. Thank you for your report of such issue. Actually my fork from ZXing.Net is modified for one of my projects, which works fine under iOS/Android/OSX/Windows. I have opened an issue on Github and started working on it. You can get the latest status of my fork over there.

Happy coding :-)

avatar image cedricpoon cedricpoon · Mar 06, 2016 at 07:27 AM 0
Share

Issue fixed, see https://github.com/cedricpoon/ZXing.Net/issues/1

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is going on with Zxing Libary in portrait mode? 0 Answers

Getting Vuforia to work with zxing 3 Answers

QR code recognition using Zxing. Is it possible to get a coordinates of the recognized QR code to compare with Unity world coordinates? 0 Answers

ARCore for Unity save camera image 1 Answer

Trouble with ZXing QR Scanning 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges