コード例 #1
0
 public Stream(UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
 {
     this.updateGuiFunction = UpdateGuiOnNewFrameFunction;
     delayStopWatch = new System.Diagnostics.Stopwatch();
     current_resolution_index = 0;
     imgProcessor = new ImageProcessor();
 }
コード例 #2
0
 public KinectStream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {}
コード例 #3
0
        public Stream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
        {
            this.updateGuiFunction = UpdateGuiOnNewFrameFunction;

            ChangeResolution(DefaultResolution);

            delayStopWatch = new System.Diagnostics.Stopwatch();

            if (isBgr) imgProcessor = new BgrImageProcessor();
            else imgProcessor = new HsvImageProcessor();
        }
コード例 #4
0
 public USBCamera(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {
     ChangeFps(DefaultFPS);
     ChangeCompression(-1);
 }
コード例 #5
0
 public WebCameraStream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {
 }
コード例 #6
0
 // Ctor
 public IPCameraStream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {
     ChangeFps(DefaultFPS);
     ChangeCompression(DefaultCompression);
 }