[PD] pix_artoolkit example
Martin Schied
crinimal at gmx.net
Sun Nov 22 22:42:54 CET 2009
hi again.
now I compiled the current gem release 0.92.1 from sourceforge (I could
not find pix_artoolkit in svn)
it contains some changes compared to my older version of pix_artoolkit
source code, but unfortunately again no markers are recognized with my
setup (pix_artoolkit does't output anything on its right outlet.)
I also had a look at the "cube" part of the help patch you sent me and
also the sources of pix_artoolkit. It seems it outputs 7 values which
are: the translation (position) as a vector x y z, an other vector 'x y
z' which is the direction of the detected rotation axis (the "rotation
normal") and a rotation angle around this axis. so the "draw cube" part
of your help patch should work just fine if everything else (marker
detection, marker recognition) works. maybe the size of the cube (40) is
too big to see anything or the cube is only drawn behind the video. i
changed that, see attachment.
when i was working with tracking data in general I scaled everything to
usual gem units, so that for example a desired range of 0 to 40 cm went
from 0 to 4. so it fits in the usual gemwin for quick tests.
I have no idea which units the external will output - choose a smaller
size for the marker than 80, until you can see something useful.
my assumptions about the output of pix_artoolkit from yesterday are
completely wrong (there's no matrix output) - so the patch I sent you
before is pretty useless - sorry for that.
if pix_artoolkit is working for you (outputting anything on its right
outlet), I'd be interested in what camera, resolution, version of Gem
you are using. Some output of the external would also help me improving
the help patch - if necessary.
cheers
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pix_artoolkit-help-2.zip
Type: application/zip
Size: 6376 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091122/f212ccf9/attachment.zip>
More information about the Pd-list
mailing list