[PD] motion tracking

IOhannes m zmoelnig zmoelnig at iem.at
Wed Nov 30 09:18:27 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-11-30 04:14, Ricardo Fabbri wrote:
> Hi, Eleanor

[...]
> 
> - not sure I understood your question, actually. isn't that 'argument'  the
> maximum number of blobs? also, the minimum blob area can be set and is a

indeed.
so if you say you want to track "10" blobs, and there is only 1 blob in
your image, [pix_multiblob] will still only output a single blob.

i think the main problem people are having with [pix_multiblob] is that
it outputs the detected blobs as a "matrix", as used by the "iemmatrix"
library.

attached is a small abstraction that will convert the output of
[pix_multiblob] to lists, which might be easier to handle for you.
(actually there are 2 abstractions, the one in iemmatrix/ depends on the
iemmatrix library, the other one is pure vanilla; they should do the
same but the latter might be a lot slower with larger matrices)


> 
> - note that detection of a blob, which is what pix_multiblob does, is not
> the same as tracking. Traking inolves detecting consistent blob id's across
> frames, which is not done in pix_multiblob. Ways to do tracking would

there is also a simplistic tracker example that comes with Gem (and
again depends on iemmatrix) that uses a simple algorithm for labelling
blobs, based on the assumption that blobs move as little as possible:
it's called [pix_blobtracker]

fmadr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7V5s8ACgkQkX2Xpv6ydvQtvQCeIUAKo++aehHvJ7U+wMUHHGuI
wZAAoKplJonR0n6ajIssnPdccAg6fuEh
=dsHl
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mtx_rows2lists.zip
Type: application/zip
Size: 2341 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111130/2fc7a443/attachment-0001.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111130/2fc7a443/attachment-0001.bin>


More information about the Pd-list mailing list