Reputation: 2619
I wonder if it's possible to detect a simple shape like a circle or a rectangle in an image with ActionScript 3. Can somebody guide me into the right direction or even give me a link to a good tutorial? I want to detect a logo with the webcam. Thanks in advance.
Upvotes: 0
Views: 917
Reputation: 5497
Yes, it is possible I did a ball detecting algorythm for a video. Once you access the bitmap each frame, (ex. a vector>, where uint is the color of the pixyel in vector[x][y]), it is only universal detection algorithms. Hugh transform, etc.. So you go ahead, and detect rectangles. There are lots of tutorials. Its high math.. There is also FLARManager, what can detect cool qr codes in Flash. Lee Brimelow did a great video tutorial of it.
Upvotes: 2