Class OcrTextDetail

    • Constructor Detail

      • OcrTextDetail

        public OcrTextDetail()
      • OcrTextDetail

        public OcrTextDetail​(OcrTextDetail source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getText

        public String getText()
        Get OCR文本内容
        Returns:
        Text OCR文本内容
      • setText

        public void setText​(String Text)
        Set OCR文本内容
        Parameters:
        Text - OCR文本内容
      • getLabel

        public String getLabel()
        Get 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。 以及令人反感、不安全或不适宜的内容类型。
        Returns:
        Label 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。 以及令人反感、不安全或不适宜的内容类型。
      • setLabel

        public void setLabel​(String Label)
        Set 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。 以及令人反感、不安全或不适宜的内容类型。
        Parameters:
        Label - 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。 以及令人反感、不安全或不适宜的内容类型。
      • getLibId

        public String getLibId()
        Get 仅当Label为Custom自定义关键词时有效,表示自定义库id
        Returns:
        LibId 仅当Label为Custom自定义关键词时有效,表示自定义库id
      • setLibId

        public void setLibId​(String LibId)
        Set 仅当Label为Custom自定义关键词时有效,表示自定义库id
        Parameters:
        LibId - 仅当Label为Custom自定义关键词时有效,表示自定义库id
      • getLibName

        public String getLibName()
        Get 仅当Label为Custom自定义关键词时有效,表示自定义库名称
        Returns:
        LibName 仅当Label为Custom自定义关键词时有效,表示自定义库名称
      • setLibName

        public void setLibName​(String LibName)
        Set 仅当Label为Custom自定义关键词时有效,表示自定义库名称
        Parameters:
        LibName - 仅当Label为Custom自定义关键词时有效,表示自定义库名称
      • getKeywords

        public String[] getKeywords()
        Get 该标签下命中的关键词
        Returns:
        Keywords 该标签下命中的关键词
      • setKeywords

        public void setKeywords​(String[] Keywords)
        Set 该标签下命中的关键词
        Parameters:
        Keywords - 该标签下命中的关键词
      • getScore

        public Long getScore()
        Get 该标签模型命中的分值
        Returns:
        Score 该标签模型命中的分值
      • setScore

        public void setScore​(Long Score)
        Set 该标签模型命中的分值
        Parameters:
        Score - 该标签模型命中的分值
      • getLocation

        public Location getLocation()
        Get OCR位置
        Returns:
        Location OCR位置
      • setLocation

        public void setLocation​(Location Location)
        Set OCR位置
        Parameters:
        Location - OCR位置
      • getRate

        public Long getRate()
        Get OCR文本识别置信度
        Returns:
        Rate OCR文本识别置信度
      • setRate

        public void setRate​(Long Rate)
        Set OCR文本识别置信度
        Parameters:
        Rate - OCR文本识别置信度
      • getSubLabel

        public String getSubLabel()
        Get OCR文本命中的二级标签
        Returns:
        SubLabel OCR文本命中的二级标签
      • setSubLabel

        public void setSubLabel​(String SubLabel)
        Set OCR文本命中的二级标签
        Parameters:
        SubLabel - OCR文本命中的二级标签