sparkocr.schemas#
Module Contents#
Classes#
Attributes#
- class Coordinate(index=0, page=0, x=0, y=0, width=0, height=0, score=0.0, label='', angle=0.0, text='')#
Bases:
object- angle = 0.0#
- height = 0#
- index = 0#
- label = ''#
- page = 0#
- score = 0.0#
- text = ''#
- width = 0#
- x = 0#
- y = 0#
- merge(region)#
- class Image(origin, height, width, nChannels, mode, resolution, data)#
Bases:
object- data#
- height#
- mode#
- nChannels#
- origin#
- resolution#
- width#
- BinaryFields = ['path', 'modificationTime', 'length', 'content']#
- BinarySchema#
- CoordinateFields = ['index', 'page', 'x', 'y', 'width', 'height', 'score', 'label', 'angle', 'rotated']#
- CoordinateSchema#
- ImageFields = ['origin', 'height', 'width', 'nChannels', 'mode', 'resolution', 'data']#
- ImageSchema#
- mappingSchema#
- pageMatrixSchema#
- regionSchema#
- tableContainerSchema#
- textChunkCoordinateType#