public RobotUpdater(string server, int port, ImageProcessor processor) { client = new TcpClient(); this.server = server; this.port = port; thread = new Thread(new ThreadStart(run)); this.processor = processor; }
public DebugDisplay() { InitializeComponent(); processor = new ImageProcessor(); FilterChanged(); //SetBitmap(GetBitmapFromUrl("http://frc-manual.usfirst.org/upload/images/2014/1/2-5.JPG")); camera = new CameraHandler(this); camera.SetStream("http://10.6.19.11/mjpg/video.mjpg"); camera.Start(); }
public FieldInterface() { InitializeComponent(); savedDir = new DirectoryInfo("Saved"); if (!savedDir.Exists) { savedDir.Create(); } processor = new ImageProcessor(); camera = new CameraHandler(this); filter = new HSLFiltering(); camera.SetStream("http://10.6.19.11/mjpg/video.mjpg"); camera.Start(); }