public ObjectDetectionService(SharedVideoSource capture, IOptions <ModelEnvConfiguration> config) { _capture = capture; _config = config; Initialize(); ConsumeModel.Predict(_config.Value.ModelPath, new ModelInput()); }
public TrainDataService(SharedVideoSource videoSource, IOptions <ModelEnvConfiguration> config, ModelBuilder modelBuilder, LogQueue logQueue) { _videoSource = videoSource; _config = config; _modelBuilder = modelBuilder; _logQueue = logQueue; }