# Interpreting shapes from BitmapData

**URL:** <https://forum.kirupa.com/t/interpreting-shapes-from-bitmapdata/283823>\
**Category:** Uncategorized\
**Created:** [March 11, 2009, 3:10pm UTC](https://forum.kirupa.com/t/interpreting-shapes-from-bitmapdata/283823 "2009-03-11T15:10:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenBart](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Post date:** [March 11, 2009, 3:10pm UTC](https://forum.kirupa.com/t/interpreting-shapes-from-bitmapdata/283823/1 "2009-03-11T15:10:40Z")

</div>

I’m sure a lot of have have seen the GE Augmented Reality site.  
[http://ge.ecomagination.com/smartgrid/#/augmented\_reality](http://ge.ecomagination.com/smartgrid/#/augmented_reality)

I’m working on something that has similar logic, and was wondering if there was a tutorial out there on the basics.

My thinking is that you would look at a color range of pixels. Then, within that color range, you would look for certain arrangements.

My initial thought is that this color range would be similar to the “color threshold” example on this motion-detection project:

> **[Webcam motion detection in AS3](http://www.spikything.com/blog/index.php/2007/10/09/webcam-motion-detection-in-as3/)**
>
> I converted the old webcam motion detection thing to AS3 today. Not that it improves the performance much, just wanted to play around with it (source). /blog/wp-content/uploads/2007/10/motioncam.sw…

Any thoughts?
