using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serwer.Infrastructure.Framework { public class OCRResponseData { /// /// Error message /// public string ErrorMessage { get; set; } /// /// Available pages /// public int AvailablePages { get; set; } /// /// OCRed text /// public List> OCRText { get; set; } /// /// Output file1 URL /// public string OutputFileUrl { get; set; } /// /// Output file2 URL /// public string OutputFileUrl2 { get; set; } /// /// Output file3 URL /// public string OutputFileUrl3 { get; set; } /// /// Reserved /// public List> Reserved { get; set; } /// /// OCRWords /// public List> OCRWords { get; set; } /// /// Task description /// public string TaskDescription { get; set; } /// /// Constructor /// public OCRResponseData() { OCRText = new List>(); Reserved = new List>(); OCRWords = new List>(); } } public class OCRWSWord { public int Top; public int Left; public int Height; public int Width; public string OCRWord; } }