Class OCRItem

    • Constructor Detail

      • OCRItem

        public OCRItem()
      • OCRItem

        public OCRItem​(OCRItem 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

      • getTextPosition

        public Coordinate getTextPosition()
        Get 检测到的文本坐标信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TextPosition 检测到的文本坐标信息 注意:此字段可能返回 null,表示取不到有效值。
      • setTextPosition

        public void setTextPosition​(Coordinate TextPosition)
        Set 检测到的文本坐标信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TextPosition - 检测到的文本坐标信息 注意:此字段可能返回 null,表示取不到有效值。
      • getEvilType

        public Long getEvilType()
        Get 文本命中恶意违规类型 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        EvilType 文本命中恶意违规类型 注意:此字段可能返回 null,表示取不到有效值。
      • setEvilType

        public void setEvilType​(Long EvilType)
        Set 文本命中恶意违规类型 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        EvilType - 文本命中恶意违规类型 注意:此字段可能返回 null,表示取不到有效值。
      • getTextContent

        public String getTextContent()
        Get 检测到的文本信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TextContent 检测到的文本信息 注意:此字段可能返回 null,表示取不到有效值。
      • setTextContent

        public void setTextContent​(String TextContent)
        Set 检测到的文本信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TextContent - 检测到的文本信息 注意:此字段可能返回 null,表示取不到有效值。
      • getRate

        public Long getRate()
        Get 文本涉嫌违规分值 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Rate 文本涉嫌违规分值 注意:此字段可能返回 null,表示取不到有效值。
      • setRate

        public void setRate​(Long Rate)
        Set 文本涉嫌违规分值 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Rate - 文本涉嫌违规分值 注意:此字段可能返回 null,表示取不到有效值。
      • getEvilLabel

        public String getEvilLabel()
        Get 文本命中具体标签 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        EvilLabel 文本命中具体标签 注意:此字段可能返回 null,表示取不到有效值。
      • setEvilLabel

        public void setEvilLabel​(String EvilLabel)
        Set 文本命中具体标签 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        EvilLabel - 文本命中具体标签 注意:此字段可能返回 null,表示取不到有效值。
      • getKeywords

        public String[] getKeywords()
        Get 文本命中违规的关键词 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Keywords 文本命中违规的关键词 注意:此字段可能返回 null,表示取不到有效值。
      • setKeywords

        public void setKeywords​(String[] Keywords)
        Set 文本命中违规的关键词 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Keywords - 文本命中违规的关键词 注意:此字段可能返回 null,表示取不到有效值。