-
Notifications
You must be signed in to change notification settings - Fork 10
/
rt-document-position.yml
37 lines (35 loc) · 1.07 KB
/
rt-document-position.yml
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
37
openapi: 3.0.3
components:
schemas:
DocumentPositionResult:
title: "Document Position"
description: "Contains information about document position on the input image, its center, angle, etc"
allOf:
- type: object
properties:
DocumentPosition:
$ref: "#/components/schemas/DocumentPosition"
- $ref: "./rt.yml#/components/schemas/ResultItem"
DocumentPosition:
type: object
properties:
docFormat:
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
Angle:
type: number
Width:
type: integer
Height:
type: integer
Center:
$ref: "./common.yml#/components/schemas/Point"
LeftBottom:
$ref: "./common.yml#/components/schemas/Point"
LeftTop:
$ref: "./common.yml#/components/schemas/Point"
RightBottom:
$ref: "./common.yml#/components/schemas/Point"
RightTop:
$ref: "./common.yml#/components/schemas/Point"
Dpi:
type: integer