Ejemplo n.º 1
0
        /// <summary>
        /// Query a small frame duplexly over WCF
        /// </summary>
        public virtual void DuplexQuerySmallFrame()
        {
            IDuplexCaptureCallback callback = OperationContext.Current.GetCallbackChannel <IDuplexCaptureCallback>();

            Image <Bgr, Byte> img = QuerySmallFrame();

            callback.ReceiveFrame(img);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Query a small frame duplexly over WCF
        /// </summary>
        public virtual void DuplexQuerySmallFrame()
        {
            IDuplexCaptureCallback callback = OperationContext.Current.GetCallbackChannel <IDuplexCaptureCallback>();

            using (Mat img = QuerySmallFrame())
            {
                callback.ReceiveFrame(img);
            }
        }