opencv

opencv motion tracking

jacob360's picture

Hi everybody,

I was wondering if anyone could enlight me about motion tracking and the kineme opencv patchs.

I have to create projections for a theatre show and id like to use quartz for it.

I need to track the silhouette of actors and project onto them only and avoid the background.

Is it possible with the opencv patchs ? I have read other threads about it, but I couldnt find anything to help me regarding realtime drawing the shape of the actors and use it as a mask.

Thanks. Jacob.

Head tracking fun

post's picture

Here's a little thing to impress your friends. It's based off _dust_s HaarKit composition.

My question is: I would love to add depth to the head tracking. How do I get depth information from the Apply Haar Cascade or Optical Flow Points patches?

If I can get a scaling rectangle for the tracked face, I can infer the z axis, and really improve this.

-SW

Building XCode applications with opencv plugin

tjro's picture

Hi,

I'm trying to embed a composition in an xcode project. The composition uses opencv plugin. I get the following error when trying to build with xcode 3.2.1/iMac i7:

2010-02-05 10:45:19.364 Quartz3[6520:a0f] *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 423 nodes>: Could not load bundle at path "/Library/Graphics/Quartz Composer Patches/OpenCV.plugin" (Error Domain=NSCocoaErrorDomain Code=3585 UserInfo=0x11433fca0 "The bundle “OpenCV” couldn’t be loaded because it doesn’t contain a version for the current architecture." (dlopen_preflight(/Library/Graphics/Quartz Composer Patches/OpenCV.plugin/Contents/MacOS/OpenCV): no suitable image found.  Did find:
   /Library/Graphics/Quartz Composer Patches/OpenCV.plugin/Contents/MacOS/OpenCV: no matching architecture in universal wrapper))
2010-02-05 10:45:19.389 Quartz3[6520:a0f] An uncaught exception was raised
2010-02-05 10:45:19.390 Quartz3[6520:a0f] Cannot create BOOL from object <QCPatch = 0x14613030 "(null)"> of class QCPatch
2010-02-05 10:45:19.391 Quartz3[6520:a0f] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot create BOOL from object <QCPatch = 0x14613030 "(null)"> of class QCPatch'

How should I fix this?

New CVTools and Optical Flow Points problem

okbye's picture

Hi everyone, I'm pretty new at QC and trying to do a tracking composition for my new touch table.

My question is, how can I detect the movement is on or off?

I mean, at the older version of CVTools, I can detect the movement with the structure count of Optical Flow Points node but at the new version of OpenCV, the structure count is always bigger than 0 =/

I'll rewrite my problem becouse my english is poor,

I want to detect to movement. Is it 1 or 0. Then I'll add and reload the optical flow points to catch the move.

Thanks!!