- Notifications
You must be signed in to change notification settings - Fork5
License
NotificationsYou must be signed in to change notification settings
futureflsl/PaddleOCR.NET
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- windows10 x64
- VS2019专业版
- paddle_inference==2.1.1 cpu_avx_mkl
- PaddleOCR-release-2.2
- cmake==3.17.2
- NET Framework4.5
1、下载paadleor推理引擎:https://paddle-wheel.bj.bcebos.com/2.1.1/win-infer/mkl/cpu/paddle_inference.zip,并解压所有的DLL文件到自己运行目录
2、引用PaddleOCR.NET到自己项目中,编写代码
Bitmap bmp = new Bitmap("D:\1.jpg");
Bitmap b = new Bitmap(bmp);
bmp.Dispose();
InferManager infer = new InferManager("config.txt",true,false);
var result = infer.Detect("D:\1.jpg");
pictureBox1.Image = infer.DrawImage(b,result);
infer.Dispose();
InferManager infer = new InferManager("config.txt", false, true);
Bitmap bmp = new Bitmap("D:\line.jpg");
var result = infer.RecognizeOnly(bmp);
infer.Dispose();
MessageBox.Show(result.Text+"|"+result.Score);
InferManager infer = new InferManager("config.txt", true, true); var result = infer.DetectAndRecognize("D:\\22.jpg"); Console.WriteLine(result); infer.Dispose();About
No description, website, or topics provided.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.