Face Detector module outside of QC

s8's picture

I'm making a wearable installation with SuperCollider and Quartz Composer patch running within it. And I can not get the Detector module to work from anywhere outside QC itself. I always get the same error message on the console:

SuperCollider: *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 484 nodes>: Patch with name "FFXDetectorPatch" is missing

Things I've tried so far with no result are:

  • installing Kineme core plugin and selecting SuperCollider, QuickTime Player and quicklookd for running unsafe patches
  • moving the FaceEffects.plugin into every imaginable qc-related directory, like: /Library/Graphics/Quartz Composer Patches /System/Library/Graphics/Quartz Composer Patches /Users/s8/Library/Graphics/Quartz Composer Patches

Does anyone have an idea where could I look for a solution?

Thanks a bunch!!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cybero's picture
Re: Face Detector module outside of QC

SFAIK the FaceEffects.plugin should only be run from /System/Library/Graphics/Quartz Composer Patches, installed there by default. Can you get other QC patches and plugins running in SC?

Post Script //////////

BTW, I think you may need to ensure that Private Patches are showing before you get Face Detector working anywhere. Perhaps if you run Kineme Core too, you can then enable what is otherwise an occluded patch for SC. That might also help.

Perhaps if you post the composition?

gtoledo3's picture
Re: Face Detector module outside of QC

I'm not "in" Lion right now, so I can't check too in depth, but this may not ever work well.

I notice that, for some reason, they've chosen to build this plugin with a "GFPluginExclusiveHosts" key, that limits it to being loaded by iChat, Photobooth, and QuartzComposer.

I'm surprised by that, because this is a public patch, so how the heck can they provide it and then not let other stuff load it? I know that CIFaceDetector is a public API... so I'm not sure why this would have it's use obstructed.

I'd possibly try adding in the "Identifier" string of your app into the GFPluginExclusiveHosts list, or deleting GFPluginExclusiveHosts altogether. That might screwup the plugin, or it may make it load.

PreviewAttachmentSize
exclusivehosts.png
exclusivehosts.png57.46 KB

cybero's picture
Re: Face Detector module outside of QC

Interesting & well informed on the .plist front, GT.

None the less, Face Detector won't even show in the Patch library for 32 or 64 bit QC 4.5 in Lion for me unless I flag show Private Patches.

See the before and after PDF files attached.

PreviewAttachmentSize
before.pdf49.61 KB
after.pdf46.17 KB

gtoledo3's picture
Re: Face Detector module outside of QC

I'm not in Lion now, so I can't check, but that sure is bizarre. Keep in mind; compositions like Chipmunk and Space Alien, that use that patch, are in the Composition folder, so it's not as if the patches aren't found in public compositions. Weird. A bunch of work to have made something less useful!

cybero's picture
Re: Face Detector module outside of QC

I wonder if one can extend the utility value of the FaceEffects.plugin by means of adjusting its .plist file? Would that be helpful to s8, the original postee in regards of running QC effects in SC? The plugin in question works just fine within PhotoBooth, iChat and , once made available in QC 4.5, it works just fine there too.

s8's picture
Re: Face Detector module outside of QC

Tried removing "GFPluginExclusiveHosts", and the plugin stopped being recognized indeed. Could not figure out what is the SC identifier string - where can I look for that?

The stripped-down version of the composition that I'm trying to load is in the attachement "bug_out_standalone". The complete version of my QC patch is called "system_11_quartz_00.qtz".

I'm using QC to play video files, display strings of text and images, and process live camera feed. Before this point everything seemed to work fine, with all the patches and plugins behaving without problems.

PreviewAttachmentSize
bug_out_standalone.qtz94.4 KB
system_11_quartz_00.qtz341.31 KB

cybero's picture
Re: Face Detector module outside of QC

Super Collider's bundle identifier is net.sourceforge.supercollider.

It can be found by examining the Package Contents of the Application [Ctr + Mouse click - Show Package Contents from the contextual menu].

I'm going to have to pass this enquiry over to anyone else who is running Lion, but not on the sort of iMac I am running, which as has been previously posted , does not , in Lion, run Movie Importer or Video Input in QC as well as it does in Snow.

Of course, to use the FaceEffects plugin you do have to be running Lion, ergo, someone who has got a Video Input in QC capable Lion based QC installation and has Super Collider experience will be better able to help you further.