void setTrackingConfig(TrackingClient client, string trackingConfigPath, bool useVfw) { XmlConfigLoader tconf = new XmlConfigLoader(); tconf.LoadFromFile(trackingConfigPath); tconf.Configure(client); if (useVfw) client.CameraSettings.SetDriver(eCameraDriver.Vfw); }
void setTrackingConfig(TrackingClient client, string trackingConfigPath, bool useVfw) { XmlConfigLoader tconf = new XmlConfigLoader(); tconf.LoadFromFile(trackingConfigPath); tconf.Configure(client); if (useVfw) { client.CameraSettings.SetDriver(eCameraDriver.Vfw); } }