- src/WpfEditor/AliOcr.cs +7 -3
src/WpfEditor/AliOcr.cs
CHANGED
|
@@ -14,9 +14,13 @@ using Formatting = Newtonsoft.Json.Formatting;
|
|
| 14 |
|
| 15 |
namespace WpfEditor
|
| 16 |
{
|
| 17 |
-
|
| 18 |
-
//
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
public static class AliOcr
|
| 21 |
{
|
| 22 |
private static readonly HttpClient httpClient = new HttpClient();
|
|
|
|
| 14 |
|
| 15 |
namespace WpfEditor
|
| 16 |
{
|
| 17 |
+
|
| 18 |
+
// see huggingface\imradv3\src\WeChatOcrCpp\ocr_aliyunV2.js
|
| 19 |
+
|
| 20 |
+
// https://github.com/aliyun/alibabacloud-csharp-sdk
|
| 21 |
+
// https://github.com/aliyun/alibabacloud-csharp-sdk/blob/master/ocr-api-20210707/core/Client.cs
|
| 22 |
+
// dotnet add package AlibabaCloud.SDK.Ocr-api20210707
|
| 23 |
+
|
| 24 |
public static class AliOcr
|
| 25 |
{
|
| 26 |
private static readonly HttpClient httpClient = new HttpClient();
|