Unity Barcode Scanner
Since months, I was looking for a good way to parse QRCodes (and generic barcode) in Unity. On the Asset Store, few libraries are already providing that, but they are expensive, overly complex, not tested and not always maintained.
So, I was just trying to do something simple, readable, cross-platform and open source.
- Tested with Unity
- Tested on
- Tested with the following barcode format:
- 1D :
- 2D :
- 1D :
How does that work ?
This project is a Unity Project you can use directly.
Every part is separated and can be replaced or extended if needed
- Camera : use directly the API of unity to access the webcam (available on iOS, Android, Windows, Mac, Linux, ...)
- Parser : use zxing to extract the data https://zxingnet.codeplex.com/ (Apache 2)
- Scanner : use Camera & Parser and manage them in a unity context
And that's it, few C# files and a dll
How to use it ?
Under license WTFPL (http://www.wtfpl.net/about/)