Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kefniark/unitybarcodescanner

Simple Unity Barcode Scanner
https://github.com/kefniark/unitybarcodescanner

camera qrcode scanner unity unity-barcode-scanner unity3d unity3d-plugin webcam

Last synced: 28 minutes ago
JSON representation

Simple Unity Barcode Scanner

Awesome Lists containing this project

README

        

# Unity Barcode Scanner
![Unity Barcode Scanner Logo](./UnityBarcodeScannerLogo.png) [![Build Status](https://travis-ci.org/kefniark/UnityBarcodeScanner.svg?branch=master)](https://travis-ci.org/kefniark/UnityBarcodeScanner)

**IMPORTANT: This Project is not supported anymore !!!** [Link](https://github.com/kefniark/UnityBarcodeScanner/issues/48)

Since months, I was looking for a good way to parse QRCodes (and generic barcode) in Unity.
So, I was just trying to do something simple, readable, cross-platform and open source.
* Tested with Unity `5.3.x`, `5.4.x`, `5.5.x` , `2017.3.x`
* Tested on `PC`, `Mac`, `Android`, `iOS`, `WebGL`
* Tested with the following barcode format:
* 1D : `Code 39`, `Code 128`, `ISBN`
* 2D : `QR Code`, `Aztec`, `Data Matrix`

# 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 ?
* [Example](Assets/Samples/)
* [Install](Assets/)
* [Tests](Assets/Editor/)
* [Code](Assets/Scripts/)

# License
Under license WTFPL (http://www.wtfpl.net/about/)