Packages

class OCR extends CognitiveServicesBase with HasLanguage with HasImageInput with HasDetectOrientation with HasCognitiveServiceInput with HasInternalJsonOutputParser with HasSetLocation with BasicLogging with HasSetLinkedService

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OCR
  2. HasSetLinkedService
  3. HasSetLocation
  4. HasUrlPath
  5. HasInternalJsonOutputParser
  6. HasDetectOrientation
  7. HasImageInput
  8. HasCognitiveServiceInput
  9. HasImageBytes
  10. HasImageUrl
  11. HasLanguage
  12. CognitiveServicesBase
  13. HasHandler
  14. CognitiveServicesBaseNoHandler
  15. BasicLogging
  16. HasErrorCol
  17. HasSubscriptionKey
  18. HasServiceParams
  19. ComplexParamsWritable
  20. MLWritable
  21. HasURL
  22. HasOutputCol
  23. ConcurrencyParams
  24. Wrappable
  25. RWrappable
  26. PythonWrappable
  27. BaseWrappable
  28. Transformer
  29. PipelineStage
  30. Logging
  31. Params
  32. Serializable
  33. Serializable
  34. Identifiable
  35. AnyRef
  36. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OCR()
  2. new OCR(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  7. final def clear(param: Param[_]): OCR.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  10. val concurrency: Param[Int]
    Definition Classes
    ConcurrencyParams
  11. val concurrentTimeout: Param[Double]
    Definition Classes
    ConcurrencyParams
  12. def contentType: (Row) ⇒ String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  13. def copy(extra: ParamMap): Transformer
    Definition Classes
    CognitiveServicesBaseNoHandler → Transformer → PipelineStage → Params
  14. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  15. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  16. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  17. val detectOrientation: ServiceParam[Boolean]
    Definition Classes
    HasDetectOrientation
  18. def emptyParamData[T](row: Row, p: ServiceParam[T]): Boolean
    Attributes
    protected
    Definition Classes
    HasServiceParams
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. val errorCol: Param[String]
    Definition Classes
    HasErrorCol
  22. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  23. def explainParams(): String
    Definition Classes
    Params
  24. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  25. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def getConcurrency: Int

    Definition Classes
    ConcurrencyParams
  30. def getConcurrentTimeout: Double

    Definition Classes
    ConcurrencyParams
  31. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  32. def getDetectOrientation: Boolean
    Definition Classes
    HasDetectOrientation
  33. def getDetectOrientationCol: String
    Definition Classes
    HasDetectOrientation
  34. def getErrorCol: String
    Definition Classes
    HasErrorCol
  35. def getHandler: HandlerFunc

    Definition Classes
    HasHandler
  36. def getImageBytes: Array[Byte]
    Definition Classes
    HasImageBytes
  37. def getImageBytesCol: String
    Definition Classes
    HasImageBytes
  38. def getImageUrl: String
    Definition Classes
    HasImageUrl
  39. def getImageUrlCol: String
    Definition Classes
    HasImageUrl
  40. def getInternalInputParser(schema: StructType): HTTPInputParser
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  41. def getInternalOutputParser(schema: StructType): HTTPOutputParser
    Attributes
    protected
    Definition Classes
    HasInternalJsonOutputParser
  42. def getInternalTransformer(schema: StructType): PipelineModel
    Attributes
    protected
    Definition Classes
    CognitiveServicesBaseNoHandler
  43. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  44. def getOutputCol: String

    Definition Classes
    HasOutputCol
  45. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  46. def getRequiredParams: Array[ServiceParam[_]]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  47. def getScalarParam[T](name: String): T
    Definition Classes
    HasServiceParams
  48. def getScalarParam[T](p: ServiceParam[T]): T
    Definition Classes
    HasServiceParams
  49. def getSubscriptionKey: String
    Definition Classes
    HasSubscriptionKey
  50. def getSubscriptionKeyCol: String
    Definition Classes
    HasSubscriptionKey
  51. def getTimeout: Double

    Definition Classes
    ConcurrencyParams
  52. def getUrl: String

    Definition Classes
    HasURL
  53. def getUrlParams: Array[ServiceParam[_]]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  54. def getValue[T](row: Row, p: ServiceParam[T]): T
    Attributes
    protected
    Definition Classes
    HasServiceParams
  55. def getValueAny(row: Row, p: ServiceParam[_]): Any
    Attributes
    protected
    Definition Classes
    HasServiceParams
  56. def getValueAnyOpt(row: Row, p: ServiceParam[_]): Option[Any]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  57. def getValueMap(row: Row, excludes: Set[ServiceParam[_]] = Set()): Map[String, Any]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  58. def getValueOpt[T](row: Row, p: ServiceParam[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  59. def getVectorParam(name: String): String
    Definition Classes
    HasServiceParams
  60. def getVectorParam(p: ServiceParam[_]): String
    Definition Classes
    HasServiceParams
  61. def getVectorParamMap: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  62. val handler: UDFParam
    Definition Classes
    HasHandler
  63. def handlingFunc(client: CloseableHttpClient, request: HTTPRequestData): HTTPResponseData
    Definition Classes
    HasHandler
  64. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  65. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  66. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  67. val imageBytes: ServiceParam[Array[Byte]]
    Definition Classes
    HasImageBytes
  68. val imageUrl: ServiceParam[String]
    Definition Classes
    HasImageUrl
  69. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  70. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. def inputFunc(schema: StructType): (Row) ⇒ Option[HttpRequestBase]
    Attributes
    protected
    Definition Classes
    HasImageInputHasCognitiveServiceInput
  72. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  73. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  74. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  75. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  76. val language: ServiceParam[String]
    Definition Classes
    HasLanguage
  77. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  78. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  79. def logClass(): Unit
    Definition Classes
    BasicLogging
  80. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  81. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  85. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  86. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  89. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  90. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  91. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  92. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  93. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  94. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  95. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  96. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  97. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  98. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  99. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  100. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  101. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  102. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  103. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  104. def prepareEntity: (Row) ⇒ Option[AbstractHttpEntity]
    Attributes
    protected
    Definition Classes
    HasImageInputHasCognitiveServiceInput
  105. def prepareMethod(): HttpRequestBase
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  106. def prepareUrl: (Row) ⇒ String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  107. def pyAdditionalMethods: String
    Definition Classes
    HasSetLinkedServicePythonWrappable
  108. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  109. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  110. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  111. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  112. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  113. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  114. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  115. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  116. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  117. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  118. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  119. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  120. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  121. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  122. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  123. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  124. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  125. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  126. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  127. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  128. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  129. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  130. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  131. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  132. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  133. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  134. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  135. def responseDataType: DataType
    Definition Classes
    OCRHasInternalJsonOutputParser
  136. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  137. final def set(paramPair: ParamPair[_]): OCR.this.type
    Attributes
    protected
    Definition Classes
    Params
  138. final def set(param: String, value: Any): OCR.this.type
    Attributes
    protected
    Definition Classes
    Params
  139. final def set[T](param: Param[T], value: T): OCR.this.type
    Definition Classes
    Params
  140. def setConcurrency(value: Int): OCR.this.type

    Definition Classes
    ConcurrencyParams
  141. def setConcurrentTimeout(value: Option[Double]): OCR.this.type
    Definition Classes
    ConcurrencyParams
  142. def setConcurrentTimeout(value: Double): OCR.this.type

    Definition Classes
    ConcurrencyParams
  143. final def setDefault(paramPairs: ParamPair[_]*): OCR.this.type
    Attributes
    protected
    Definition Classes
    Params
  144. final def setDefault[T](param: Param[T], value: T): OCR.this.type
    Attributes
    protected
    Definition Classes
    Params
  145. def setDetectOrientation(v: Boolean): OCR.this.type
    Definition Classes
    HasDetectOrientation
  146. def setDetectOrientationCol(v: String): OCR.this.type
    Definition Classes
    HasDetectOrientation
  147. def setErrorCol(v: String): OCR.this.type
    Definition Classes
    HasErrorCol
  148. def setHandler(v: HandlerFunc): OCR.this.type
    Definition Classes
    HasHandler
  149. def setImageBytes(v: Array[Byte]): OCR.this.type
    Definition Classes
    HasImageBytes
  150. def setImageBytesCol(v: String): OCR.this.type
    Definition Classes
    HasImageBytes
  151. def setImageUrl(v: String): OCR.this.type
    Definition Classes
    HasImageUrl
  152. def setImageUrlCol(v: String): OCR.this.type
    Definition Classes
    HasImageUrl
  153. def setLanguage(v: String): OCR.this.type
    Definition Classes
    HasLanguage
  154. def setLanguageCol(v: String): OCR.this.type
    Definition Classes
    HasLanguage
  155. def setLinkedService(v: String): OCR.this.type
    Definition Classes
    HasSetLinkedService
  156. def setLocation(v: String): OCR.this.type
    Definition Classes
    HasSetLocation
  157. def setOutputCol(value: String): OCR.this.type

    Definition Classes
    HasOutputCol
  158. def setScalarParam[T](name: String, value: T): OCR.this.type
    Definition Classes
    HasServiceParams
  159. def setScalarParam[T](p: ServiceParam[T], value: T): OCR.this.type
    Definition Classes
    HasServiceParams
  160. def setSubscriptionKey(v: String): OCR.this.type
    Definition Classes
    HasSubscriptionKey
  161. def setSubscriptionKeyCol(v: String): OCR.this.type
    Definition Classes
    HasSubscriptionKey
  162. def setTimeout(value: Double): OCR.this.type

    Definition Classes
    ConcurrencyParams
  163. def setUrl(value: String): OCR.this.type

    Definition Classes
    HasURL
  164. def setVectorParam(name: String, value: String): OCR.this.type
    Definition Classes
    HasServiceParams
  165. def setVectorParam[T](p: ServiceParam[T], value: String): OCR.this.type
    Definition Classes
    HasServiceParams
  166. def shouldSkip(row: Row): Boolean
    Attributes
    protected
    Definition Classes
    HasImageInputHasServiceParams
  167. val subscriptionKey: ServiceParam[String]
    Definition Classes
    HasSubscriptionKey
  168. val subscriptionKeyHeaderName: String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  169. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  170. val timeout: Param[Double]
    Definition Classes
    ConcurrencyParams
  171. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  172. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    CognitiveServicesBaseNoHandler → Transformer
  173. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  174. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  175. def transformSchema(schema: StructType): StructType
    Definition Classes
    CognitiveServicesBaseNoHandler → PipelineStage
  176. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  177. val uid: String
    Definition Classes
    OCRCognitiveServicesBaseNoHandlerBasicLogging → Identifiable
  178. val url: Param[String]
    Definition Classes
    HasURL
  179. def urlPath: String
    Definition Classes
    OCRHasUrlPath
  180. val ver: String
    Definition Classes
    BasicLogging
  181. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  182. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  183. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  184. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from HasSetLinkedService

Inherited from HasSetLocation

Inherited from HasUrlPath

Inherited from HasDetectOrientation

Inherited from HasImageInput

Inherited from HasCognitiveServiceInput

Inherited from HasImageBytes

Inherited from HasImageUrl

Inherited from HasLanguage

Inherited from CognitiveServicesBase

Inherited from HasHandler

Inherited from BasicLogging

Inherited from HasErrorCol

Inherited from HasSubscriptionKey

Inherited from HasServiceParams

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from HasURL

Inherited from HasOutputCol

Inherited from ConcurrencyParams

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped