|
|
@ -18,9 +18,10 @@ namespace WpfApp1.WinOcr
|
|
|
|
{
|
|
|
|
{
|
|
|
|
string retxt = "";
|
|
|
|
string retxt = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
this.DirExists();
|
|
|
|
this.DirExists();
|
|
|
|
Image image = null;
|
|
|
|
Image image = null;
|
|
|
|
/*
|
|
|
|
|
|
|
|
MODI.Document modiDocument = new MODI.Document();
|
|
|
|
MODI.Document modiDocument = new MODI.Document();
|
|
|
|
modiDocument.Create(path + "\\" + name + ".jpg");
|
|
|
|
modiDocument.Create(path + "\\" + name + ".jpg");
|
|
|
|
modiDocument.OCR(MODI.MiLANGUAGES.miLANG_CHINESE_SIMPLIFIED, true, true);
|
|
|
|
modiDocument.OCR(MODI.MiLANGUAGES.miLANG_CHINESE_SIMPLIFIED, true, true);
|
|
|
|