Max Neupert wrote:
hi list,
how do i turn a camera in a motion sensor? i can extract the movement with pix_movement, that's clear. but how to get a numeric value out of the whole picture corresponding to the pictures grayscale value? (not from a single pixel like pix_data supplies)
am i completely overseeing something?
yes: [pix_blob] does blob-detection (only 1 single blob though) there should be an example-patch on how to do movement-detection with this: 04.video/03.movement_detection.pd
if using the CVS is an option for you, there is [pix_multiblob] which is far better (detects multiple blobs, gives more information on them)
there is even an abstraction (with example-patch) for blob-tracking.
mfg.ad.sr IOhannes
max
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list