Skip to content

a QR Code, bar code, image recognizer ANE for iOS & Android using ZBar library

Notifications You must be signed in to change notification settings

DaVikingCode/ZBar-ANE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZBar-ANE

A QR Code image recognizer ANE for iOS & Android using ZBar lib.

Based on luarpro ZBar's ANE. We wanted to have a default implementation for iOS & Android.

Be careful, this ANE only checks for QRCode format. The ZBar library supports other formats. A future version should add argument for the format requested.

Note: This ANE doesn't manage camera stuff, it takes a bitmap data as an argument.

var zbar:ZBar = new ZBar();
zbar.addEventListener(ZBarEvent.SCAN, _zbarEvt);

zbar.decodeFromBitmapData(new qrCodeBitmap().bitmapData);

private function _zbarEvt(zbEvt:ZBarEvent):void {

	trace(zbEvt.data);
}

About

a QR Code, bar code, image recognizer ANE for iOS & Android using ZBar library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published