Forum

CalibrateCamera

hello vvvvorum, elliot
just found the CalibrateCamera wrapper https://discourse.vvvv.org/t/8017 and i think its a big step forward to have camera calibration outside of shader, thanks alot for this
still, i am not able to use it, i get this message:

00:08:47 ERR : System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Cannot create an instance of type 'VVVV.Nodes.EmguCV.CalibrateCameraNode' because a constructor could not be selected for construction. Ensure that the type either has a default constructor, or a single constructor marked with the 'System.ComponentModel.Composition.ImportingConstructorAttribute'.

Resulting in: Cannot activate part 'VVVV.Nodes.EmguCV.CalibrateCameraNode'.
Element: VVVV.Nodes.EmguCV.CalibrateCameraNode -->  VVVV.Nodes.EmguCV.CalibrateCameraNode -->  TypeCatalog (Types='VVVV.Nodes.EmguCV.CalibrateCameraNode').

Resulting in: Cannot get export 'VVVV.Nodes.EmguCV.CalibrateCameraNode (ContractName="VVVV.PluginInterfaces.V1.IPluginBase")' from part 'VVVV.Nodes.EmguCV.CalibrateCameraNode'.
Element: VVVV.Nodes.EmguCV.CalibrateCameraNode (ContractName="VVVV.PluginInterfaces.V1.IPluginBase") -->  VVVV.Nodes.EmguCV.CalibrateCameraNode -->  TypeCatalog (Types='VVVV.Nodes.EmguCV.CalibrateCameraNode').

   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
   at System.ComponentModel.Composition.Primitives.Export.get_Value()
   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
   at System.ComponentModel.Composition.ExportServices.GetExportLifetimeContextFromExport[T](Export export)
   at System.ComponentModel.Composition.ExportServices.<>c**DisplayClass1c`1.<CreateStronglyTypedExportFactoryOfT>b**1b()
   at System.ComponentModel.Composition.ExportFactory`1.CreateExport()
   at VVVV.Hosting.Factories.DotNetPluginFactory.CreatePlugin(INodeInfo nodeInfo, IPluginHost2 pluginHost)
   at VVVV.Hosting.Factories.DotNetPluginFactory.CreateNode(INodeInfo nodeInfo, IInternalPluginHost pluginHost)
   at VVVV.Hosting.Factories.AbstractFileFactory`1.Create(INodeInfo nodeInfo, INode host)
   at VVVV.Hosting.HDEHost.CreateNode(INode node)

aha i see!
try with the OpenCV contribution here:
opencv-plugin-(alpha)
or latest release at:
http://www.kimchiandchips.com/files/Projector%20node%20test%20release.zip