All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.model.ciModel.ai.OcrWord Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.model.ciModel.ai;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.util.List;

public class OcrWord {
    @XStreamAlias("Confidence")
    private Integer confidence; // 置信度 0 ~ 100

    @XStreamAlias("Character")
    private String character; // 候选字

    @XStreamImplicit(itemFieldName = "WordCoordPoint")
    private List wordCoordPoint; // 单字在原图

    public Integer getConfidence() {
        return confidence;
    }

    public void setConfidence(Integer confidence) {
        this.confidence = confidence;
    }

    public String getCharacter() {
        return character;
    }

    public void setCharacter(String character) {
        this.character = character;
    }

    public List getWordCoordPoint() {
        return wordCoordPoint;
    }

    public void setWordCoordPoint(List wordCoordPoint) {
        this.wordCoordPoint = wordCoordPoint;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy