2024-11-09 22:34:58 +03:00
|
|
|
namespace OcrClient.Models;
|
|
|
|
|
|
|
|
public class OcrResponse
|
|
|
|
{
|
2024-11-13 23:42:28 +03:00
|
|
|
public Result? Result { get; set; }
|
|
|
|
}
|
|
|
|
public class Result
|
|
|
|
{
|
|
|
|
public TextAnnotation? TextAnnotation { get; set; }
|
|
|
|
}
|
|
|
|
public class TextAnnotation
|
|
|
|
{
|
|
|
|
public List<Table>? Tables { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class Table
|
|
|
|
{
|
|
|
|
public string? RowCount { get; set; }
|
|
|
|
public string? ColumnCount { get; set; }
|
|
|
|
public List<Cell>? Cells { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class Cell
|
|
|
|
{
|
|
|
|
public string? RowIndex { get; set; }
|
|
|
|
public string? ColumnIndex { get; set; }
|
|
|
|
public string? Text { get; set; }
|
|
|
|
}
|