Thursday, January 7th, 2010, 760 days ago
Object tracking using AS3
Using openCV as computer vision development engine is quite usual, while using AS3 to recognize objects captured from webcam is developed seldom.
The reason of that shortage is due to the lacking of appropriate algorithms. In AS3 objects can not be respectively recognized through colors or shapes before. Fortunately through combination of some kinds of image processing functions, we could still be able to find out the exact way of representing objects under webcam, just as processed images shown below.
This progress provides AS3 more potential to build up interactive prototypes through webcam and normal surfaces with kind of semantic objects laid on. Thus the AS3′s abilities of building up flexible interfaces may be well used in afterward works.
POSTS MAY BE OF INTEREST
- Happy Chinese New Year of Dragon!!!
- Breaking Asus Xtion pro into parts
- The error of ‘VIDIOC_QUERYMENU: Invalid argument’
- Installing OpenNI for Linux-ARM in Ubuntu Pandaboard
- Merry Xmas and Happy New Year 2012
- A successful way to disable all WordPress’s auto-saves and revisions
- Say goodbye to slow-(Go)daddy
- The sun set
- Backyard’s flowers
- Mapping object positions to mouse coordinates in openCV
- Cherry trees flowering
- New office new start
- An example of detecting object motions using openCV
- Another open library for object detections and recognitions – aforge.net
- Happy new year 2011

Hi,
do you have more details about this ? I am interested how could I identify a rectangle and determine it’s position (x, y and rotation).
Regards,
Daniel
Thought this may help, http://faces.bascule.co.jp/motiondetection/
Hi Andol, Thank you very much for sharing this. Could you please let me know the algorithm that you used to achieve this or if possible please share the source code. This is what I am assuming that the program does — your webcam looks at the objects and even though you move the objects, it will still be able to identify which is object is what. Please let me know if I have understood this correctly. Thank you.
@Roopa
I do not own the source code since I was inspired by a motion detection project which was developed to track moving objects. For the reason of copyright, what I can do for you is to give you the original project URL:
http://faces.bascule.co.jp/motiondetection/
and you can find the source code in AS3 here:
http://faces.bascule.co.jp/motiondetection/motionDetector.zip
hope this helps, cheers
[...] Blob extracting using openCV or flash (as3) have been researched by many developers. The accuracy has reached a high level, but limited to single objects – objects should not be overlapped – if people in the camera could be simply seem as objects. [...]