forked from computing-intelligence/ai-edu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NewOcrResult.cs
36 lines (30 loc) · 839 Bytes
/
NewOcrResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CartoonTranslate.NewOcrResult
{
public class Rootobject
{
public string status { get; set; }
public Recognitionresult recognitionResult { get; set; }
}
public class Recognitionresult
{
public Line[] lines { get; set; }
}
public class Line
{
public int[] boundingBox { get; set; }
public string text { get; set; }
public Word[] words { get; set; }
}
public class Word
{
public int[] boundingBox { get; set; }
public string text { get; set; }
}
}