Paragraph text box location: x, y represent the top-left corner, width and height represent width and height.
Used by actions: ImageTranslateLLM.
| Name | Type | Description |
|---|---|---|
| X | Integer | x-coordinate of the top-left corner |
| Y | Integer | y-coordinate of the top-left corner |
| Width | Integer | Width. Unit: px. |
| Height | Integer | High. Unit: px. |
Coordinate details
Used by actions: ImageTranslateLLM.
| Name | Type | Required | Description |
|---|---|---|---|
| X | Integer | No | X coordinate |
| Y | Integer | No | Y-axis coordinate |
Paragraph text rotation information
Used by actions: ImageTranslateLLM.
| Name | Type | Required | Description |
|---|---|---|---|
| Coord | Array of Coord | No | Paragraph text coordinates |
| TiltAngle | Float | No | Rotation angle |
| Valid | Boolean | No | Whether the paragraph text information is valid |
Large model image translation detailed information
Used by actions: ImageTranslateLLM.
| Name | Type | Description |
|---|---|---|
| SourceLineText | String | Original text of the current row |
| TargetLineText | String | Translation of the current row |
| BoundingBox | BoundingBox | Paragraph text box location |
| LinesCount | Integer | Row count |
| LineHeight | Integer | Line height. Unit: px. |
| SpamCode | Integer | The spam_code field is 0 in a normal paragraph; if the spam_code field exists and its value is above 0 (1: hit garbage check; 2: hit security policy; 3: another.), then the security check hit is filtered. |
| RotateParagraphRect | RotateParagraphRect | Rotation information of paragraph text. Coordinates are valid only when valid is true. |
피드백