public Detector(int sFactor, double rFactor, string linesFile, bool displayBGS) { Dictionary <string, ILineBasedDetector> lineBasedDetectors = LineSets.readLineSet_LineDetector_FromTxtFile(linesFile, sFactor, rFactor); multiLaneDetector = (lineBasedDetectors != null) ? new MultiLaneDetector(lineBasedDetectors) : null; this.DISPLAY_BGS = displayBGS; Console.WriteLine(linesFile); }