FLARToolKit recognize the marker from input image  and calculate its orientation and position in 3D. It is an AS3 ported version of ARToolKit and it is also based on NyARToolkit, Java ported version of ARToolKit .
It includes helper classes for major flash 3D engines (Papervision3D, Away3D, Sandy, Alternativa3D), but you still need to draw your 3D graphics. Papervision3D is used in starter-kit.
FLARToolkit is awesome. Is there anyway that i could to a head detection like opencv.
Yes! Take a look at the Computer Vision category. You will find lots of libs able to track head position.
Is the FLARToolkit be used for mobiles too?? i.e., ios n android.
Please advise.
Thank You,
Varips
I was not able to play with FLARToolkit, so I’m not able to answer that. Try asking the lib author about that.
i try to makes game that recognize the marker and give the value to a variable (like barcode scanner)
and then if i show one marker game will start with char A
and if i restart the game and show another marker it will start with char B
any idea?
Hi there! FLARToolKit seems the right lib for the job. You can also take a look at the Augmented Reality category, there are several similar libs there.