cleverdoc.models.recognizers package#

Submodules#

cleverdoc.models.recognizers.ImageToString module#

class cleverdoc.models.recognizers.ImageToString.ImageToString#

Bases: Transformer, HasInputCol, HasOutputCol, HasKeepInput, DefaultParamsReadable, DefaultParamsWritable

Extract text from image

config = Param(parent='undefined', name='config', doc='Config.')#
getConfig()#

Sets the value of config.

getScaleFactor()#

Sets the value of scaleFactor.

getScoreThreshold()#

Sets the value of scoreThreshold.

scaleFactor = Param(parent='undefined', name='scaleFactor', doc='Scale Factor.')#
scoreThreshold = Param(parent='undefined', name='scoreThreshold', doc='Scale Factor.')#
setConfig(value)#

Sets the value of config.

setScaleFactor(value)#

Sets the value of scaleFactor.

setScoreThreshold(value)#

Sets the value of scoreThreshold.

transform_local(image)#
transform_udf(image)#

cleverdoc.models.recognizers.ImageToStringOnnx module#

class cleverdoc.models.recognizers.ImageToStringOnnx.ImageToStringOnnx#

Bases: Transformer, HasInputCol, HasOutputCol, HasKeepInput, DefaultParamsReadable, DefaultParamsWritable

Extract text from image

config = Param(parent='undefined', name='config', doc='Config.')#
getConfig()#

Sets the value of config.

getScaleFactor()#

Sets the value of scaleFactor.

getScoreThreshold()#

Sets the value of scoreThreshold.

scaleFactor = Param(parent='undefined', name='scaleFactor', doc='Scale Factor.')#
scoreThreshold = Param(parent='undefined', name='scoreThreshold', doc='Scale Factor.')#
setConfig(value)#

Sets the value of config.

setScaleFactor(value)#

Sets the value of scaleFactor.

setScoreThreshold(value)#

Sets the value of scoreThreshold.

transform_local(image)#
transform_udf(image)#

Module contents#