Skip to main content
Elements of the separators array are objects describing separators detected on a page, i.e. stripes and lines that form tables or separate document sections.

Property

Data type

Description

position

rect

Coordinates of the rectangular region on the document where the separator is located.

confidence

confidence

This value is always equal to -1.

color

integer

The color of the separator.

thickness

integer

The width of the separator in pixels.

type

string enum

Separator type.

Possible values:

  • unknown
  • solid
  • dotted

endPoints

object

The coordinates of the start and end points of the separator in pixels.

Properties (integer data type):

  • startX
  • startY
  • endX
  • endY