/// <summary>
/// Recognizes the image if the library can parse it
/// Monitor handle can be nulled
/// </summary>
/// <returns>0 = success, -1 = failed</returns>
private int Recognize()
{
Debug.Assert(m_Handle != IntPtr.Zero, "Handle must not be nulled!");
if(m_Handle != IntPtr.Zero)
{
return TesseractOCRBridge.Recognize(m_Handle, IntPtr.Zero);
}
return -1;
}