Пример #1
0
 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;
 }
Пример #2
0
        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();
        }
Пример #3
0
        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();
        }