GetTesseractEngineMode() 개인적인 메소드

private GetTesseractEngineMode ( IntPtr tesseractHandle ) : OCREngineMode
tesseractHandle IntPtr
리턴 OCREngineMode
예제 #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;
        }