Exemplo n.º 1
0
        /// <summary>
        /// Raises the destroy event.
        /// </summary>
        void OnDestroy()
        {
            webCamTextureToMatHelper.Dispose();

            if (cascade != null)
            {
                cascade.Dispose();
            }
        }
        /// <summary>
        /// Raises the destroy event.
        /// </summary>
        void OnDestroy()
        {
            if (isImagesInputMode)
            {
                DisposeCalibraton();
            }
            else
            {
                webCamTextureToMatHelper.Dispose();
            }

            //Screen.orientation = ScreenOrientation.AutoRotation;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Raises the destroy event.
        /// </summary>
        void OnDestroy()
        {
            if (webCamTextureToMatHelper != null)
            {
                webCamTextureToMatHelper.Dispose();
            }

            if (imageOptimizationHelper != null)
            {
                imageOptimizationHelper.Dispose();
            }

            if (cascade != null)
            {
                cascade.Dispose();
            }
        }
Exemplo n.º 4
0
        /// <summary>
        /// Raises the destroy event.
        /// </summary>
        void OnDestroy()
        {
            if (webCamTextureToMatHelper != null)
            {
                webCamTextureToMatHelper.Dispose();
            }

            if (imageOptimizationHelper != null)
            {
                imageOptimizationHelper.Dispose();
            }

            if (net != null)
            {
                net.Dispose();
            }

            Utils.setDebugMode(false);
        }