https://github.com/kosso/tiqrblobreader
Detects a QR code in an image TiBlob
https://github.com/kosso/tiqrblobreader
Last synced: 2 months ago
JSON representation
Detects a QR code in an image TiBlob
- Host: GitHub
- URL: https://github.com/kosso/tiqrblobreader
- Owner: kosso
- License: other
- Created: 2016-03-28T13:01:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-28T14:07:21.000Z (about 9 years ago)
- Last Synced: 2025-02-14T01:18:59.016Z (4 months ago)
- Language: Python
- Size: 99.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TiQRBlobReader
Appcelerator Titanium module to detect a QR code in a TiBlob image.
### Note:
This might not work on older devices. See : https://forums.developer.apple.com/thread/20887
## Usage:
```
var qr = require("com.kosso.qrblobreader");
// required
var blob = an image TiBlob ... eg: event.media from the photo picker...
// required
var callback = function(e){
console.log(e);if(e.code){
console.log('Code detected: ', e.code);
}};
// detect QR code in image blob
qr.detectCode( blob, callback );```
See example.
-------------------
@Kosso : March 28, 2016