Example #1
0
        private WebcamCapture()
        {
            backendSettings = IntPtr.Zero;
            videoFrame      = IntPtr.Zero;
            videoCapture    = IntPtr.Zero;

            captureSync  = new object();
            imageCleaner = new SharedRefCleaner(32);
            rateAnalyzer = new FrameRateAnalyzer();
        }
Example #2
0
        public P3CapTracker(EquipmentSettings settings) : base()
        {
            if (settings == null)
            {
                throw new ArgumentNullException("settings");
            }
            this.settings      = new EquipmentSettings(settings);
            this.pointDetector = null;
            this.pointLabeler  = null;
            this.poseEstimator = null;
            IRasterImageBase frame = new TrackerVideoFrame(1, 1, new byte[1]);

            this.imageOut     = SharedRef.Create(frame);
            this.imageCleaner = new SharedRefCleaner(32);
            this.trackerSync  = new object();
        }