Augmented Reality HELP!
I’m not sure If I’m posting this in the right place, but I am completely new to maxmsp and am attempting to create an Augmented Reality piece, where an image/movieclip follows a fiducial marker around on a screen. Basically what I want to happen is that you show the fiducial marker to a webcam and then on screen an image will appear on the marker and follow it as the marker moves infront of the camera/screen. Also I need to work out a way to stop the movieclip/image from showing when the fiducial marker is removed from the camera’s view.
So far I’ve mannaged to make maxmsp in conjunction with reactivison recognise two different symbols and show me images/movies which connect to these symbols.
Basically I’m completely stuck and need some help.
don’t know what the TUIOclient puts out, but here are some more little ideas, like gating/clearing the movie when the removeObject is triggered. Also, generally you don’t need "if" statements when you’re testing for values, you can use select. often it’s more clear, and you can easily test for a whole string of possible numbers.
Interesting project, reminds me of one I was contemplating in the past, where Max would be used to recognize fiducial markers on circuit boards, in order to control a pick-and-place machine for electronics components. Definitely could be done with the right fiddling and precise testing. So your project (which is a lot bigger scale camera-wise) should also be doable, hope it turns out well.
Watch out for that Max thing… it’s super addictive :)
----------begin_max5_patcher---------- 1217.3oc0ZFziiZCEG+bVo86.hyoQ7rw.t2p54p8RuUUshg3MKSC1TvYmocU +tWvFRXxDVbzXvLQZfQ.A96e94+umM46e7Ca7eP7Lq126m89CuMa9dyQ1nNV 6Q1zefM9EoOmcLsVcg9Er55zCL+scmTxdVpNQ1QVZ04C+EAWxSKXpS8KU4oG OeJ9ohb9QlTc+P8GMeu5REO73OgiNeskUrZFWlJyE7OWwxjZwhiS1Er0CgHs 6B5138mCdDhSx9mALTT04+qRT.riPIPRb+I0eA4+TxzOCe+K2uxTY1Wy4Gdg DPJIPTR.S2EEz7As0CRZUh5K9ee7Cs6a1scUwWxT7kjDpabHmwWRWWLIzt7U JNb3H61vBtErBmDVfRo.M4tf0q3QNWNARdwCBEzucIoA125MKLDa6lEm8TiZ e8XnCoRlcFBASZQgizVTQtyhBiF3R1nGDs8y6.5F3ujNM8XJxtXZTm7.q.IT vTgfgHbaKhPcnItx8FhTDFS1ESluDjVBqISNxNA4ZrhnZrB1CqiMntlczC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Ns3d61bsGnY 2+WaJyZD -----------end_max5_patcher-----------
that should be a big help.
I have since figured out how to do what I want using the FLARtoolkit.
But I still would really love to work it out using Max. I think I may have a play and see what happens.
Forums > MaxMSP