-
Track object in video??
I've got a video with a black rectangle that moves, tilts and zooms...is there any way flash can match an object to that? (for example, if I want to put an image over the black box??
Is there any way to detect where objects are in a video from flash??
I've seen some things with web cams where snow collects on people in the cam, etc. so there's got to be some way to "find" things...I'll snoop around some...
-
what about FLARToolKit? see this tutorial: http://www.gotoandlearn.com/play?id=105
-
If you want to detect position and orientation in 3d space, you'll probably have to use flartoolkit, which requires a particular kind of black and white marker. Your plain black rectangle won't do.
You could use bitmap threshhold operations to detect black regions and replace them with other stuff in a greenscreen sort of method.
Or, if you want to track position only, you could use a mean-shift tracker like the one included in deface. http://code.google.com/p/deface
-
Yeah, FLARToolKit is VERY cool, but I think it's only for webcams. I've got an actual video that I need to "mirror" with a flash object. I may have to do it frame by frame instead of trying to actually create some code to "map" the motion...
Haven't heard of or looked into deface or bitmap thresholds...will do now...
Thanks!