motion tracking

Sweeping objects with body movement

protarco's picture

Hi There!

I'm trying to wipe objects from the screen using body movement. The idea is that the people can sweep leaves from the screen moving their arms, so the objects can fly with a physical behavior revealing the image in the background.

My approach until now has been to isolate the person's figure adjusting contrast, and then creating an image that is only black or white, like a mask. Then my idea is to use this mask to repel the leave's positions.

I've tried the CV objects to do this but seems like there is no object for isolating blobs? face detecting works great, also point structures... but I couldn't find a way to detect a whole body in the CV tools.

I've also tried vade's optical flow and other objects with no better result...

Is there a way to build a particle cloud in a way that i can distribute its particle's positions in space using body movement? Is it possible to do this using a structure?

I've been able to distribute the objects of a structure in space but I don't know how to control each object's movement.

I think I'm gonna end controlling each object individually, in this case, anybody knows a repel algorithm that I can use?

Any help will be useful,

thanks!!

Hi form Berlin

protarco's picture

Hello Kineme community!

I am working now in a project that aims to use QC-Kineme motion tracking capabilities (CVTools, flow motion, etc) to build an interactive application that will be used as a presentation tool in fairs, events and live shows.

I just wanted to say hello, see you around!!

P

cvtools - point - flow clear points (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2009.10.09
Compatibility: 10.5, 10.6
Categories:
Required plugins:
(none)

This is an example of a way to clear points easily using CVTools. This is one of Kineme's CVTools examples with an added point clear function.

Hold delete and right click (eg., "one finger click") to clear points.

Please note licensing for clear function, cough cough. This is a MUST. :)

*Also, many thanks to Kris Harris for his useful alternative clear points setup, posted when discussing OpenCV some time ago. He inspired me to find a different way to achieve the same function, so that I could ultimately induce people into buying me coffee in a subversive way, through my use of an idiosyncratic licensing agreement. Thanks, Kris. *

Face Off (Quartz Builder Interaction patch App Test) (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2009.09.19
Compatibility: 10.6
Categories:
Required plugins:
(none)

This is a simple test app. The basic idea is this:

-Make 4 points on the viewer by clicking with a trackpad (haven't tested with mouse), in a clockwise or counterclockwise manner.

-"Grab" the area in between the 4 points (this is where the new SL interaction patch is implemented).

-Move it out of the way to reveal a backing scene.

-Put two fingers to trackpad and click to clear points and reset.

The one caveat in operation of this is that the next time you select four points after your initial run, the x/y offset of the Interaction patch "window cutout" will be the same as the last run. This being the case, the idea is to return the "piece" back to cutout window before clearing points.

The cutout area will track to motion, more or less.

This is a 10.6 app, and will not work in Leopard, 10.5.

Motion Tracking CI Dissolve (App) (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2009.09.19
Compatibility: 10.5, 10.6
Categories:
Required plugins:
(none)

This is a test application that allows one to set 4 (or more) points, using trackpad or mouse, that define an "intelligent", motion tracking, dissolve region, 2 finger (or secondary) click for a reset of the points.

The concept is that one can have a video feed, or picture, and intelligently select regions that one wants to have effected by various CI filters. This is a basic implementation.

Let me know if anyone runs into any trouble with it - It should work fine in Leopard or Snow Leopard.