[Fluxus] fluxus-ar updates

gabor papp gabor.lists at mndl.hu
Sat Jan 9 23:06:54 PST 2010


hi all,

i added support for template-based markers in fluxus-ar. until now, only 
id-based markers were possible (http://bit.ly/8hgdHU). the difference 
between the two markers is that id-based are 6x6 pixel patterns that 
encode a number, the id in themselves. template-based markers 
(http://bit.ly/8UrXrh) can be any kind of black and white images with a 
suitable size border. as opposed to id-based markers, template-based 
markers need to be trained to the system.

the (ar-init) function is changed, it accepts a new optional parameter, 
which describes the detection method ('id, 'template, or 'bch). the 
default is 'id.

if you use template-based detection, you can load marker pattern data 
with (ar-load-pattern) which returns the pattern id.

example in addons/artkp/example/template.scm

http://git.savannah.gnu.org/cgit/fluxus.git/tree/addons/artkp/example/template.scm

best,
gabor



More information about the Fluxus mailing list