GetTesseractEngineMode() private méthode

private GetTesseractEngineMode ( IntPtr tesseractHandle ) : OCREngineMode
tesseractHandle IntPtr
Résultat OCREngineMode
Exemple #1
0
        /// <summary>
        /// Gets the OCR Engine Mode
        /// </summary>
        /// <returns>OCR Engine Mode</returns>
        private OCREngineMode GetOCREngineMode()
        {
            Debug.Assert(m_Handle != IntPtr.Zero, "Handle must not be nulled!");

            if(m_Handle != IntPtr.Zero)
            {
                return TesseractOCRBridge.GetTesseractEngineMode(m_Handle);
            }

            return OCREngineMode.DEFAULT;
        }