Community

recognized text is messy code

load an image file into memory with api ifstream(filename,ios_base::binary) then call AddImageFileFromMemory(buff,buff_length,0,PrepareImageMode,0,0) the question is that: if the content of the file is english,the recognized text is correct; if the content of the file is Chinese,the recognized text is messy code

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Please check if you have set the corresponding recognition language (ChinesePRC or ChineseTaiwan)? By default the value for the TextLanguage property of the RecognizerParams object is initialized with English language.

    0

Please sign in to leave a comment.