nl_tokens: The ARController is the main object for doing AR marker detection with JSARToolKit .
pl_tokens: function ( width , height , camera ) { var id ; var w = width , h = height ; this . orientation = 'landscape' ; this . listeners = { } ; if ( typeof width !== 'number' ) { var image = width ; camera = height ; w = image . videoWidth || image . width ; h = image . videoHeight || image . height ; this . image = image ; } this . defaultMarkerWidth = 1 ; this . patternMarkers = { } ; this . barcodeMarkers = { } ; this . transform_mat = new Float32Array ( 16 ) ; this . canvas = document . createElement ( 'canvas' ) ; this . canvas . width = w ; this . canvas . height = h ; this . ctx = this . canvas . getContext ( '2d' ) ; this . videoWidth = w ; this . videoHeight = h ; if ( typeof camera === 'string' ) { var self = this ; this . cameraParam = new ARCameraParam ( camera , function ( ) { self . _initialize ( ) ; } , function ( err ) { console . <mask> ( "ARController: Failed to load ARCameraParam" , err ) ; } ) ; } else { this . cameraParam = camera ; this . _initialize ( ) ; } }