Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kefniark/unitybarcodescanner
- Owner: kefniark
- License: wtfpl
- Created: 2016-09-21T18:53:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-20T02:36:12.000Z (almost 5 years ago)
- Last Synced: 2024-12-26T04:08:39.096Z (28 minutes ago)
- Topics: camera, qrcode, scanner, unity, unity-barcode-scanner, unity3d, unity3d-plugin, webcam
- Language: C#
- Homepage: http://kefniark.github.io/UnityBarcodeScanner/
- Size: 961 KB
- Stars: 227
- Watchers: 25
- Forks: 68
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license.txt
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 contextAnd 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/)